LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dbaui::OSQLNameEntry Class Reference

#include <SqlNameEdit.hxx>

Inheritance diagram for dbaui::OSQLNameEntry:
[legend]
Collaboration diagram for dbaui::OSQLNameEntry:
[legend]

Public Member Functions

 OSQLNameEntry (std::unique_ptr< weld::Entry > xEntry, const OUString &_rAllowedChars=OUString())
 
OUString get_text () const
 
void set_text (const OUString &rText)
 
void set_max_length (int nLen)
 
virtual void save_value () override
 
virtual bool get_value_changed_from_saved () const override
 
- Public Member Functions inherited from dbaui::OWidgetBase
 OWidgetBase (weld::Widget *pWidget)
 
void hide ()
 
void show ()
 
void set_sensitive (bool bSensitive)
 
weld::WidgetGetWidget ()
 
virtual bool get_value_changed_from_saved () const =0
 
virtual void save_value ()=0
 
virtual ~OWidgetBase ()
 
- Public Member Functions inherited from dbaui::OSQLNameChecker
 OSQLNameChecker (OUString _sAllowedChars)
 
void setAllowedChars (const OUString &_rAllowedChars)
 
void setCheck (bool _bCheck)
 
bool checkString (std::u16string_view _sToCheck, OUString &_rsCorrected)
 

Private Member Functions

 DECL_LINK (ModifyHdl, weld::Entry &, void)
 

Private Attributes

std::unique_ptr< weld::Entrym_xEntry
 

Detailed Description

Definition at line 93 of file SqlNameEdit.hxx.

Constructor & Destructor Documentation

◆ OSQLNameEntry()

dbaui::OSQLNameEntry::OSQLNameEntry ( std::unique_ptr< weld::Entry xEntry,
const OUString &  _rAllowedChars = OUString() 
)
inline

Definition at line 102 of file SqlNameEdit.hxx.

References get(), LINK, and m_xEntry.

Member Function Documentation

◆ DECL_LINK()

dbaui::OSQLNameEntry::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private

◆ get_text()

OUString dbaui::OSQLNameEntry::get_text ( ) const
inline

Definition at line 110 of file SqlNameEdit.hxx.

References m_xEntry.

Referenced by dbaui::OWizTypeSelectControl::CellModified().

◆ get_value_changed_from_saved()

virtual bool dbaui::OSQLNameEntry::get_value_changed_from_saved ( ) const
inlineoverridevirtual

Implements dbaui::OWidgetBase.

Definition at line 114 of file SqlNameEdit.hxx.

References m_xEntry.

◆ save_value()

virtual void dbaui::OSQLNameEntry::save_value ( )
inlineoverridevirtual

Implements dbaui::OWidgetBase.

Definition at line 113 of file SqlNameEdit.hxx.

References m_xEntry.

◆ set_max_length()

void dbaui::OSQLNameEntry::set_max_length ( int  nLen)
inline

Definition at line 112 of file SqlNameEdit.hxx.

References m_xEntry.

◆ set_text()

void dbaui::OSQLNameEntry::set_text ( const OUString &  rText)
inline

Definition at line 111 of file SqlNameEdit.hxx.

References m_xEntry.

Member Data Documentation

◆ m_xEntry

std::unique_ptr<weld::Entry> dbaui::OSQLNameEntry::m_xEntry
private

The documentation for this class was generated from the following file: