2 Copyright (c) 2013-2015 Montel Laurent <montel@kde.org>
4 This library is free software; you can redistribute it and/or modify it
5 under the terms of the GNU Library General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or (at your
7 option) any later version.
9 This library is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12 License for more details.
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to the
16 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 #ifndef STORAGESERVICEMANAGERMAINWINDOW_H
22 #define STORAGESERVICEMANAGERMAINWINDOW_H
24 #include <KXmlGuiWindow>
26 class QNetworkConfigurationManager
;
30 class StorageServiceManager
;
35 class StorageServiceManagerMainWidget
;
36 class StorageServiceManagerMainWindow
: public KXmlGuiWindow
40 explicit StorageServiceManagerMainWindow();
41 ~StorageServiceManagerMainWindow();
44 void slotSetStatusBarMessage(const QString
&message
);
47 void closeEvent(QCloseEvent
*e
) Q_DECL_OVERRIDE
;
51 void slotUpdateActions();
52 void slotServiceRemoved(const QString
&serviceName
);
54 void slotShutdownAllServices();
55 void slotRefreshAll();
56 void slotShowNotificationOptions();
57 void slotServicesChanged();
58 void slotSystemNetworkOnlineStateChanged(bool state
);
63 StorageServiceManagerMainWidget
*mStorageServiceMainWidget
;
64 PimCommon::StorageServiceManager
*mStorageManager
;
65 QAction
*mDownloadFile
;
66 QAction
*mCreateFolder
;
67 QAction
*mAccountInfo
;
70 QAction
*mAuthenticate
;
71 QAction
*mRefreshList
;
74 QAction
*mShutdownAllServices
;
77 QLabel
*mStatusBarInfo
;
78 QNetworkConfigurationManager
*mNetworkConfigurationManager
;
81 #endif // STORAGESERVICEMANAGERMAINWINDOW_H