LibEngsas
Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
ESqlLoginDialog Class Reference

Displays a login dialog for a database. More...

#include <esqllogindialog.h>

+ Inheritance diagram for ESqlLoginDialog:
+ Collaboration diagram for ESqlLoginDialog:

Public Member Functions

 ESqlLoginDialog (QWidget *parent=NULL)
 ESqlLoginDialog (QString title, QWidget *parent=NULL)
 ~ESqlLoginDialog ()
void setUsername (QString name)
QString username () const
void setPassword (QString password)
QString password () const
void displayError (QString msg)
void displayInformation (QString msg)
- Public Member Functions inherited from EDialog
 EDialog (QString objName, QWidget *parent=0, Qt::WindowFlags flags=0)
 Creates a EDialog instance with objectName() set to objName.
 EDialog (QWidget *parent=0, Qt::WindowFlags flags=0)
virtual ~EDialog ()
void setWindowTitle (const QString &title)
 Sets the window title and prepends the QApplication::applicationName().
void setObjectName (const QString &name)
 Set's the objectname and calls loadGeometry() afterwards.
void loadGeometry ()
 Can be called to restore geometry of this object.
void connectByPass (QObject *object)
 Connects all standard signals.

Protected Member Functions

void changeEvent (QEvent *e)
- Protected Member Functions inherited from EDialog
QString helpPage ()
void closeEvent (QCloseEvent *event)

Private Slots

void usernameChanged ()

Private Member Functions

void init ()

Private Attributes

Ui::ESqlLoginDialog * m_ui
KWallet::Wallet * wallet

Additional Inherited Members

- Public Slots inherited from EDialog
virtual void reloadSettings ()
 Used to reload settings the settings.
- Signals inherited from EDialog
void error (const QString &message)
void warning (const QString &message)
void information (const QString &message)
void reloadEnableActions ()
 Request reloading of enabled actions in EMainWindow.
void addMenu (QMenu *newMenu, const QString &parent, QString before=QString())
void addAction (QAction *newAction, const QString &parent, QString before=QString())
void addToolBar (QToolBar *newToolBar, Qt::ToolBarArea area=Qt::TopToolBarArea)
void addNewDockWidget (QDockWidget *widget, const Qt::DockWidgetArea &area)
void setCentralWidget (QWidget *centralWidget)
void showSettings ()
void showHelp (const QString &page)
void showStatusWidget (QWidget *widget)
void reloadSettingsRequest ()
 Indicates, that a reload of the settings is needed.
void doReloadSettings ()
 Emitted to bring the reload request back to the farest child.
- Protected Slots inherited from EDialog
virtual void errorByPass (const QString &message)
virtual void warningByPass (const QString &message)
virtual void informationByPass (const QString &message)
virtual void reloadEnableActionsByPass ()
virtual void addMenuByPass (QMenu *newMenu, const QString &parent, QString before=QString())
virtual void addActionByPass (QAction *newAction, const QString &parent, QString before=QString())
virtual void addToolBarByPass (QToolBar *newToolBar, Qt::ToolBarArea area=Qt::TopToolBarArea)
virtual void addNewDockWidgetByPass (QDockWidget *widget, const Qt::DockWidgetArea &area)
virtual void setCentralWidgetByPass (QWidget *centralWidget)
virtual void showSettingsByPass ()
virtual void showHelpByPass (const QString &page)
virtual void showStatusWidgetByPass (QWidget *widget)
virtual void reloadSettingsRequestByPass ()
void setHelp (QString page, EPushButton *helpButton=0)
 Call this function to setup helpButton as a help button.

Detailed Description

Displays a login dialog for a database.

Constructor & Destructor Documentation

ESqlLoginDialog::ESqlLoginDialog ( QWidget *  parent = NULL)

+ Here is the call graph for this function:

ESqlLoginDialog::ESqlLoginDialog ( QString  title,
QWidget *  parent = NULL 
)

+ Here is the call graph for this function:

ESqlLoginDialog::~ESqlLoginDialog ( )

Member Function Documentation

void ESqlLoginDialog::changeEvent ( QEvent *  e)
protected
void ESqlLoginDialog::displayError ( QString  msg)

+ Here is the caller graph for this function:

void ESqlLoginDialog::displayInformation ( QString  msg)
void ESqlLoginDialog::init ( )
private

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

QString ESqlLoginDialog::password ( ) const

+ Here is the caller graph for this function:

void ESqlLoginDialog::setPassword ( QString  password)

+ Here is the caller graph for this function:

void ESqlLoginDialog::setUsername ( QString  name)

+ Here is the caller graph for this function:

QString ESqlLoginDialog::username ( ) const

+ Here is the caller graph for this function:

void ESqlLoginDialog::usernameChanged ( )
privateslot

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Ui::ESqlLoginDialog* ESqlLoginDialog::m_ui
private
KWallet::Wallet* ESqlLoginDialog::wallet
private

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