summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kscons_tdemdi/tdemdikonsole.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kscons_tdemdi/tdemdikonsole.h')
-rw-r--r--languages/cpp/app_templates/kscons_tdemdi/tdemdikonsole.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/kscons_tdemdi/tdemdikonsole.h b/languages/cpp/app_templates/kscons_tdemdi/tdemdikonsole.h
new file mode 100644
index 00000000..db4a4323
--- /dev/null
+++ b/languages/cpp/app_templates/kscons_tdemdi/tdemdikonsole.h
@@ -0,0 +1,33 @@
+%{H_TEMPLATE}
+
+#ifndef KMDIKONSOLE_H
+#define KMDIKONSOLE_H
+
+#include <tqvbox.h>
+
+class tdemdikonsole : public TQVBox
+{
+ Q_OBJECT
+
+
+ public:
+ tdemdikonsole( TQWidget* parent, const char* name=0);
+ ~tdemdikonsole();
+
+ public slots:
+ void setDirectory(const TQString & dir);
+ void activate();
+
+ private slots:
+ void slotDestroyed();
+ void respawn();
+
+ protected:
+ void showEvent(TQShowEvent *ev);
+
+ private:
+ KParts::ReadOnlyPart *m_part;
+ bool m_haskonsole;
+};
+
+#endif // KMDIKONSOLE_H