Changeset View
Changeset View
Standalone View
Standalone View
src/config/configdialog.h
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | |||||
65 | * Other than the above code, each class that has settings in the dialog should | 65 | * Other than the above code, each class that has settings in the dialog should | ||
66 | * have a loadSettings() type slot to read settings and perform any | 66 | * have a loadSettings() type slot to read settings and perform any | ||
67 | * necessary changes. | 67 | * necessary changes. | ||
68 | * | 68 | * | ||
69 | * For dialog appearance options (like buttons, default button, ...) please see | 69 | * For dialog appearance options (like buttons, default button, ...) please see | ||
70 | * @see KPageDialog | 70 | * @see KPageDialog | ||
71 | * | 71 | * | ||
72 | * @see KConfigSkeleton | 72 | * @see KConfigSkeleton | ||
73 | * @author Waldo Bastian <bastian@kde.org> | 73 | * @author Waldo Bastian <bastian\@kde.org> | ||
74 | */ | 74 | */ | ||
75 | class ConfigDialog : public KPageDialog | 75 | class ConfigDialog : public KPageDialog | ||
76 | { | 76 | { | ||
77 | Q_OBJECT | 77 | Q_OBJECT | ||
78 | 78 | | |||
79 | Q_SIGNALS: | 79 | Q_SIGNALS: | ||
80 | /** | 80 | /** | ||
81 | * A widget in the dialog was modified. | 81 | * A widget in the dialog was modified. | ||
Show All 23 Lines | 92 | public: | |||
105 | ConfigDialog(QWidget *parent, const QString &name, | 105 | ConfigDialog(QWidget *parent, const QString &name, | ||
106 | KCoreConfigSkeleton *config); | 106 | KCoreConfigSkeleton *config); | ||
107 | 107 | | |||
108 | /** | 108 | /** | ||
109 | * Deconstructor, removes name from the list of open dialogs. | 109 | * Deconstructor, removes name from the list of open dialogs. | ||
110 | * Deletes private class. | 110 | * Deletes private class. | ||
111 | * @see exists() | 111 | * @see exists() | ||
112 | */ | 112 | */ | ||
113 | ~ConfigDialog(); | 113 | ~ConfigDialog() override; | ||
114 | 114 | | |||
115 | /** | 115 | /** | ||
116 | * Adds page to the dialog and to KConfigDialogManager. When an | 116 | * Adds page to the dialog and to KConfigDialogManager. When an | ||
117 | * application is done adding pages show() should be called to | 117 | * application is done adding pages show() should be called to | ||
118 | * display the dialog. | 118 | * display the dialog. | ||
119 | * @param page - Pointer to the page that is to be added to the dialog. | 119 | * @param page - Pointer to the page that is to be added to the dialog. | ||
120 | * This object is reparented. | 120 | * This object is reparented. | ||
121 | * @param itemName - Name of the page. | 121 | * @param itemName - Name of the page. | ||
▲ Show 20 Lines • Show All 183 Lines • Show Last 20 Lines |