author | zautrix <zautrix> | 2004-10-04 19:29:05 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-04 19:29:05 (UTC) |
commit | dfc6d084410456037bf6f26f741e7b938085de88 (patch) (side-by-side diff) | |
tree | 6c05462c68067b37af3766020667328f8da839f8 /korganizer/mainwindow.h | |
parent | 144952942e57780587739a46253cc7305c79f27c (diff) | |
download | kdepimpi-dfc6d084410456037bf6f26f741e7b938085de88.zip kdepimpi-dfc6d084410456037bf6f26f741e7b938085de88.tar.gz kdepimpi-dfc6d084410456037bf6f26f741e7b938085de88.tar.bz2 |
more sync
-rw-r--r-- | korganizer/mainwindow.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index 8b76067..5a67765 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h @@ -49,6 +49,7 @@ private slots: private : void send_file(); void get_file(); + void end_connect(); QDialog* mSyncActionDialog; QSocket* mSocket; QString mPassWord; @@ -65,10 +66,11 @@ public: KCommandSocket ( QString password, Q_UINT16 port, QString host, QObject * parent=0, const char * name=0 ); void readFile( QString ); void writeFile( QString ); + void sendStop(); signals: - void commandFinished( bool ); + void commandFinished( KCommandSocket*, bool ); private slots: void startReadFileFromSocket(); void readFileFromSocket(); @@ -160,19 +162,14 @@ class MainWindow : public QMainWindow QSocket* piSocket; QString piFileString; QTime piTime; - void deleteCommandSocket(bool); - void deleteCommandSocketFinish(); + void deleteCommandSocket(KCommandSocket* s, bool success); + void deleteCommandSocketFinish(KCommandSocket* s, bool success); void fillSyncMenu(); - void sendFile(QSocket* s); void getFile( bool ); void readFileFromSocket(); - void readBackFileFromSocket(); - void endConnect(); private: //QTimer* mTimerCommandSocket; QString mPassWordPiSync; - KCommandSocket* mCommandSocket; - QSocket* mCommandSocketFinish; KServerSocket * mServerSocket; bool mClosed; void saveOnClose(); |