-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloudsync.h
62 lines (49 loc) · 1.05 KB
/
cloudsync.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
* cloudsync.h
*
* This contains the declaration of the status notifier (tray icon) class.
*
* Copyright (C) 2010 Martin T. Sandsmark <martin.sandsmark@kde.org>
*/
#ifndef CLOUDSYNC_H
#define CLOUDSYNC_H
#include <QSet>
#include <KStatusNotifierItem>
#include "ui_settings.h"
class cloudsyncView;
class QPrinter;
class KToggleAction;
class KUrl;
/**
* This class serves as the main interface for CloudSync.
*
* @short Main window class
* @author Martin T. Sandsmark <martin.sandsmark@kde.org>
* @version 1.0
*/
class CloudSync : public KStatusNotifierItem
{
Q_OBJECT
public:
/**
* Default Constructor
*/
CloudSync();
/**
* Default Destructor
*/
virtual ~CloudSync();
private slots:
void optionsPreferences();
void transferring(QString);
void finished(QString);
private:
void setupActions();
void updateTooltip();
private:
Ui::Settings ui_Settings;
KToggleAction *m_toolbarAction;
KToggleAction *m_statusbarAction;
QSet<QString> m_fileTransfers;
};
#endif // _CLOUDSYNC_H_