diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-10-24 16:31:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-25 09:58:47 +0200 |
commit | 6d5791332d4ba6a3f506d8cb27f7a44fe84855c7 (patch) | |
tree | b02a147dda72cfe57f7c2cfbe62363cad2c62c07 /dbaccess/source/ui/control | |
parent | b2fae6ba39cd57a4bd5bf8693579bfc5dbb47f6f (diff) |
rename DBOConnectionURLEdit and DBOConnectionHelper back
Change-Id: I9353efc407d9dab04b72d7ddedd43bfa125c63ca
Reviewed-on: https://gerrit.libreoffice.org/62328
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess/source/ui/control')
-rw-r--r-- | dbaccess/source/ui/control/curledit.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dbaccess/source/ui/control/curledit.cxx b/dbaccess/source/ui/control/curledit.cxx index 234ebdb935f9..7c8df5e88e21 100644 --- a/dbaccess/source/ui/control/curledit.cxx +++ b/dbaccess/source/ui/control/curledit.cxx @@ -26,7 +26,7 @@ namespace dbaui { -DBOConnectionURLEdit::DBOConnectionURLEdit(std::unique_ptr<weld::Entry> xEntry, std::unique_ptr<weld::Label> xForcedPrefix) +OConnectionURLEdit::OConnectionURLEdit(std::unique_ptr<weld::Entry> xEntry, std::unique_ptr<weld::Label> xForcedPrefix) : m_pTypeCollection(nullptr) , m_bShowPrefix(false) , m_xEntry(std::move(xEntry)) @@ -34,27 +34,27 @@ DBOConnectionURLEdit::DBOConnectionURLEdit(std::unique_ptr<weld::Entry> xEntry, { } -DBOConnectionURLEdit::~DBOConnectionURLEdit() +OConnectionURLEdit::~OConnectionURLEdit() { } -void DBOConnectionURLEdit::SetTextNoPrefix(const OUString& _rText) +void OConnectionURLEdit::SetTextNoPrefix(const OUString& _rText) { m_xEntry->set_text(_rText); } -OUString DBOConnectionURLEdit::GetTextNoPrefix() const +OUString OConnectionURLEdit::GetTextNoPrefix() const { return m_xEntry->get_text(); } -void DBOConnectionURLEdit::SetText(const OUString& _rStr) +void OConnectionURLEdit::SetText(const OUString& _rStr) { Selection aNoSelection(0,0); SetText(_rStr, aNoSelection); } -void DBOConnectionURLEdit::SetText(const OUString& _rStr, const Selection& /*_rNewSelection*/) +void OConnectionURLEdit::SetText(const OUString& _rStr, const Selection& /*_rNewSelection*/) { m_xForcedPrefix->show(m_bShowPrefix); @@ -77,12 +77,12 @@ void DBOConnectionURLEdit::SetText(const OUString& _rStr, const Selection& /*_rN m_xEntry->set_text(sNewText); } -OUString DBOConnectionURLEdit::GetText() const +OUString OConnectionURLEdit::GetText() const { return m_xForcedPrefix->get_label() + m_xEntry->get_text(); } -void DBOConnectionURLEdit::ShowPrefix(bool _bShowPrefix) +void OConnectionURLEdit::ShowPrefix(bool _bShowPrefix) { m_bShowPrefix = _bShowPrefix; m_xForcedPrefix->show(m_bShowPrefix); |