Changeset View
Changeset View
Standalone View
Standalone View
kcms/activities/SwitchingTab.h
Show All 30 Lines | |||||
31 | * SwitchingTab | 31 | * SwitchingTab | ||
32 | */ | 32 | */ | ||
33 | class SwitchingTab : public QWidget { | 33 | class SwitchingTab : public QWidget { | ||
34 | Q_OBJECT | 34 | Q_OBJECT | ||
35 | public: | 35 | public: | ||
36 | explicit SwitchingTab(QWidget *parent); | 36 | explicit SwitchingTab(QWidget *parent); | ||
37 | ~SwitchingTab() override; | 37 | ~SwitchingTab() override; | ||
38 | 38 | | |||
39 | bool isDefault(); | ||||
40 | | ||||
39 | public Q_SLOTS: | 41 | public Q_SLOTS: | ||
40 | void defaults(); | 42 | void defaults(); | ||
41 | void load(); | 43 | void load(); | ||
42 | void save(); | 44 | void save(); | ||
43 | 45 | | |||
44 | private Q_SLOTS: | 46 | private Q_SLOTS: | ||
45 | void shortcutChanged(const QKeySequence &sequence); | 47 | void shortcutChanged(const QKeySequence &sequence); | ||
46 | 48 | | |||
47 | Q_SIGNALS: | 49 | Q_SIGNALS: | ||
48 | void changed(); | 50 | void changed(); | ||
49 | 51 | | |||
50 | private: | 52 | private: | ||
51 | D_PTR; | 53 | D_PTR; | ||
52 | }; | 54 | }; | ||
53 | 55 | | |||
54 | #endif // SWITCHING_TAB_H | 56 | #endif // SWITCHING_TAB_H |