summaryrefslogtreecommitdiffabout
path: root/libkdepim/ksyncmanager.h
authorzautrix <zautrix>2005-07-09 01:22:50 (UTC)
committer zautrix <zautrix>2005-07-09 01:22:50 (UTC)
commit3c756588a4f650fc6f2e5971d56d56b74d67bfda (patch) (unidiff)
tree8c62bc77c8248520ff3f0ecf508ab47550a1de74 /libkdepim/ksyncmanager.h
parent1e11d41ecb6a912c4c0a2747eb1fa26626fdcca2 (diff)
downloadkdepimpi-3c756588a4f650fc6f2e5971d56d56b74d67bfda.zip
kdepimpi-3c756588a4f650fc6f2e5971d56d56b74d67bfda.tar.gz
kdepimpi-3c756588a4f650fc6f2e5971d56d56b74d67bfda.tar.bz2
comp fixes
Diffstat (limited to 'libkdepim/ksyncmanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/ksyncmanager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libkdepim/ksyncmanager.h b/libkdepim/ksyncmanager.h
index e6738b6..d3734da 100644
--- a/libkdepim/ksyncmanager.h
+++ b/libkdepim/ksyncmanager.h
@@ -17,32 +17,33 @@
17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. 18 Boston, MA 02111-1307, USA.
19 19
20 $Id$ 20 $Id$
21*/ 21*/
22#ifndef _KSYNCMANAGER_H 22#ifndef _KSYNCMANAGER_H
23#define _KSYNCMANAGER_H 23#define _KSYNCMANAGER_H
24 24
25#include <qobject.h> 25#include <qobject.h>
26#include <qstring.h> 26#include <qstring.h>
27#include <qsocket.h> 27#include <qsocket.h>
28#include <qdatetime.h> 28#include <qdatetime.h>
29#include <qserversocket.h> 29#include <qserversocket.h>
30#include <qtextstream.h> 30#include <qtextstream.h>
31#include <qregexp.h> 31#include <qregexp.h>
32#include <qprogressdialog.h> 32#include <qprogressdialog.h>
33#include <kdialog.h>
33 34
34class QPopupMenu; 35class QPopupMenu;
35class KSyncProfile; 36class KSyncProfile;
36class KPimPrefs; 37class KPimPrefs;
37class QWidget; 38class QWidget;
38class KSyncManager; 39class KSyncManager;
39class KSyncInterface; 40class KSyncInterface;
40class QProgressBar; 41class QProgressBar;
41 42
42 43
43class KServerSocket : public QServerSocket 44class KServerSocket : public QServerSocket
44{ 45{
45 Q_OBJECT 46 Q_OBJECT
46 47
47 public: 48 public:
48 KServerSocket ( QString password, Q_UINT16 port, int backlog = 0, QObject * parent=0, const char * name=0 ); 49 KServerSocket ( QString password, Q_UINT16 port, int backlog = 0, QObject * parent=0, const char * name=0 );
@@ -86,33 +87,33 @@ class KCommandSocket : public QObject
86 void sendStop(); 87 void sendStop();
87 88
88 private slots : 89 private slots :
89 void sendFileRequest(); 90 void sendFileRequest();
90 void updateConnectDialog(); 91 void updateConnectDialog();
91 92
92 signals: 93 signals:
93 void commandFinished( KCommandSocket*, int ); 94 void commandFinished( KCommandSocket*, int );
94 private slots: 95 private slots:
95 void startReadFileFromSocket(); 96 void startReadFileFromSocket();
96 void readFileFromSocket(); 97 void readFileFromSocket();
97 void deleteSocket(); 98 void deleteSocket();
98 void writeFileToSocket(); 99 void writeFileToSocket();
99 private : 100 private :
100 int mConnectCount; 101 int mConnectCount;
101 int mConnectMax; 102 int mConnectMax;
102 QProgressDialog mConnectProgress; 103 KProgressDialog mConnectProgress;
103 QWidget* tlw; 104 QWidget* tlw;
104 QSocket* mSocket; 105 QSocket* mSocket;
105 QString mPassWord; 106 QString mPassWord;
106 Q_UINT16 mPort; 107 Q_UINT16 mPort;
107 QString mHost; 108 QString mHost;
108 QString mFileName; 109 QString mFileName;
109 QTimer* mTimerSocket; 110 QTimer* mTimerSocket;
110 int mRetVal; 111 int mRetVal;
111 QTime mTime; 112 QTime mTime;
112 QString mFileString; 113 QString mFileString;
113 bool mFirst; 114 bool mFirst;
114 bool mFirstLine; 115 bool mFirstLine;
115}; 116};
116 117
117 118
118class KSyncManager : public QObject 119class KSyncManager : public QObject