Changeset View
Changeset View
Standalone View
Standalone View
libs/main/KoApplication.h
Show All 17 Lines | |||||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef __ko_app_h__ | 20 | #ifndef __ko_app_h__ | ||
21 | #define __ko_app_h__ | 21 | #define __ko_app_h__ | ||
22 | 22 | | |||
23 | #include <QApplication> | 23 | #include <QApplication> | ||
24 | 24 | | |||
25 | #include "komain_export.h" | 25 | #include "komain_export.h" | ||
26 | #include "KoMainWindow.h" | ||||
26 | 27 | | |||
27 | class KoPart; | 28 | class KoPart; | ||
28 | 29 | | |||
29 | class KoApplicationPrivate; | 30 | class KoApplicationPrivate; | ||
30 | class KAboutData; | 31 | class KAboutData; | ||
31 | 32 | | |||
32 | class QWidget; | 33 | class QWidget; | ||
33 | class QStringList; | 34 | class QStringList; | ||
▲ Show 20 Lines • Show All 98 Lines • ▼ Show 20 Line(s) | 122 | Q_SIGNALS: | |||
132 | 133 | | |||
133 | /** | 134 | /** | ||
134 | * emitted when an old document is closed. | 135 | * emitted when an old document is closed. | ||
135 | */ | 136 | */ | ||
136 | void documentClosed(const QString &ref); | 137 | void documentClosed(const QString &ref); | ||
137 | 138 | | |||
138 | private Q_SLOTS: | 139 | private Q_SLOTS: | ||
139 | void benchmarkLoadingFinished(); | 140 | void benchmarkLoadingFinished(); | ||
141 | void slotFilePrint(KoMainWindow *view); | ||||
142 | void slotExportToPdf(KoMainWindow *view); | ||||
140 | 143 | | |||
141 | protected: | 144 | protected: | ||
142 | 145 | | |||
143 | // Current application object. | 146 | // Current application object. | ||
144 | static KoApplication *KoApp; | 147 | static KoApplication *KoApp; | ||
145 | 148 | | |||
146 | private: | 149 | private: | ||
147 | bool initHack(); | 150 | bool initHack(); | ||
148 | KoApplicationPrivate * const d; | 151 | KoApplicationPrivate * const d; | ||
149 | class ResetStarting; | 152 | class ResetStarting; | ||
150 | friend class ResetStarting; | 153 | friend class ResetStarting; | ||
151 | }; | 154 | }; | ||
anthonyfieroni: It should be in KoApplicationPrivate then use as others d->pdfFileName | |||||
152 | 155 | | |||
153 | #endif | 156 | #endif |
It should be in KoApplicationPrivate then use as others d->pdfFileName