summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.h
blob: 83adb4174d23bef0be7c8a8376e89b9150e6a8b4 (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 <qvbox.h>

class kmdikonsole : public QVBox
{
	Q_OBJECT

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

	public slots:
		void setDirectory(const QString & dir);
		void activate();

	private slots:
		void slotDestroyed();
		void respawn();

	protected:
		void showEvent(QShowEvent *ev);

	private:
		KParts::ReadOnlyPart *m_part;
		bool m_haskonsole;
};

#endif // KMDIKONSOLE_H