forked from qt-creator/qt-creator
Create a single parent options page for the Text Editor category
Trying to clean up a little.
This commit is contained in:
@@ -31,7 +31,6 @@
|
||||
#include "ui_completionsettingspage.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <texteditor/texteditorconstants.h>
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
|
||||
#include <QtCore/QTextStream>
|
||||
@@ -60,21 +59,6 @@ QString CompletionSettingsPage::displayName() const
|
||||
return tr("Completion");
|
||||
}
|
||||
|
||||
QString CompletionSettingsPage::category() const
|
||||
{
|
||||
return QLatin1String(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY);
|
||||
}
|
||||
|
||||
QString CompletionSettingsPage::displayCategory() const
|
||||
{
|
||||
return QCoreApplication::translate("Text Editor", TextEditor::Constants::TEXT_EDITOR_SETTINGS_TR_CATEGORY);
|
||||
}
|
||||
|
||||
QIcon CompletionSettingsPage::categoryIcon() const
|
||||
{
|
||||
return QIcon(QLatin1String(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY_ICON));
|
||||
}
|
||||
|
||||
QWidget *CompletionSettingsPage::createPage(QWidget *parent)
|
||||
{
|
||||
QWidget *w = new QWidget(parent);
|
||||
|
||||
Reference in New Issue
Block a user