diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-09 18:42:52 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-09 18:42:52 -0500 |
commit | 83ded525e622feb0318c93d64012882e649568f6 (patch) | |
tree | ce2b13b9b54af601adf71c0b91a331cb0d5ce743 /lib/libtqtrla/src/tqtrla.h | |
parent | fc455268a511d91113f59c04b50fa08b7c37b554 (diff) | |
download | ulab-83ded525e622feb0318c93d64012882e649568f6.tar.gz ulab-83ded525e622feb0318c93d64012882e649568f6.zip |
Move part connection and disconnection code into tqtrla library
Diffstat (limited to 'lib/libtqtrla/src/tqtrla.h')
-rw-r--r-- | lib/libtqtrla/src/tqtrla.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/libtqtrla/src/tqtrla.h b/lib/libtqtrla/src/tqtrla.h index c1c88e2..2db5cc0 100644 --- a/lib/libtqtrla/src/tqtrla.h +++ b/lib/libtqtrla/src/tqtrla.h @@ -23,11 +23,14 @@ #include <tqobject.h> #include <tqptrlist.h> +#include <tqtimer.h> #include <kaction.h> #include <kparts/part.h> +#include <tdekrbclientsocket.h> + // ============================================================================= namespace KParts @@ -54,6 +57,16 @@ namespace KParts TQStringList textForServerError(TQString shortError); TQ_ULONG maximumSocketDataChunkSize(); + public: + int connectToServer(TQString server); + void disconnectFromServer(); + + private slots: + void finishConnectingToServer(); + virtual void connectionFinishedCallback(); + virtual void disconnectFromServerCallback(); + virtual void connectionStatusChangedCallback(); + protected slots: void close(); void resize(TQSize size); @@ -64,6 +77,14 @@ namespace KParts protected: KURL m_url; + TQString m_clientLibraryName; + + protected: + TDEKerberosClientSocket* m_socket; + TQTimer* m_connectionTimer; + bool connToServerConnecting; + int connToServerState; + TQTimer *connToServerTimeoutTimer; private: RemoteInstrumentPartPrivate *d; |