kateconsole.h
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
#include "../interfaces/viewmanager.h"
00026
00027
#include <qwidget.h>
00028
#include <kparts/part.h>
00029
00030
class KateConsole :
public QWidget
00031 {
00032 Q_OBJECT
00033
00034
public:
00035 KateConsole (QWidget* parent,
const char* name,
Kate::ViewManager *);
00036 ~KateConsole ();
00037
00038
void cd (KURL url=KURL());
00039
00040
void sendInput(
const QString& text );
00041
00042
protected:
00043
void focusInEvent( QFocusEvent * ) {
if (part) part->widget()->setFocus(); };
00044
virtual void showEvent(QShowEvent *);
00045
00046
00047
private:
00048 KParts::ReadOnlyPart *part;
00049 QVBoxLayout* lo;
00050
Kate::ViewManager *m_kvm;
00051
00052
public slots:
00053
void loadConsoleIfNeeded();
00054
00055
00056
private slots:
00057
void notifySize (
int,
int) {};
00058
void changeColumns (
int) {};
00059
void changeTitle(
int,
const QString&) {};
00060
00061
void slotDestroyed ();
00062 };
00063
00064
#endif
This file is part of the documentation for kate Library Version 3.3.0.