#ifndef MAINWINDOW_H #define MAINWINDOW_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainWindow(); private: Ui::MainWindow* ui; QIcon* currentIcon; QSystemTrayIcon* qsystemtrayicon; QSettings qsettings;\ QTimer* timer; void saveSettings(); QByteArray download(QUrl url); QNetworkConfigurationManager* mgr; private slots: void slotActivated(QSystemTrayIcon::ActivationReason); void on_comboBox_currentIndexChanged(const QString &arg1); void updateStatus(); void updateSpaceList(); void exitApplication(); //void stateChanged(QNetworkSession::State); //void onlineStateChanged(bool); void onNetworkConfigurationChanged(); }; #endif // MAINWINDOW_H