26 : m_pTypeCollection(nullptr)
27 , m_bShowPrefix(false)
28 , m_xEntry(
std::move(xEntry))
29 , m_xForcedPrefix(
std::move(xForcedPrefix))
57 bool bIsEmpty = _rStr.isEmpty();
70 OUString sNewText( _rStr );
OUString cutPrefix(std::u16string_view _sURL) const
on a given string, cut the type prefix and return the result
OUString getPrefix(std::u16string_view _sURL) const
on a given string, return the type prefix
OUString GetTextNoPrefix() const
get the currently set text, excluding the prefix indicating the type
std::unique_ptr< weld::Label > m_xForcedPrefix
void ShowPrefix(bool _bShowPrefix)
Shows the Prefix.
OConnectionURLEdit(std::unique_ptr< weld::Entry > xEntry, std::unique_ptr< weld::Label > xForcedPrefix)
void SetText(const OUString &_rStr)
std::unique_ptr< weld::Entry > m_xEntry
::dbaccess::ODsnTypeCollection * m_pTypeCollection
void SetTextNoPrefix(const OUString &_rText)
set a new text, leave the current prefix unchanged