Commit 597b5fad authored by Laurent Montel's avatar Laurent Montel 😁

Rename buttons

parent 2be63c0d
......@@ -46,15 +46,15 @@ KDEApplicationDebugSettingPage::KDEApplicationDebugSettingPage(QWidget *parent)
QHBoxLayout *buttonLayout = new QHBoxLayout;
mainLayout->addLayout(buttonLayout);
mSelectAll = new QPushButton(i18n("Select All"));
mSelectAll->setObjectName(QStringLiteral("selectall"));
buttonLayout->addWidget(mSelectAll);
connect(mSelectAll, &QAbstractButton::clicked, this, &KDEApplicationDebugSettingPage::slotSelectAll);
mDeselectAll = new QPushButton(i18n("Deselect All"));
mDeselectAll->setObjectName(QStringLiteral("deselectall"));
buttonLayout->addWidget(mDeselectAll);
connect(mDeselectAll, &QAbstractButton::clicked, this, &KDEApplicationDebugSettingPage::slotDeselectAll);
mEnableDebug = new QPushButton(i18n("Enable All Debug"));
mEnableDebug->setObjectName(QStringLiteral("selectall"));
buttonLayout->addWidget(mEnableDebug);
connect(mEnableDebug, &QAbstractButton::clicked, this, &KDEApplicationDebugSettingPage::slotSelectAll);
mTurnOffDebug = new QPushButton(i18n("Turn Off Debug"));
mTurnOffDebug->setObjectName(QStringLiteral("deselectall"));
buttonLayout->addWidget(mTurnOffDebug);
connect(mTurnOffDebug, &QAbstractButton::clicked, this, &KDEApplicationDebugSettingPage::slotDeselectAll);
mTreeListWidgetSearchLine->installEventFilter(this);
}
......
......@@ -44,8 +44,8 @@ private Q_SLOTS:
private:
KDEApplicationTreeListWidget *mTreeListWidget;
KTreeWidgetSearchLine *mTreeListWidgetSearchLine;
QPushButton *mSelectAll;
QPushButton *mDeselectAll;
QPushButton *mEnableDebug;
QPushButton *mTurnOffDebug;
};
#endif // KDEAPPLICATIONDEBUGSETTINGPAGE_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment