X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2FUserInterface%2FUtils%2FPasswordDialog.h;h=86879c9564b20eed9c7c11a9fd5e3690323f6355;hb=a4efac92adf76a72d0bacc30eb99b79d148588d6;hp=5bf8c6245cae5caa2e5954a487f0c0345c984352;hpb=9ee999fe4a7de48abc3b4f950699cd4564d16562;p=qtmeetings diff --git a/src/UserInterface/Utils/PasswordDialog.h b/src/UserInterface/Utils/PasswordDialog.h index 5bf8c62..86879c9 100644 --- a/src/UserInterface/Utils/PasswordDialog.h +++ b/src/UserInterface/Utils/PasswordDialog.h @@ -35,9 +35,9 @@ public: * \param aText Optional. Text displayed in the dialog. * \param aTitle Optional. Dialog title, defaults to "Enter password". * \return The instance which was created. - */ static PasswordDialog * query( QWidget *aParent, const QString &aPassword, const QString &aText = 0, const QString &aTitle = 0 ); + */ signals: //! Signals the authenticity of the password when the uuser dismisses the dialog. @@ -51,14 +51,14 @@ private slots: void okButtonPressed(); void cancelButtonPressed(); -private: +public: //! Constructor. /*! * Constructor to initialize a PasswordDialog instance. * \param aParent The parent object. * \param aPassword The password. */ - PasswordDialog( QWidget *aParent, const QString &aPassword, const QString &aText, const QString &aTitle ); + PasswordDialog( const QString &aPassword, const QString &aText, const QString &aTitle = "", QWidget *aParent = 0 ); //! Destructor. virtual ~PasswordDialog();