summaryrefslogtreecommitdiffabout
path: root/libkdepim/ksyncmanager.h
authorzautrix <zautrix>2005-02-24 02:01:08 (UTC)
committer zautrix <zautrix>2005-02-24 02:01:08 (UTC)
commit5af16f69232073d1fa46d2dea3774beaaafb00c5 (patch) (unidiff)
tree0790afdd906df50520ac4415a9d35b95107d4d48 /libkdepim/ksyncmanager.h
parent513496c67403deb04339cfc87143ed5554720e32 (diff)
downloadkdepimpi-5af16f69232073d1fa46d2dea3774beaaafb00c5.zip
kdepimpi-5af16f69232073d1fa46d2dea3774beaaafb00c5.tar.gz
kdepimpi-5af16f69232073d1fa46d2dea3774beaaafb00c5.tar.bz2
socket fixes
Diffstat (limited to 'libkdepim/ksyncmanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/ksyncmanager.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libkdepim/ksyncmanager.h b/libkdepim/ksyncmanager.h
index 810a515..bd3ecdc 100644
--- a/libkdepim/ksyncmanager.h
+++ b/libkdepim/ksyncmanager.h
@@ -55,14 +55,17 @@ class KServerSocket : public QServerSocket
55 void endConnect(); 55 void endConnect();
56 private slots: 56 private slots:
57 void discardClient(); 57 void discardClient();
58 void deleteSocket();
58 void readClient(); 59 void readClient();
60 void displayErrorMessage();
59 void readBackFileFromSocket(); 61 void readBackFileFromSocket();
60 private : 62 private :
63 int mErrorMessage;
61 bool blockRC; 64 bool blockRC;
62 void send_file(); 65 void send_file();
63 void get_file(); 66 void get_file();
64 void end_connect(); 67 void end_connect();
65 void error_connect(); 68 void error_connect( QString );
66 QDialog* mSyncActionDialog; 69 QDialog* mSyncActionDialog;
67 QSocket* mSocket; 70 QSocket* mSocket;
68 QString mPassWord; 71 QString mPassWord;
@@ -75,7 +78,7 @@ class KCommandSocket : public QObject
75{ 78{
76 Q_OBJECT 79 Q_OBJECT
77 public: 80 public:
78 enum state { successR, errorR, successW, errorW, errorTO, errorPW,quiet }; 81 enum state { successR, errorR, successW, errorW, errorTO, errorPW, errorCA, errorFI, errorUN,quiet };
79 KCommandSocket ( QString password, Q_UINT16 port, QString host, QObject * parent=0, QWidget* cap = 0, const char * name=0 ); 82 KCommandSocket ( QString password, Q_UINT16 port, QString host, QObject * parent=0, QWidget* cap = 0, const char * name=0 );
80 void readFile( QString ); 83 void readFile( QString );
81 void writeFile( QString ); 84 void writeFile( QString );