summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.h
blob: 727e9675a5f919c3b0b8c6c984976a1e94260b2f (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
  TQ_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