diff options
Diffstat (limited to 'src/mirall/settingsdialogmac.h')
-rw-r--r-- | src/mirall/settingsdialogmac.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/mirall/settingsdialogmac.h b/src/mirall/settingsdialogmac.h new file mode 100644 index 000000000..fe8f2b417 --- /dev/null +++ b/src/mirall/settingsdialogmac.h @@ -0,0 +1,45 @@ +#ifndef SETTINGSDIALOGMAC_H +#define SETTINGSDIALOGMAC_H + +#include "mirall/progressdispatcher.h" +#include "macpreferenceswindow.h" + +class QStandardItemModel; +class QListWidgetItem; + +namespace Mirall { + +class AccountSettings; +class ProtocolWidget; +class Application; +class FolderMan; +class ownCloudGui; + +class SettingsDialogMac : public MacPreferencesWindow +{ + Q_OBJECT + +public: + explicit SettingsDialogMac(ownCloudGui *gui, QWidget *parent = 0); + + void setGeneralErrors( const QStringList& errors ); + +public slots: + void slotSyncStateChange(const QString& alias); + void slotRefreshResultList(); + void showActivityPage(); + +private: + void closeEvent(QCloseEvent *event); + + AccountSettings *_accountSettings; + QListWidgetItem *_accountItem; + ProtocolWidget *_protocolWidget; + + int _accountIdx; + int _protocolIdx; +}; + +} + +#endif // SETTINGSDIALOGMAC_H |