Changeset View
Changeset View
Standalone View
Standalone View
conf/preferencesdialog.h
Show All 26 Lines | |||||
27 | 27 | | |||
28 | class PreferencesDialog : public KConfigDialog | 28 | class PreferencesDialog : public KConfigDialog | ||
29 | { | 29 | { | ||
30 | Q_OBJECT | 30 | Q_OBJECT | ||
31 | 31 | | |||
32 | public: | 32 | public: | ||
33 | PreferencesDialog( QWidget * parent, KConfigSkeleton * config, Okular::EmbedMode embedMode ); | 33 | PreferencesDialog( QWidget * parent, KConfigSkeleton * config, Okular::EmbedMode embedMode ); | ||
34 | 34 | | |||
35 | void switchToAccessibilityPage(); | ||||
35 | void switchToAnnotationsPage(); | 36 | void switchToAnnotationsPage(); | ||
36 | 37 | | |||
37 | protected: | 38 | protected: | ||
38 | // void updateSettings(); // Called when OK/Apply is pressed. | 39 | // void updateSettings(); // Called when OK/Apply is pressed. | ||
39 | // void updateWidgets(); // Called upon construction or when Reset is pressed | 40 | // void updateWidgets(); // Called upon construction or when Reset is pressed | ||
40 | // void updateWidgetsDefault(); // Called when Defaults button is pressed | 41 | // void updateWidgetsDefault(); // Called when Defaults button is pressed | ||
41 | // bool hasChanged(); // In order to correctly disable/enable Apply button | 42 | // bool hasChanged(); // In order to correctly disable/enable Apply button | ||
42 | // bool isDefault(); // In order to correctly disable/enable Defaults button | 43 | // bool isDefault(); // In order to correctly disable/enable Defaults button | ||
43 | 44 | | |||
44 | private: | 45 | private: | ||
45 | DlgGeneral * m_general; | 46 | DlgGeneral * m_general; | ||
46 | DlgPerformance * m_performance; | 47 | DlgPerformance * m_performance; | ||
47 | DlgAccessibility * m_accessibility; | 48 | DlgAccessibility * m_accessibility; | ||
48 | DlgPresentation * m_presentation; | 49 | DlgPresentation * m_presentation; | ||
49 | DlgAnnotations * m_annotations; | 50 | DlgAnnotations * m_annotations; | ||
50 | DlgEditor * m_editor; | 51 | DlgEditor * m_editor; | ||
51 | #ifdef OKULAR_DEBUG_CONFIGPAGE | 52 | #ifdef OKULAR_DEBUG_CONFIGPAGE | ||
52 | DlgDebug * m_debug; | 53 | DlgDebug * m_debug; | ||
53 | #endif | 54 | #endif | ||
54 | 55 | | |||
56 | KPageWidgetItem * m_accessibilityPage; | ||||
55 | KPageWidgetItem * m_annotationsPage; | 57 | KPageWidgetItem * m_annotationsPage; | ||
56 | }; | 58 | }; | ||
57 | 59 | | |||
58 | #endif | 60 | #endif |