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 addHeadingWidget(QWidget *widget);
|
||||
|
||||
public Q_SLOTS:
|
||||
bool apply();
|
||||
void reset();
|
||||
|
||||
Q_SIGNALS:
|
||||
void applied();
|
||||
void resetted();
|
||||
|
@ -47,9 +51,6 @@ private Q_SLOTS:
|
|||
void currentCategoryChanged(const QModelIndex &index);
|
||||
void updateTabWidget();
|
||||
|
||||
bool apply();
|
||||
void reset();
|
||||
|
||||
private:
|
||||
std::unique_ptr<Ui::SettingsDialog> m_ui;
|
||||
OptionCategoryModel *m_categoryModel;
|
||||
|
|
Loading…
Reference in New Issue