summaryrefslogtreecommitdiff
path: root/core/launcher/qcopbridge.h
Unidiff
Diffstat (limited to 'core/launcher/qcopbridge.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/qcopbridge.h25
1 files changed, 15 insertions, 10 deletions
diff --git a/core/launcher/qcopbridge.h b/core/launcher/qcopbridge.h
index 408d10d..bae3f88 100644
--- a/core/launcher/qcopbridge.h
+++ b/core/launcher/qcopbridge.h
@@ -22,2 +22,3 @@
22 22
23#include <qtopia/global.h>
23#include <qserversocket.h> 24#include <qserversocket.h>
@@ -31,2 +32,3 @@ class QCopBridgePI;
31class QCopChannel; 32class QCopChannel;
33class QTimer;
32 34
@@ -42,10 +44,14 @@ public:
42 void closeOpenConnections(); 44 void closeOpenConnections();
45 void authorizeConnections();
43 46
44public slots: 47public slots:
45 void connectionClosed( QCopBridgePI *pi ); 48 void closed( QCopBridgePI *pi );
46 void desktopMessage( const QCString &call, const QByteArray & ); 49 void desktopMessage( const QCString &call, const QByteArray & );
47 50
51signals:
52 void connectionClosed( const QHostAddress & );
53
48protected: 54protected:
49 void timerEvent( QTimerEvent * ); 55 void timerEvent( QTimerEvent * );
50 56
51private: 57private:
@@ -69,7 +75,9 @@ public:
69 void sendDesktopMessage( const QString &msg ); 75 void sendDesktopMessage( const QString &msg );
76 void sendDesktopMessage( const QCString &msg, const QByteArray& );
70 void startSync() { sendSync = TRUE; } 77 void startSync() { sendSync = TRUE; }
71 78 bool verifyAuthorised();
79
72signals: 80signals:
73 void connectionClosed( QCopBridgePI *); 81 void connectionClosed( QCopBridgePI *);
74 82
75protected slots: 83protected slots:
@@ -78,6 +86,3 @@ protected slots:
78 void process( const QString& command ); 86 void process( const QString& command );
79 void connectionClosed(); 87 void myConnectionClosed();
80
81protected:
82 void timerEvent( QTimerEvent *e );
83 88
@@ -87,4 +92,4 @@ private:
87 QHostAddress peeraddress; 92 QHostAddress peeraddress;
88 bool connected;
89 bool sendSync; 93 bool sendSync;
94 QTimer *timer;
90}; 95};