X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fcoreconnectdlg.h;h=040d5ecb7055dff92bccdc5e04fbe0719541c3c9;hp=f7d29df658f7a89589b326808e10fb3d4b1373e7;hb=7857c5659678c969a870b2a68407f2906d96df15;hpb=bf86381e85cd97ef04a9dc45c2b1a063035391fa diff --git a/src/qtui/coreconnectdlg.h b/src/qtui/coreconnectdlg.h index f7d29df6..040d5ecb 100644 --- a/src/qtui/coreconnectdlg.h +++ b/src/qtui/coreconnectdlg.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2009 by the Quassel Project * + * Copyright (C) 2005-2014 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,29 +15,51 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #ifndef CORECONNECTDLG_H -#define CORECONNECTDLG_H_ +#define CORECONNECTDLG_H #include #include "coreaccount.h" +#include "ui_coreconnectauthdlg.h" + class CoreAccountSettingsPage; -class CoreConnectDlg : public QDialog { - Q_OBJECT +class CoreConnectDlg : public QDialog +{ + Q_OBJECT public: - CoreConnectDlg(QWidget *parent = 0); - AccountId selectedAccount() const; + CoreConnectDlg(QWidget *parent = 0); + AccountId selectedAccount() const; - void accept(); + void accept(); private: - CoreAccountSettingsPage *_settingsPage; + CoreAccountSettingsPage *_settingsPage; }; + +class CoreConnectAuthDlg : public QDialog +{ + Q_OBJECT + +public: + CoreConnectAuthDlg(CoreAccount *account, QWidget *parent = 0); + + void accept(); + +private slots: + void setButtonStates(); + +private: + Ui::CoreConnectAuthDlg ui; + CoreAccount *_account; +}; + + #endif