Diffstat (limited to 'noncore/settings/netsystemtime/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/netsystemtime/mainwindow.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/netsystemtime/mainwindow.h b/noncore/settings/netsystemtime/mainwindow.h index fa94335..1cdbc1a 100644 --- a/noncore/settings/netsystemtime/mainwindow.h +++ b/noncore/settings/netsystemtime/mainwindow.h | |||
@@ -27,50 +27,51 @@ | |||
27 | */ | 27 | */ |
28 | 28 | ||
29 | #ifndef MAINWINDOW_H | 29 | #ifndef MAINWINDOW_H |
30 | #define MAINWINDOW_H | 30 | #define MAINWINDOW_H |
31 | 31 | ||
32 | #include <qdialog.h> | 32 | #include <qdialog.h> |
33 | 33 | ||
34 | class TimeTabWidget; | 34 | class TimeTabWidget; |
35 | class FormatTabWidget; | 35 | class FormatTabWidget; |
36 | class SettingsTabWidget; | 36 | class SettingsTabWidget; |
37 | class NTPTabWidget; | 37 | class NTPTabWidget; |
38 | class PredictTabWidget; | 38 | class PredictTabWidget; |
39 | 39 | ||
40 | class OProcess; | 40 | class OProcess; |
41 | class OTabWidget; | 41 | class OTabWidget; |
42 | class QDateTime; | 42 | class QDateTime; |
43 | class QSocket; | 43 | class QSocket; |
44 | class QTimer; | 44 | class QTimer; |
45 | 45 | ||
46 | class MainWindow : public QDialog | 46 | class MainWindow : public QDialog |
47 | { | 47 | { |
48 | Q_OBJECT | 48 | Q_OBJECT |
49 | 49 | ||
50 | public: | 50 | public: |
51 | MainWindow(); | 51 | MainWindow( QWidget *parent = 0, const char *name = 0, bool modal = FALSE,WFlags f = 0); |
52 | ~MainWindow(); | 52 | ~MainWindow(); |
53 | static QString appName() { return QString::fromLatin1("systemtime"); } | ||
53 | 54 | ||
54 | protected: | 55 | protected: |
55 | void accept(); | 56 | void accept(); |
56 | void reject(); | 57 | void reject(); |
57 | 58 | ||
58 | private: | 59 | private: |
59 | OTabWidget *mainWidget; | 60 | OTabWidget *mainWidget; |
60 | 61 | ||
61 | TimeTabWidget *timeTab; | 62 | TimeTabWidget *timeTab; |
62 | FormatTabWidget *formatTab; | 63 | FormatTabWidget *formatTab; |
63 | SettingsTabWidget *settingsTab; | 64 | SettingsTabWidget *settingsTab; |
64 | NTPTabWidget *ntpTab; | 65 | NTPTabWidget *ntpTab; |
65 | PredictTabWidget *predictTab; | 66 | PredictTabWidget *predictTab; |
66 | 67 | ||
67 | bool ntpTabEnabled; | 68 | bool ntpTabEnabled; |
68 | bool predictTabEnabled; | 69 | bool predictTabEnabled; |
69 | 70 | ||
70 | OProcess *ntpProcess; | 71 | OProcess *ntpProcess; |
71 | QTimer *ntpTimer; | 72 | QTimer *ntpTimer; |
72 | QSocket *ntpSock; | 73 | QSocket *ntpSock; |
73 | int ntpDelay; | 74 | int ntpDelay; |
74 | bool ntpInteractive; | 75 | bool ntpInteractive; |
75 | QString ntpOutput; | 76 | QString ntpOutput; |
76 | int _lookupDiff; | 77 | int _lookupDiff; |