aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/macros/macrooptionspage.cpp
blob: 6295ea94e784e5433cf1db5739694b168f7f7982 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (C) 2016 Nicolas Arnaud-Cormos
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#include "macrooptionspage.h"

#include "macromanager.h"
#include "macrooptionswidget.h"
#include "macrosconstants.h"
#include "macrostr.h"

#include <texteditor/texteditorconstants.h>

namespace Macros {
namespace Internal {

MacroOptionsPage::MacroOptionsPage()
{
    setId(Constants::M_OPTIONS_PAGE);
    setDisplayName(Tr::tr("Macros"));
    setCategory(TextEditor::Constants::TEXT_EDITOR_SETTINGS_CATEGORY);
    setWidgetCreator([] { return new MacroOptionsWidget; });
}

} // Internal
} // Macros