forked from qt-creator/qt-creator
De-Q_OBJECT-ify some more settings pages
Change-Id: I4700c9749c12c3fbe3adc9dc702283c8ce545ab2 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -31,17 +31,16 @@
|
||||
|
||||
#include <texteditor/texteditorconstants.h>
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QWidget>
|
||||
|
||||
using namespace Macros;
|
||||
using namespace Macros::Internal;
|
||||
|
||||
namespace Macros {
|
||||
namespace Internal {
|
||||
|
||||
MacroOptionsPage::MacroOptionsPage()
|
||||
{
|
||||
setId(Constants::M_OPTIONS_PAGE);
|
||||
setDisplayName(QCoreApplication::translate("Macros", Constants::M_OPTIONS_TR_PAGE));
|
||||
setDisplayName(MacroOptionsWidget::tr("Macros"));
|
||||
setCategory(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY);
|
||||
setWidgetCreator([] { return new MacroOptionsWidget; });
|
||||
}
|
||||
|
||||
} // Internal
|
||||
} // Macros
|
||||
|
||||
Reference in New Issue
Block a user