Commit e7ab62a3 authored by Laurent Montel's avatar Laurent Montel 😁

const'ify

parent b15f1604
......@@ -59,7 +59,7 @@ void ConfigureCustomSettingDialog::setRule(const QString &rule)
mCustomSettingWidget->setRule(rule);
}
QString ConfigureCustomSettingDialog::rule()
QString ConfigureCustomSettingDialog::rule() const
{
return mCustomSettingWidget->rule();
}
......@@ -31,7 +31,7 @@ public:
explicit ConfigureCustomSettingDialog(QWidget *parent = Q_NULLPTR);
~ConfigureCustomSettingDialog();
void setRule(const QString &rule);
QString rule();
QString rule() const;
private:
ConfigureCustomSettingWidget *mCustomSettingWidget;
};
......
......@@ -81,7 +81,7 @@ void ConfigureCustomSettingWidget::setRule(const QString &rule)
#endif
}
QString ConfigureCustomSettingWidget::rule()
QString ConfigureCustomSettingWidget::rule() const
{
QString ruleStr = mCategoryLineEdit->text().trimmed();
#if 0 //FIXME
......
......@@ -32,7 +32,7 @@ public:
explicit ConfigureCustomSettingWidget(QWidget *parent = Q_NULLPTR);
~ConfigureCustomSettingWidget();
QString rule();
QString rule() const;
void setRule(const QString &rule);
Q_SIGNALS:
......
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