small refactoring, make ex command interface public

This commit is contained in:
hjk
2008-12-27 16:42:07 +01:00
committed by Roberto Raggi
parent 15c89ea26a
commit b8b3274fc3
2 changed files with 66 additions and 12 deletions

View File

@@ -52,8 +52,16 @@ public:
FakeVimHandler(QObject *parent = 0);
~FakeVimHandler();
// The same handler can be installed on several widgets
void addWidget(QWidget *widget);
void removeWidget(QWidget *widget);
// This executes an "ex" style command taking context
// information from \p widget;
void handleCommand(QWidget *widget, const QString &cmd);
signals:
void commandBufferChanged(const QString &);
void commandBufferChanged(const QString &msg);
void quitRequested(QObject *);
private: