summaryrefslogtreecommitdiffstats
path: root/clients/tde/src/app/views/instrumentview.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-04-30 16:46:20 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-04-30 16:46:20 -0500
commit408e828f4732c9bb4aa3673c87d85109e06c08e1 (patch)
treeecd25f872402cea120a442d3f2744d74d699b675 /clients/tde/src/app/views/instrumentview.h
parentf8d372779417eeb809088893ca58ad6a318ab418 (diff)
downloadulab-408e828f4732c9bb4aa3673c87d85109e06c08e1.tar.gz
ulab-408e828f4732c9bb4aa3673c87d85109e06c08e1.zip
Fixups for ca server
Add very preliminary client for ca and TDE
Diffstat (limited to 'clients/tde/src/app/views/instrumentview.h')
-rw-r--r--clients/tde/src/app/views/instrumentview.h41
1 files changed, 41 insertions, 0 deletions
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 <kb9vqf@pearsoncomputing.net>, (C) 2012
+//Copyright: See COPYING file that comes with this distribution
+
+#ifndef SPECTRUMANALYZERVIEW_H
+#define SPECTRUMANALYZERVIEW_H
+
+#include <kconfig.h>
+#include <kparts/part.h>
+#include <kmdichildview.h>
+
+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