-rw-r--r-- | libkdepim/ksyncmanager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libkdepim/ksyncmanager.h b/libkdepim/ksyncmanager.h index e6738b6..d3734da 100644 --- a/libkdepim/ksyncmanager.h +++ b/libkdepim/ksyncmanager.h | |||
@@ -21,24 +21,25 @@ | |||
21 | */ | 21 | */ |
22 | #ifndef _KSYNCMANAGER_H | 22 | #ifndef _KSYNCMANAGER_H |
23 | #define _KSYNCMANAGER_H | 23 | #define _KSYNCMANAGER_H |
24 | 24 | ||
25 | #include <qobject.h> | 25 | #include <qobject.h> |
26 | #include <qstring.h> | 26 | #include <qstring.h> |
27 | #include <qsocket.h> | 27 | #include <qsocket.h> |
28 | #include <qdatetime.h> | 28 | #include <qdatetime.h> |
29 | #include <qserversocket.h> | 29 | #include <qserversocket.h> |
30 | #include <qtextstream.h> | 30 | #include <qtextstream.h> |
31 | #include <qregexp.h> | 31 | #include <qregexp.h> |
32 | #include <qprogressdialog.h> | 32 | #include <qprogressdialog.h> |
33 | #include <kdialog.h> | ||
33 | 34 | ||
34 | class QPopupMenu; | 35 | class QPopupMenu; |
35 | class KSyncProfile; | 36 | class KSyncProfile; |
36 | class KPimPrefs; | 37 | class KPimPrefs; |
37 | class QWidget; | 38 | class QWidget; |
38 | class KSyncManager; | 39 | class KSyncManager; |
39 | class KSyncInterface; | 40 | class KSyncInterface; |
40 | class QProgressBar; | 41 | class QProgressBar; |
41 | 42 | ||
42 | 43 | ||
43 | class KServerSocket : public QServerSocket | 44 | class KServerSocket : public QServerSocket |
44 | { | 45 | { |
@@ -90,25 +91,25 @@ class KCommandSocket : public QObject | |||
90 | void updateConnectDialog(); | 91 | void updateConnectDialog(); |
91 | 92 | ||
92 | signals: | 93 | signals: |
93 | void commandFinished( KCommandSocket*, int ); | 94 | void commandFinished( KCommandSocket*, int ); |
94 | private slots: | 95 | private slots: |
95 | void startReadFileFromSocket(); | 96 | void startReadFileFromSocket(); |
96 | void readFileFromSocket(); | 97 | void readFileFromSocket(); |
97 | void deleteSocket(); | 98 | void deleteSocket(); |
98 | void writeFileToSocket(); | 99 | void writeFileToSocket(); |
99 | private : | 100 | private : |
100 | int mConnectCount; | 101 | int mConnectCount; |
101 | int mConnectMax; | 102 | int mConnectMax; |
102 | QProgressDialog mConnectProgress; | 103 | KProgressDialog mConnectProgress; |
103 | QWidget* tlw; | 104 | QWidget* tlw; |
104 | QSocket* mSocket; | 105 | QSocket* mSocket; |
105 | QString mPassWord; | 106 | QString mPassWord; |
106 | Q_UINT16 mPort; | 107 | Q_UINT16 mPort; |
107 | QString mHost; | 108 | QString mHost; |
108 | QString mFileName; | 109 | QString mFileName; |
109 | QTimer* mTimerSocket; | 110 | QTimer* mTimerSocket; |
110 | int mRetVal; | 111 | int mRetVal; |
111 | QTime mTime; | 112 | QTime mTime; |
112 | QString mFileString; | 113 | QString mFileString; |
113 | bool mFirst; | 114 | bool mFirst; |
114 | bool mFirstLine; | 115 | bool mFirstLine; |