fakevim: work on new settings dialog

This commit is contained in:
hjk
2009-03-30 14:20:46 +02:00
parent 765489f964
commit 9963552876
2 changed files with 10 additions and 3 deletions

View File

@@ -233,6 +233,7 @@ private slots:
void installHandler(Core::IEditor *editor);
void removeHandler();
void triggerCompletions();
void showSettingsDialog();
void showCommandBuffer(const QString &contents);
void showExtraInformation(const QString &msg);
@@ -303,9 +304,17 @@ bool FakeVimPluginPrivate::initialize()
connect(editorManager, SIGNAL(editorOpened(Core::IEditor*)),
this, SLOT(editorOpened(Core::IEditor*)));
connect(theFakeVimSetting(SettingsDialog), SIGNAL(triggered()),
this, SLOT(showSettingsDialog()));
return true;
}
void FakeVimPluginPrivate::showSettingsDialog()
{
Core::ICore::instance()->showOptionsDialog("FakeVim", "General");
}
void FakeVimPluginPrivate::installHandler(Core::IEditor *editor)
{
if (!editor)