forked from qt-creator/qt-creator
fakevim: mv handler.{cpp,h} fakevimhandler.{cpp,h}
This commit is contained in:
@@ -11,10 +11,10 @@ include(../../plugins/texteditor/texteditor.pri)
|
|||||||
QT += gui
|
QT += gui
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
handler.cpp \
|
fakevimhandler.cpp \
|
||||||
fakevimplugin.cpp
|
fakevimplugin.cpp
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
handler.h \
|
fakevimconstants.h \
|
||||||
fakevimplugin.h \
|
fakevimhandler.h \
|
||||||
fakevimconstants.h
|
fakevimplugin.h
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
**
|
**
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "handler.h"
|
#include "fakevimhandler.h"
|
||||||
|
|
||||||
#include "fakevimconstants.h"
|
#include "fakevimconstants.h"
|
||||||
|
|
||||||
@@ -33,7 +33,8 @@
|
|||||||
|
|
||||||
#include "fakevimplugin.h"
|
#include "fakevimplugin.h"
|
||||||
|
|
||||||
#include "handler.h"
|
#include "fakevimconstants.h"
|
||||||
|
#include "fakevimhandler.h"
|
||||||
|
|
||||||
#include <coreplugin/actionmanager/actionmanagerinterface.h>
|
#include <coreplugin/actionmanager/actionmanagerinterface.h>
|
||||||
#include <coreplugin/coreconstants.h>
|
#include <coreplugin/coreconstants.h>
|
||||||
@@ -181,7 +182,7 @@ void FakeVimPlugin::showExtraInformation(const QString &text)
|
|||||||
QMessageBox::information(0, tr("FakeVim Information"), text);
|
QMessageBox::information(0, tr("FakeVim Information"), text);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FakeVimPlugin::initializeConfiguaration(QHash<QString, QString> *config)
|
void FakeVimPlugin::initializeConfiguration(QHash<QString, QString> *config)
|
||||||
{
|
{
|
||||||
qDebug() << "INIT CONFIG";
|
qDebug() << "INIT CONFIG";
|
||||||
//set shiftwidth=4
|
//set shiftwidth=4
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ private slots:
|
|||||||
void removeHandler(QWidget *widget);
|
void removeHandler(QWidget *widget);
|
||||||
void showCommandBuffer(const QString &contents);
|
void showCommandBuffer(const QString &contents);
|
||||||
void showExtraInformation(const QString &msg);
|
void showExtraInformation(const QString &msg);
|
||||||
void initializeConfiguaration(QHash<QString, QString> *config);
|
void initializeConfiguration(QHash<QString, QString> *config);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
FakeVimHandler *m_handler;
|
FakeVimHandler *m_handler;
|
||||||
|
|||||||
Reference in New Issue
Block a user