Make `apply()` and `reset()` slots of `SettingsDialog` public
This commit is contained in:
parent
66b1a59e85
commit
f81672885c
|
@ -36,6 +36,10 @@ public:
|
||||||
void setCornerWidget(QWidget *widget, Qt::Corner corner = Qt::TopRightCorner);
|
void setCornerWidget(QWidget *widget, Qt::Corner corner = Qt::TopRightCorner);
|
||||||
void addHeadingWidget(QWidget *widget);
|
void addHeadingWidget(QWidget *widget);
|
||||||
|
|
||||||
|
public Q_SLOTS:
|
||||||
|
bool apply();
|
||||||
|
void reset();
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void applied();
|
void applied();
|
||||||
void resetted();
|
void resetted();
|
||||||
|
@ -47,9 +51,6 @@ private Q_SLOTS:
|
||||||
void currentCategoryChanged(const QModelIndex &index);
|
void currentCategoryChanged(const QModelIndex &index);
|
||||||
void updateTabWidget();
|
void updateTabWidget();
|
||||||
|
|
||||||
bool apply();
|
|
||||||
void reset();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::unique_ptr<Ui::SettingsDialog> m_ui;
|
std::unique_ptr<Ui::SettingsDialog> m_ui;
|
||||||
OptionCategoryModel *m_categoryModel;
|
OptionCategoryModel *m_categoryModel;
|
||||||
|
|
Loading…
Reference in New Issue