-rw-r--r-- | libkdepim/ksyncmanager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libkdepim/ksyncmanager.h b/libkdepim/ksyncmanager.h index 09bd1c1..810a515 100644 --- a/libkdepim/ksyncmanager.h +++ b/libkdepim/ksyncmanager.h | |||
@@ -57,29 +57,30 @@ class KServerSocket : public QServerSocket | |||
57 | void discardClient(); | 57 | void discardClient(); |
58 | void readClient(); | 58 | void readClient(); |
59 | void readBackFileFromSocket(); | 59 | void readBackFileFromSocket(); |
60 | private : | 60 | private : |
61 | bool blockRC; | 61 | bool blockRC; |
62 | void send_file(); | 62 | void send_file(); |
63 | void get_file(); | 63 | void get_file(); |
64 | void end_connect(); | 64 | void end_connect(); |
65 | void error_connect(); | ||
65 | QDialog* mSyncActionDialog; | 66 | QDialog* mSyncActionDialog; |
66 | QSocket* mSocket; | 67 | QSocket* mSocket; |
67 | QString mPassWord; | 68 | QString mPassWord; |
68 | QString mFileName; | 69 | QString mFileName; |
69 | QTime piTime; | 70 | QTime piTime; |
70 | QString piFileString; | 71 | QString piFileString; |
71 | }; | 72 | }; |
72 | 73 | ||
73 | class KCommandSocket : public QObject | 74 | class KCommandSocket : public QObject |
74 | { | 75 | { |
75 | Q_OBJECT | 76 | Q_OBJECT |
76 | public: | 77 | public: |
77 | enum state { successR, errorR, successW, errorW, errorTO, quiet }; | 78 | enum state { successR, errorR, successW, errorW, errorTO, errorPW,quiet }; |
78 | KCommandSocket ( QString password, Q_UINT16 port, QString host, QObject * parent=0, QWidget* cap = 0, const char * name=0 ); | 79 | KCommandSocket ( QString password, Q_UINT16 port, QString host, QObject * parent=0, QWidget* cap = 0, const char * name=0 ); |
79 | void readFile( QString ); | 80 | void readFile( QString ); |
80 | void writeFile( QString ); | 81 | void writeFile( QString ); |
81 | void sendStop(); | 82 | void sendStop(); |
82 | 83 | ||
83 | private slots : | 84 | private slots : |
84 | void sendFileRequest(); | 85 | void sendFileRequest(); |
85 | 86 | ||
@@ -97,16 +98,17 @@ class KCommandSocket : public QObject | |||
97 | Q_UINT16 mPort; | 98 | Q_UINT16 mPort; |
98 | QString mHost; | 99 | QString mHost; |
99 | QString mFileName; | 100 | QString mFileName; |
100 | QTimer* mTimerSocket; | 101 | QTimer* mTimerSocket; |
101 | int mRetVal; | 102 | int mRetVal; |
102 | QTime mTime; | 103 | QTime mTime; |
103 | QString mFileString; | 104 | QString mFileString; |
104 | bool mFirst; | 105 | bool mFirst; |
106 | bool mFirstLine; | ||
105 | }; | 107 | }; |
106 | 108 | ||
107 | 109 | ||
108 | class KSyncManager : public QObject | 110 | class KSyncManager : public QObject |
109 | { | 111 | { |
110 | Q_OBJECT | 112 | Q_OBJECT |
111 | 113 | ||
112 | public: | 114 | public: |