|
@@ -111,6 +111,12 @@ public Q_SLOTS:
|
|
/// of the properties when they were registered using registerProperty().
|
|
/// of the properties when they were registered using registerProperty().
|
|
virtual void restoreDefaultSettings();
|
|
virtual void restoreDefaultSettings();
|
|
|
|
|
|
|
|
+ /// Reload all properties from disk.
|
|
|
|
+ ///
|
|
|
|
+ /// This reloads all properties from their respective QSettings instance(s).
|
|
|
|
+ /// The previous values are discarded (as in resetSettings()).
|
|
|
|
+ virtual void reloadSettings();
|
|
|
|
+
|
|
Q_SIGNALS:
|
|
Q_SIGNALS:
|
|
/// Fired anytime a property is modified.
|
|
/// Fired anytime a property is modified.
|
|
void settingChanged(const QString& key, const QVariant& value);
|
|
void settingChanged(const QString& key, const QVariant& value);
|
|
@@ -134,7 +140,6 @@ protected Q_SLOTS:
|
|
protected:
|
|
protected:
|
|
QScopedPointer<ctkSettingsPanelPrivate> d_ptr;
|
|
QScopedPointer<ctkSettingsPanelPrivate> d_ptr;
|
|
|
|
|
|
- virtual void updateProperties();
|
|
|
|
private:
|
|
private:
|
|
Q_DECLARE_PRIVATE(ctkSettingsPanel);
|
|
Q_DECLARE_PRIVATE(ctkSettingsPanel);
|
|
Q_DISABLE_COPY(ctkSettingsPanel);
|
|
Q_DISABLE_COPY(ctkSettingsPanel);
|