summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.h
blob: ef5a2c1ef45fee30498461e7f9d181549a8de30a (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
%{H_TEMPLATE}

#ifndef KMDIKONSOLE_H
#define KMDIKONSOLE_H

#include <tqvbox.h>

class kmdikonsole : public QVBox
{
	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