Changeset View
Changeset View
Standalone View
Standalone View
app/sidebar.h
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Line(s) | 73 | public: | |||
---|---|---|---|---|---|
74 | SideBar(QWidget* parent); | 74 | SideBar(QWidget* parent); | ||
75 | ~SideBar(); | 75 | ~SideBar(); | ||
76 | 76 | | |||
77 | void addPage(SideBarPage*); | 77 | void addPage(SideBarPage*); | ||
78 | 78 | | |||
79 | QString currentPage() const; | 79 | QString currentPage() const; | ||
80 | void setCurrentPage(const QString& name); | 80 | void setCurrentPage(const QString& name); | ||
81 | 81 | | |||
82 | void loadConfig(); | ||||
83 | | ||||
82 | QSize sizeHint() const Q_DECL_OVERRIDE; | 84 | QSize sizeHint() const Q_DECL_OVERRIDE; | ||
83 | 85 | | |||
84 | private: | 86 | private: | ||
85 | SideBarPrivate* const d; | 87 | SideBarPrivate* const d; | ||
86 | }; | 88 | }; | ||
87 | 89 | | |||
88 | } // namespace | 90 | } // namespace | ||
89 | 91 | | |||
90 | #endif /* SIDEBAR_H */ | 92 | #endif /* SIDEBAR_H */ |