From 408e828f4732c9bb4aa3673c87d85109e06c08e1 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 30 Apr 2012 16:46:20 -0500 Subject: Fixups for ca server Add very preliminary client for ca and TDE --- clients/tde/src/app/views/instrumentview.h | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 clients/tde/src/app/views/instrumentview.h (limited to 'clients/tde/src/app/views/instrumentview.h') diff --git a/clients/tde/src/app/views/instrumentview.h b/clients/tde/src/app/views/instrumentview.h new file mode 100644 index 0000000..c9df8d2 --- /dev/null +++ b/clients/tde/src/app/views/instrumentview.h @@ -0,0 +1,41 @@ +//Author: Timothy Pearson , (C) 2012 +//Copyright: See COPYING file that comes with this distribution + +#ifndef SPECTRUMANALYZERVIEW_H +#define SPECTRUMANALYZERVIEW_H + +#include +#include +#include + +class KAction; + +namespace RemoteLab { + +typedef KParts::ReadOnlyPart InstrumentPart; + +class InstrumentView : public KMdiChildView +{ + Q_OBJECT + + public: + InstrumentView(const TQString &library, TQWidget *parentWidget=0L, const char *name=0L, WFlags f=0); + InstrumentView(const TQString &library, const TQString &caption, TQWidget *parentWidget=0L, const char *name=0L, WFlags f=0); + ~InstrumentView(); + void connectServer(TQString server); + void closeConnections(); + + protected: + virtual void saveProperties( KConfig * ); + virtual void readProperties( KConfig * ); + virtual bool queryExit(); + + private: + void init(); + TQString m_libraryName; + RemoteLab::InstrumentPart *m_instrumentPart; +}; + +} // namespace RemoteLab + +#endif -- cgit v1.2.1