Changeset View
Changeset View
Standalone View
Standalone View
src/MainWindow.h
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | |||||
61 | /** | 61 | /** | ||
62 | * @class MainWindow | 62 | * @class MainWindow | ||
63 | * @short The MainWindow widget class. | 63 | * @short The MainWindow widget class. | ||
64 | * | 64 | * | ||
65 | * This is the main window widget. | 65 | * This is the main window widget. | ||
66 | */ | 66 | */ | ||
67 | class AMAROK_EXPORT MainWindow : public KMainWindow | 67 | class AMAROK_EXPORT MainWindow : public KMainWindow | ||
68 | { | 68 | { | ||
69 | friend MainWindow* The::mainWindow(); | | |||
70 | | ||||
71 | Q_OBJECT | 69 | Q_OBJECT | ||
72 | 70 | | |||
73 | public: | 71 | public: | ||
74 | enum AmarokDockId { | 72 | enum AmarokDockId { | ||
75 | AmarokDockNavigation, | 73 | AmarokDockNavigation, | ||
76 | AmarokDockContext, | 74 | AmarokDockContext, | ||
77 | AmarokDockPlaylist | 75 | AmarokDockPlaylist | ||
78 | }; | 76 | }; | ||
▲ Show 20 Lines • Show All 127 Lines • ▼ Show 20 Line(s) | 195 | #endif // DEBUG_BUILD_TYPE | |||
206 | void createActions(); | 204 | void createActions(); | ||
207 | void createMenus(); | 205 | void createMenus(); | ||
208 | 206 | | |||
209 | KToggleAction* m_showMenuBar; | 207 | KToggleAction* m_showMenuBar; | ||
210 | 208 | | |||
211 | int m_lastBrowser; | 209 | int m_lastBrowser; | ||
212 | int m_searchField; | 210 | int m_searchField; | ||
213 | 211 | | |||
214 | static QPointer<MainWindow> s_instance; | | |||
215 | | ||||
216 | bool m_waitingForCd; | 212 | bool m_waitingForCd; | ||
217 | }; | 213 | }; | ||
218 | 214 | | |||
219 | 215 | | |||
220 | #endif //AMAROK_PLAYLISTWINDOW_H | 216 | #endif //AMAROK_PLAYLISTWINDOW_H | ||
221 | 217 | |