diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2015-04-17 18:56:17 +0300 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2015-04-17 18:56:17 +0300 |
commit | a932eac832b442cca763197240f036905dd284da (patch) | |
tree | e051a71ad8e0605deb5ab12f1138ad562c73019f /src/gui/settingsdialog.h | |
parent | 2da3bfb96f2e1ac0860e28903c1956065627f5d2 (diff) |
Multi-account WIP
Diffstat (limited to 'src/gui/settingsdialog.h')
-rw-r--r-- | src/gui/settingsdialog.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/settingsdialog.h b/src/gui/settingsdialog.h index 002e4a204..f8e311a0a 100644 --- a/src/gui/settingsdialog.h +++ b/src/gui/settingsdialog.h @@ -24,6 +24,8 @@ class QStandardItemModel; namespace OCC { +class AccountState; + namespace Ui { class SettingsDialog; } @@ -41,7 +43,6 @@ public: ~SettingsDialog(); void addAccount(const QString &title, QWidget *widget); - void setGeneralErrors( const QStringList& errors ); public slots: void showActivityPage(); @@ -52,12 +53,14 @@ protected: void accept() Q_DECL_OVERRIDE; private slots: + void accountAdded(AccountState *); + void accountRemoved(AccountState *); private: Ui::SettingsDialog * const _ui; QHash<QAction*, QWidget*> _actions; - AccountSettings * const _accountSettings; QAction * _protocolAction; + ownCloudGui *_gui; }; } |