summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.h
blob: df3a152640706e9dbe2b90f5baf3806b8f1dad5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
%{H_TEMPLATE}

#ifndef KMDIKONSOLE_H
#define KMDIKONSOLE_H

#include <tqvbox.h>

class kmdikonsole : public TQVBox
{
	Q_OBJECT
  

	public:
		kmdikonsole( TQWidget* parent, const char* name=0);
		~kmdikonsole();

	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