author | zautrix <zautrix> | 2004-10-04 18:41:26 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-04 18:41:26 (UTC) |
commit | 144952942e57780587739a46253cc7305c79f27c (patch) (unidiff) | |
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 | |||
@@ -33,17 +33,28 @@ public: | |||
33 | KServerSocket ( QString password, Q_UINT16 port, int backlog = 0, QObject * parent=0, const char * name=0 ); | 33 | KServerSocket ( QString password, Q_UINT16 port, int backlog = 0, QObject * parent=0, const char * name=0 ); |
34 | 34 | ||
35 | void newConnection ( int socket ) ; | 35 | void newConnection ( int socket ) ; |
36 | void setFileName( QString fn ) {mFileName = fn;}; | ||
36 | 37 | ||
37 | signals: | 38 | signals: |
38 | void sendFile(QSocket*); | 39 | //void sendFile(QSocket*); |
39 | void getFile(QSocket*); | 40 | //void getFile(QSocket*); |
41 | void file_received( bool ); | ||
42 | //void file_sent(); | ||
43 | void saveFile(); | ||
40 | void endConnect(); | 44 | void endConnect(); |
41 | private slots: | 45 | private slots: |
42 | void discardClient(); | 46 | void discardClient(); |
43 | void readClient(); | 47 | void readClient(); |
48 | void readBackFileFromSocket(); | ||
44 | private : | 49 | private : |
50 | void send_file(); | ||
51 | void get_file(); | ||
52 | QDialog* mSyncActionDialog; | ||
45 | QSocket* mSocket; | 53 | QSocket* mSocket; |
46 | QString mPassWord; | 54 | QString mPassWord; |
55 | QString mFileName; | ||
56 | QTime piTime; | ||
57 | QString piFileString; | ||
47 | }; | 58 | }; |
48 | 59 | ||
49 | class KCommandSocket : public QObject | 60 | class KCommandSocket : public QObject |
@@ -153,7 +164,7 @@ class MainWindow : public QMainWindow | |||
153 | void deleteCommandSocketFinish(); | 164 | void deleteCommandSocketFinish(); |
154 | void fillSyncMenu(); | 165 | void fillSyncMenu(); |
155 | void sendFile(QSocket* s); | 166 | void sendFile(QSocket* s); |
156 | void getFile(QSocket* socket); | 167 | void getFile( bool ); |
157 | void readFileFromSocket(); | 168 | void readFileFromSocket(); |
158 | void readBackFileFromSocket(); | 169 | void readBackFileFromSocket(); |
159 | void endConnect(); | 170 | void endConnect(); |