Changeset View
Changeset View
Standalone View
Standalone View
part.h
Show First 20 Lines • Show All 159 Lines • ▼ Show 20 Line(s) | 151 | public Q_SLOTS: // dbus | |||
---|---|---|---|---|---|
160 | Q_SCRIPTABLE void slotPrintPreview(); | 160 | Q_SCRIPTABLE void slotPrintPreview(); | ||
161 | Q_SCRIPTABLE void slotPreviousPage(); | 161 | Q_SCRIPTABLE void slotPreviousPage(); | ||
162 | Q_SCRIPTABLE void slotNextPage(); | 162 | Q_SCRIPTABLE void slotNextPage(); | ||
163 | Q_SCRIPTABLE void slotGotoFirst(); | 163 | Q_SCRIPTABLE void slotGotoFirst(); | ||
164 | Q_SCRIPTABLE void slotGotoLast(); | 164 | Q_SCRIPTABLE void slotGotoLast(); | ||
165 | Q_SCRIPTABLE void slotTogglePresentation(); | 165 | Q_SCRIPTABLE void slotTogglePresentation(); | ||
166 | Q_SCRIPTABLE Q_NOREPLY void reload(); | 166 | Q_SCRIPTABLE Q_NOREPLY void reload(); | ||
167 | Q_SCRIPTABLE Q_NOREPLY void enableStartWithPrint(); | 167 | Q_SCRIPTABLE Q_NOREPLY void enableStartWithPrint(); | ||
168 | Q_SCRIPTABLE Q_NOREPLY void enableExitAfterPrint(); | ||||
168 | 169 | | |||
169 | Q_SIGNALS: | 170 | Q_SIGNALS: | ||
170 | void enablePrintAction(bool enable); | 171 | void enablePrintAction(bool enable); | ||
171 | void openSourceReference(const QString& absFileName, int line, int column); | 172 | void openSourceReference(const QString& absFileName, int line, int column); | ||
172 | void viewerMenuStateChange(bool enabled); | 173 | void viewerMenuStateChange(bool enabled); | ||
173 | void enableCloseAction(bool enable); | 174 | void enableCloseAction(bool enable); | ||
174 | void mimeTypeChanged(QMimeType mimeType); | 175 | void mimeTypeChanged(QMimeType mimeType); | ||
175 | void urlsDropped( const QList<QUrl>& urls ); | 176 | void urlsDropped( const QList<QUrl>& urls ); | ||
▲ Show 20 Lines • Show All 80 Lines • ▼ Show 20 Line(s) | 253 | private: | |||
256 | Document::OpenResult doOpenFile(const QMimeType &mime, const QString &fileNameToOpen, bool *isCompressedFile); | 257 | Document::OpenResult doOpenFile(const QMimeType &mime, const QString &fileNameToOpen, bool *isCompressedFile); | ||
257 | bool openUrl( const QUrl &url, bool swapInsteadOfOpening ); | 258 | bool openUrl( const QUrl &url, bool swapInsteadOfOpening ); | ||
258 | 259 | | |||
259 | void setupViewerActions(); | 260 | void setupViewerActions(); | ||
260 | void setViewerShortcuts(); | 261 | void setViewerShortcuts(); | ||
261 | void setupActions(); | 262 | void setupActions(); | ||
262 | 263 | | |||
263 | void setupPrint( QPrinter &printer ); | 264 | void setupPrint( QPrinter &printer ); | ||
264 | void doPrint( QPrinter &printer ); | 265 | bool doPrint( QPrinter &printer ); | ||
265 | bool handleCompressed(QString &destpath, const QString &path, KCompressionDevice::CompressionType compressionType ); | 266 | bool handleCompressed(QString &destpath, const QString &path, KCompressionDevice::CompressionType compressionType ); | ||
266 | void rebuildBookmarkMenu( bool unplugActions = true ); | 267 | void rebuildBookmarkMenu( bool unplugActions = true ); | ||
267 | void updateAboutBackendAction(); | 268 | void updateAboutBackendAction(); | ||
268 | void unsetDummyMode(); | 269 | void unsetDummyMode(); | ||
269 | void slotRenameBookmark( const DocumentViewport &viewport ); | 270 | void slotRenameBookmark( const DocumentViewport &viewport ); | ||
270 | void slotRemoveBookmark( const DocumentViewport &viewport ); | 271 | void slotRemoveBookmark( const DocumentViewport &viewport ); | ||
271 | void resetStartArguments(); | 272 | void resetStartArguments(); | ||
272 | void checkNativeSaveDataLoss(bool *out_wontSaveForms, bool *out_wontSaveAnnotations) const; | 273 | void checkNativeSaveDataLoss(bool *out_wontSaveForms, bool *out_wontSaveAnnotations) const; | ||
▲ Show 20 Lines • Show All 110 Lines • ▼ Show 20 Line(s) | 381 | #endif | |||
383 | 384 | | |||
384 | bool m_actionsSearched; | 385 | bool m_actionsSearched; | ||
385 | BrowserExtension *m_bExtension; | 386 | BrowserExtension *m_bExtension; | ||
386 | 387 | | |||
387 | QList<Okular::ExportFormat> m_exportFormats; | 388 | QList<Okular::ExportFormat> m_exportFormats; | ||
388 | QList<QAction*> m_bookmarkActions; | 389 | QList<QAction*> m_bookmarkActions; | ||
389 | bool m_cliPresentation; | 390 | bool m_cliPresentation; | ||
390 | bool m_cliPrint; | 391 | bool m_cliPrint; | ||
392 | bool m_cliPrintAndExit; | ||||
391 | QString m_addBookmarkText; | 393 | QString m_addBookmarkText; | ||
392 | QIcon m_addBookmarkIcon; | 394 | QIcon m_addBookmarkIcon; | ||
393 | 395 | | |||
394 | EmbedMode m_embedMode; | 396 | EmbedMode m_embedMode; | ||
395 | 397 | | |||
396 | QUrl m_realUrl; | 398 | QUrl m_realUrl; | ||
397 | 399 | | |||
398 | KXMLGUIClient *m_generatorGuiClient; | 400 | KXMLGUIClient *m_generatorGuiClient; | ||
Show All 17 Lines |