kexi
KexiDBConnectionWidget Class Reference
List of all members.Detailed Description
Definition at line 36 of file kexidbconnectionwidget.h.
Signals | |
void | saveChanges () |
void | loadDBList () |
Public Member Functions | |
KexiDBConnectionWidget (QWidget *parent=0, const char *name=0) | |
virtual | ~KexiDBConnectionWidget () |
void | setData (const KexiProjectData &data, const QString &shortcutFileName=QString::null) |
void | setData (const KexiDB::ConnectionData &data, const QString &shortcutFileName=QString::null) |
KexiProjectData | data () |
KPushButton * | saveChangesButton () const |
KPushButton * | testConnectionButton () const |
KexiDBDriverComboBox * | driversCombo () const |
bool | connectionOnly () const |
Protected Slots | |
void | slotLocationBGrpClicked (int id) |
void | slotCBToggled (bool on) |
virtual void | languageChange () |
Protected Member Functions | |
void | setDataInternal (const KexiProjectData &data, bool connectionOnly, const QString &shortcutFileName) |
Protected Attributes | |
KexiProjectData | m_data |
KexiDBDriverComboBox * | m_driversCombo |
Private * | d |
Member Function Documentation
bool KexiDBConnectionWidget::connectionOnly | ( | ) | const |
- Returns:
- true if only connection data is managed by this widget
Definition at line 118 of file kexidbconnectionwidget.cpp.
void KexiDBConnectionWidget::saveChanges | ( | ) | [signal] |
emitted when data saving is needed
KPushButton * KexiDBConnectionWidget::saveChangesButton | ( | ) | const |
- Returns:
- a pointer to 'save changes' button. You can call hide() for this to hide it.
Definition at line 188 of file kexidbconnectionwidget.cpp.
void KexiDBConnectionWidget::setData | ( | const KexiDB::ConnectionData & | data, | |
const QString & | shortcutFileName = QString::null | |||
) |
Sets connection data data. shortcutFileName is only used to check if the file is writable (if no, "save changes" button will be disabled).
Definition at line 182 of file kexidbconnectionwidget.cpp.
void KexiDBConnectionWidget::setData | ( | const KexiProjectData & | data, | |
const QString & | shortcutFileName = QString::null | |||
) |
Sets project data data. shortcutFileName is only used to check if the file is writable (if no, "save changes" button will be disabled).
connectionOnly
Definition at line 177 of file kexidbconnectionwidget.cpp.
void KexiDBConnectionWidget::setDataInternal | ( | const KexiProjectData & | data, | |
bool | connectionOnly, | |||
const QString & | shortcutFileName | |||
) | [protected] |
Definition at line 121 of file kexidbconnectionwidget.cpp.
KPushButton * KexiDBConnectionWidget::testConnectionButton | ( | ) | const |
- Returns:
- a pointer to 'test connection' button. You can call hide() for this to hide it.
Definition at line 193 of file kexidbconnectionwidget.cpp.
The documentation for this class was generated from the following files: