diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-01-09 05:23:58 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-06-18 17:01:28 +0200 |
commit | 924e89fb959a27611f1858a2ed8ec5e8f7326a71 (patch) | |
tree | 548ef5438c085739569ac4e064e94a8e6cc62018 /vcl | |
parent | d79f69ca93ace838201ff575200b7587dc082160 (diff) |
uitest: rename getType to get_type
Just for consistency.
Change-Id: I13577b9318039493f585268fd7189f5cbc4dec46
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/uitest/uiobject_impl.hxx | 8 | ||||
-rw-r--r-- | vcl/source/uitest/uiobject.cxx | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/vcl/inc/uitest/uiobject_impl.hxx b/vcl/inc/uitest/uiobject_impl.hxx index 4d843ce7cd45..98ce9bbf0b8d 100644 --- a/vcl/inc/uitest/uiobject_impl.hxx +++ b/vcl/inc/uitest/uiobject_impl.hxx @@ -26,7 +26,7 @@ public: virtual void execute(const OUString& rAction, const StringMap& rParameters) override; - virtual UIObjectType getType() const override; + virtual UIObjectType get_type() const override; virtual std::unique_ptr<UIObject> get_child(const OUString& rID) override; @@ -52,7 +52,7 @@ public: virtual void execute(const OUString& rAction, const StringMap& rParameters) override; - virtual UIObjectType getType() const override; + virtual UIObjectType get_type() const override; protected: @@ -67,7 +67,7 @@ public: DialogUIObject(VclPtr<Dialog> xDialog); - virtual UIObjectType getType() const override; + virtual UIObjectType get_type() const override; virtual StringMap get_state() override; @@ -89,7 +89,7 @@ public: virtual StringMap get_state() override; - virtual UIObjectType getType() const override; + virtual UIObjectType get_type() const override; protected: diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx index 869f0474f64b..a102074a7b83 100644 --- a/vcl/source/uitest/uiobject.cxx +++ b/vcl/source/uitest/uiobject.cxx @@ -35,7 +35,7 @@ void UIObject::execute(const OUString& /*rAction*/, throw std::exception(); } -UIObjectType UIObject::getType() const +UIObjectType UIObject::get_type() const { return UIObjectType::UNKNOWN; } @@ -108,7 +108,7 @@ void WindowUIObject::execute(const OUString& rAction, } } -UIObjectType WindowUIObject::getType() const +UIObjectType WindowUIObject::get_type() const { return UIObjectType::WINDOW; } @@ -195,7 +195,7 @@ StringMap ButtonUIObject::get_state() return aMap; } -UIObjectType ButtonUIObject::getType() const +UIObjectType ButtonUIObject::get_type() const { return UIObjectType::BUTTON; } @@ -233,7 +233,7 @@ OUString DialogUIObject::get_name() const return OUString("DialogUIObject"); } -UIObjectType DialogUIObject::getType() const +UIObjectType DialogUIObject::get_type() const { return UIObjectType::DIALOG; } @@ -299,7 +299,7 @@ StringMap EditUIObject::get_state() return aMap; } -UIObjectType EditUIObject::getType() const +UIObjectType EditUIObject::get_type() const { return UIObjectType::EDIT; } |