forked from qt-creator/qt-creator
IOptionsPage: replace virtual fuctions by data members
Change-Id: I8297df85109b67b79f90c33263a5dc7b89efbb60 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -257,31 +257,12 @@ public:
|
||||
|
||||
GdbOptionsPage::GdbOptionsPage()
|
||||
: m_ui(0)
|
||||
{ }
|
||||
|
||||
QString GdbOptionsPage::settingsId()
|
||||
{
|
||||
return QLatin1String("M.Gdb");
|
||||
}
|
||||
|
||||
QString GdbOptionsPage::displayName() const
|
||||
{
|
||||
return tr("GDB");
|
||||
}
|
||||
|
||||
QString GdbOptionsPage::category() const
|
||||
{
|
||||
return QLatin1String(Constants::DEBUGGER_SETTINGS_CATEGORY);
|
||||
}
|
||||
|
||||
QString GdbOptionsPage::displayCategory() const
|
||||
{
|
||||
return QCoreApplication::translate("Debugger", Constants::DEBUGGER_SETTINGS_TR_CATEGORY);
|
||||
}
|
||||
|
||||
QIcon GdbOptionsPage::categoryIcon() const
|
||||
{
|
||||
return QIcon(QLatin1String(Constants::DEBUGGER_COMMON_SETTINGS_CATEGORY_ICON));
|
||||
setId(QLatin1String("M.Gdb"));
|
||||
setDisplayName(tr("GDB"));
|
||||
setCategory(QLatin1String(Constants::DEBUGGER_SETTINGS_CATEGORY));
|
||||
setDisplayCategory(QCoreApplication::translate("Debugger", Constants::DEBUGGER_SETTINGS_TR_CATEGORY));
|
||||
setCategoryIcon(QLatin1String(Constants::DEBUGGER_COMMON_SETTINGS_CATEGORY_ICON));
|
||||
}
|
||||
|
||||
QWidget *GdbOptionsPage::createPage(QWidget *parent)
|
||||
|
||||
Reference in New Issue
Block a user