author | zautrix <zautrix> | 2005-02-24 02:22:48 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-24 02:22:48 (UTC) |
commit | 66ea8a0023a2a58e7887a41c265f2a7112b6b625 (patch) (side-by-side diff) | |
tree | 2533ce5893fc7c68e067964ad078d4b00a6e8354 /libkdepim/ksyncmanager.h | |
parent | 5af16f69232073d1fa46d2dea3774beaaafb00c5 (diff) | |
download | kdepimpi-66ea8a0023a2a58e7887a41c265f2a7112b6b625.zip kdepimpi-66ea8a0023a2a58e7887a41c265f2a7112b6b625.tar.gz kdepimpi-66ea8a0023a2a58e7887a41c265f2a7112b6b625.tar.bz2 |
socket fix
-rw-r--r-- | libkdepim/ksyncmanager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libkdepim/ksyncmanager.h b/libkdepim/ksyncmanager.h index bd3ecdc..30ec1e6 100644 --- a/libkdepim/ksyncmanager.h +++ b/libkdepim/ksyncmanager.h @@ -57,49 +57,49 @@ class KServerSocket : public QServerSocket void discardClient(); void deleteSocket(); void readClient(); void displayErrorMessage(); void readBackFileFromSocket(); private : int mErrorMessage; bool blockRC; void send_file(); void get_file(); void end_connect(); void error_connect( QString ); QDialog* mSyncActionDialog; QSocket* mSocket; QString mPassWord; QString mFileName; QTime piTime; QString piFileString; }; class KCommandSocket : public QObject { Q_OBJECT public: - enum state { successR, errorR, successW, errorW, errorTO, errorPW, errorCA, errorFI, errorUN,quiet }; + enum state { successR, errorR, successW, errorW, errorTO, errorPW, errorCA, errorFI, errorUN, errorED,quiet }; KCommandSocket ( QString password, Q_UINT16 port, QString host, QObject * parent=0, QWidget* cap = 0, const char * name=0 ); void readFile( QString ); void writeFile( QString ); void sendStop(); private slots : void sendFileRequest(); signals: void commandFinished( KCommandSocket*, int ); private slots: void startReadFileFromSocket(); void readFileFromSocket(); void deleteSocket(); void writeFileToSocket(); private : QWidget* tlw; QSocket* mSocket; QString mPassWord; Q_UINT16 mPort; QString mHost; QString mFileName; QTimer* mTimerSocket; int mRetVal; |