Changeset View
Changeset View
Standalone View
Standalone View
src/App.h
Show All 22 Lines | |||||
23 | 23 | | |||
24 | #include <QApplication> | 24 | #include <QApplication> | ||
25 | #include <QPointer> | 25 | #include <QPointer> | ||
26 | 26 | | |||
27 | namespace Amarok { | 27 | namespace Amarok { | ||
28 | class TrayIcon; | 28 | class TrayIcon; | ||
29 | } | 29 | } | ||
30 | 30 | | |||
31 | namespace ScriptConsoleNS{ | | |||
32 | class ScriptConsole; | | |||
33 | } | | |||
34 | | ||||
35 | namespace KIO { | 31 | namespace KIO { | ||
36 | class Job; | 32 | class Job; | ||
37 | } | 33 | } | ||
38 | 34 | | |||
39 | class MediaDeviceManager; | 35 | class MediaDeviceManager; | ||
40 | class MainWindow; | 36 | class MainWindow; | ||
41 | class QCommandLineParser; | 37 | class QCommandLineParser; | ||
42 | class QUrl; | 38 | class QUrl; | ||
Show All 39 Lines | 41 | { | |||
82 | 78 | | |||
83 | private: | 79 | private: | ||
84 | void handleFirstRun(); | 80 | void handleFirstRun(); | ||
85 | 81 | | |||
86 | // ATTRIBUTES | 82 | // ATTRIBUTES | ||
87 | QPointer<MainWindow> m_mainWindow; | 83 | QPointer<MainWindow> m_mainWindow; | ||
88 | Amarok::TrayIcon *m_tray; | 84 | Amarok::TrayIcon *m_tray; | ||
89 | MediaDeviceManager *m_mediaDeviceManager; | 85 | MediaDeviceManager *m_mediaDeviceManager; | ||
90 | QPointer<ScriptConsoleNS::ScriptConsole> m_scriptConsole; | | |||
91 | QCommandLineParser *m_args; | 86 | QCommandLineParser *m_args; | ||
92 | QString m_cwd; | 87 | QString m_cwd; | ||
93 | QStringList s_delayedAmarokUrls; | 88 | QStringList s_delayedAmarokUrls; | ||
94 | }; | 89 | }; | ||
95 | 90 | | |||
96 | #define pApp App::instance() | 91 | #define pApp App::instance() | ||
97 | 92 | | |||
98 | 93 | | |||
99 | #endif // AMAROK_APP_H | 94 | #endif // AMAROK_APP_H |