aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/help/filtersettingspage.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-01-13 15:41:33 +0100
committerThorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>2009-01-13 16:03:55 +0100
commit59c8b933094b08513d1a7aadccb5b5c000972b72 (patch)
tree7d3ac5fa2f71635aef83b416bd58dddce42237a6 /src/plugins/help/filtersettingspage.h
parente6f7cb68a56e4531020273b73c06781536bd3158 (diff)
Modified IOptionsPage interface for Apply button
The previous interface wasn't sufficient to properly support the Apply button, since it didn't separate applying the changes from the cleanup phase. Designer settings pages still need some fixing. Fixes Apply button causing problems for certain plugins, for example the QuickOpen.
Diffstat (limited to 'src/plugins/help/filtersettingspage.h')
-rw-r--r--src/plugins/help/filtersettingspage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/help/filtersettingspage.h b/src/plugins/help/filtersettingspage.h
index 6eb12df1811..82d52ecf0b4 100644
--- a/src/plugins/help/filtersettingspage.h
+++ b/src/plugins/help/filtersettingspage.h
@@ -56,7 +56,8 @@ public:
QString trCategory() const;
QWidget *createPage(QWidget *parent);
- void finished(bool accepted);
+ void apply();
+ void finish() { }
bool applyChanges();