kate
kateconsole.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __KATE_CONSOLE_H__
00022 #define __KATE_CONSOLE_H__
00023
00024 #include "katemain.h"
00025
00026 #include <kurl.h>
00027
00028 #include <qvbox.h>
00029
00030 namespace KParts {
00031 class ReadOnlyPart;
00032 }
00033
00034 namespace KateMDI {
00035 class ToolView;
00036 }
00037
00038 class KateMainWindow;
00039
00045 class KateConsole : public QVBox
00046 {
00047 Q_OBJECT
00048
00049 public:
00055 KateConsole (KateMainWindow *mw, KateMDI::ToolView* parent);
00056
00060 ~KateConsole ();
00061
00066 void cd (const KURL &url);
00067
00072 void sendInput( const QString& text );
00073
00074 public slots:
00078 void slotPipeToConsole ();
00079
00080 private slots:
00085 void slotDestroyed ();
00086
00090 void loadConsoleIfNeeded();
00091
00092 protected:
00097 void showEvent(QShowEvent *ev);
00098
00099 private:
00103 KParts::ReadOnlyPart *m_part;
00104
00108 KateMainWindow *m_mw;
00109
00113 KateMDI::ToolView *m_toolView;
00114 };
00115
00116 #endif