From 144952942e57780587739a46253cc7305c79f27c Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 04 Oct 2004 18:41:26 +0000 Subject: more sync fixes --- (limited to 'korganizer/mainwindow.h') 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: KServerSocket ( QString password, Q_UINT16 port, int backlog = 0, QObject * parent=0, const char * name=0 ); 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(); private slots: void discardClient(); void readClient(); + void readBackFileFromSocket(); private : + void send_file(); + void get_file(); + QDialog* mSyncActionDialog; QSocket* mSocket; QString mPassWord; + QString mFileName; + QTime piTime; + QString piFileString; }; class KCommandSocket : public QObject @@ -153,7 +164,7 @@ class MainWindow : public QMainWindow void deleteCommandSocketFinish(); void fillSyncMenu(); void sendFile(QSocket* s); - void getFile(QSocket* socket); + void getFile( bool ); void readFileFromSocket(); void readBackFileFromSocket(); void endConnect(); -- cgit v0.9.0.2