kexi

KexiDBConnectionDialog Class Reference

List of all members.

Detailed Description

Definition at line 123 of file kexidbconnectionwidget.h.


Signals

void saveChanges ()
void testConnection ()
void loadDBList ()

Public Member Functions

 KexiDBConnectionDialog (const KexiProjectData &data, const QString &shortcutFileName=QString::null, const KGuiItem &acceptButtonGuiItem=KGuiItem(""))
 KexiDBConnectionDialog (const KexiDB::ConnectionData &data, const QString &shortcutFileName=QString::null, const KGuiItem &acceptButtonGuiItem=KGuiItem(""))
 ~KexiDBConnectionDialog ()
KexiProjectData currentProjectData ()
bool savePasswordOptionSelected () const
KexiDBConnectionWidgetmainWidget () const
KexiDBConnectionWidgetDetailsBase * detailsWidget () const

Protected Attributes

KexiDBConnectionTabWidgettabWidget

Constructor & Destructor Documentation

KexiDBConnectionDialog::KexiDBConnectionDialog ( const KexiProjectData data,
const QString &  shortcutFileName = QString::null,
const KGuiItem &  acceptButtonGuiItem = KGuiItem("") 
)

Creates a new connection dialog for project data data. Not only connection data is visible but also database name and and title. shortcutFileName is only used to check if the shortcut file is writable (if no, "save changes" button will be disabled). The shortcut file is in .KEXIS format. Connect to saveChanges() signal to react on saving changes. If shortcutFileName is empty, the button will be hidden. acceptButtonGuiItem allows to override default "Open" button's appearance.

Definition at line 338 of file kexidbconnectionwidget.cpp.

KexiDBConnectionDialog::KexiDBConnectionDialog ( const KexiDB::ConnectionData data,
const QString &  shortcutFileName = QString::null,
const KGuiItem &  acceptButtonGuiItem = KGuiItem("") 
)

Creates a new connection dialog for connection data data. Only connection data is visible: database name and and title fields are hidden. shortcutFileName is only used to check if the shortcut file is writable (if no, "save changes" button will be disabled). The shortcut file is in .KEXIC format. See above constructor for more details.

Definition at line 353 of file kexidbconnectionwidget.cpp.


Member Function Documentation

KexiProjectData KexiDBConnectionDialog::currentProjectData (  ) 

Returns:
project data displayed within the dialog. Information about database name and title can be empty if the dialog contain only a connection data (if second constructor was used).

Definition at line 393 of file kexidbconnectionwidget.cpp.

bool KexiDBConnectionDialog::savePasswordOptionSelected (  )  const

Returns:
true if 'save password' option is selected

Definition at line 396 of file kexidbconnectionwidget.cpp.

void KexiDBConnectionDialog::saveChanges (  )  [signal]

emitted when data saving is needed

void KexiDBConnectionDialog::testConnection (  )  [signal]

emitted when test connection is needed


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys