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 /clients/tde/src/part/fpgaview/part.h | |
parent | fc455268a511d91113f59c04b50fa08b7c37b554 (diff) | |
download | ulab-83ded525e622feb0318c93d64012882e649568f6.tar.gz ulab-83ded525e622feb0318c93d64012882e649568f6.zip |
Move part connection and disconnection code into tqtrla library
Diffstat (limited to 'clients/tde/src/part/fpgaview/part.h')
-rw-r--r-- | clients/tde/src/part/fpgaview/part.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/clients/tde/src/part/fpgaview/part.h b/clients/tde/src/part/fpgaview/part.h index a0b0463..572cadc 100644 --- a/clients/tde/src/part/fpgaview/part.h +++ b/clients/tde/src/part/fpgaview/part.h @@ -147,7 +147,6 @@ namespace RemoteLab virtual bool openFile() { return false; } // pure virtual in the base class virtual bool closeURL(); static KAboutData *createAboutData(); - int connectToServer(TQString server); virtual TQPtrList<KAction> menuActionList(); public slots: @@ -159,8 +158,9 @@ namespace RemoteLab void updateDisplay(); void processLockouts(); void connectionClosed(); - void disconnectFromServer(); - void finishConnectingToServer(); + void connectionFinishedCallback(); + void disconnectFromServerCallback(); + void connectionStatusChangedCallback(); void switchToBasicMode(); void switchToIntermediateMode(); void switchToAdvancedMode(); @@ -183,16 +183,10 @@ namespace RemoteLab void receiveInputStatesFromRemoteFPGA(); private: - TDEKerberosClientSocket* m_socket; FPGAViewBase* m_base; TQMutex* m_connectionMutex; - TQTimer* m_connectionTimer; TQTimer* m_updateTimer; - bool connToServerConnecting; - int connToServerState; - TQTimer *connToServerTimeoutTimer; - TQPtrList<KAction> m_menuActionList; KActionMenu* m_modeSubMenu; KToggleAction* m_modeBasicEnabled; |