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
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 178 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 183 of file kexidbconnectionwidget.cpp.
KPushButton * KexiDBConnectionWidget::saveChangesButton | ( | ) | const |
- Returns:
- a pointer to 'save changes' button. You can call hide() for this to hide it.
Definition at line 189 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 194 of file kexidbconnectionwidget.cpp.
bool KexiDBConnectionWidget::connectionOnly | ( | ) | const |
- Returns:
- true if only connection data is managed by this widget
Definition at line 119 of file kexidbconnectionwidget.cpp.
void KexiDBConnectionWidget::saveChanges | ( | ) | [signal] |
emitted when data saving is needed
void KexiDBConnectionWidget::setDataInternal | ( | const KexiProjectData & | data, | |
bool | connectionOnly, | |||
const QString & | shortcutFileName | |||
) | [protected] |
Definition at line 122 of file kexidbconnectionwidget.cpp.
The documentation for this class was generated from the following files: