author | zautrix <zautrix> | 2004-10-04 18:41:26 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-04 18:41:26 (UTC) |
commit | 144952942e57780587739a46253cc7305c79f27c (patch) (side-by-side diff) | |
tree | 82ad5b9b98c6243a9d2c8902f4851c421e70508c /korganizer/mainwindow.h | |
parent | 2a99a7ca0816fd68b7fcf2f1fee023aef019000d (diff) | |
download | kdepimpi-144952942e57780587739a46253cc7305c79f27c.zip kdepimpi-144952942e57780587739a46253cc7305c79f27c.tar.gz kdepimpi-144952942e57780587739a46253cc7305c79f27c.tar.bz2 |
more sync fixes
-rw-r--r-- | korganizer/mainwindow.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index 11a816c..8b76067 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h @@ -35,6 +35,10 @@ public: void newConnection ( int socket ) ; + void setFileName( QString fn ) {mFileName = fn;}; signals: - void sendFile(QSocket*); - void getFile(QSocket*); + //void sendFile(QSocket*); + //void getFile(QSocket*); + void file_received( bool ); + //void file_sent(); + void saveFile(); void endConnect(); @@ -43,5 +47,12 @@ private slots: void readClient(); + void readBackFileFromSocket(); private : + void send_file(); + void get_file(); + QDialog* mSyncActionDialog; QSocket* mSocket; QString mPassWord; + QString mFileName; + QTime piTime; + QString piFileString; }; @@ -155,3 +166,3 @@ class MainWindow : public QMainWindow void sendFile(QSocket* s); - void getFile(QSocket* socket); + void getFile( bool ); void readFileFromSocket(); |