Changeset View
Changeset View
Standalone View
Standalone View
part.h
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | |||||
48 | 48 | | |||
49 | class KConfigDialog; | 49 | class KConfigDialog; | ||
50 | class KDirWatch; | 50 | class KDirWatch; | ||
51 | class KToggleAction; | 51 | class KToggleAction; | ||
52 | class KToggleFullScreenAction; | 52 | class KToggleFullScreenAction; | ||
53 | class QTemporaryFile; | 53 | class QTemporaryFile; | ||
54 | class QAction; | 54 | class QAction; | ||
55 | class QJsonObject; | 55 | class QJsonObject; | ||
56 | namespace KParts { class GUIActivateEvent; } | 56 | namespace KParts { | ||
57 | class GUIActivateEvent; | ||||
58 | class MainWindow; | ||||
59 | } | ||||
57 | 60 | | |||
58 | class FindBar; | 61 | class FindBar; | ||
59 | class ThumbnailList; | 62 | class ThumbnailList; | ||
60 | class PageSizeLabel; | 63 | class PageSizeLabel; | ||
61 | class PageView; | 64 | class PageView; | ||
62 | class PresentationWidget; | 65 | class PresentationWidget; | ||
63 | class ProgressWidget; | 66 | class ProgressWidget; | ||
64 | class SearchWidget; | 67 | class SearchWidget; | ||
▲ Show 20 Lines • Show All 192 Lines • ▼ Show 20 Line(s) | 259 | private: | |||
257 | bool aboutToShowContextMenu(QMenu *menu, QAction *action, QMenu *contextMenu); | 260 | bool aboutToShowContextMenu(QMenu *menu, QAction *action, QMenu *contextMenu); | ||
258 | void showMenu(const Okular::Page *page, const QPoint &point, const QString &bookmarkTitle = QString(), const Okular::DocumentViewport &vp = DocumentViewport(), bool showTOCActions = false); | 261 | void showMenu(const Okular::Page *page, const QPoint &point, const QString &bookmarkTitle = QString(), const Okular::DocumentViewport &vp = DocumentViewport(), bool showTOCActions = false); | ||
259 | bool eventFilter(QObject * watched, QEvent * event) override; | 262 | bool eventFilter(QObject * watched, QEvent * event) override; | ||
260 | Document::OpenResult doOpenFile(const QMimeType &mime, const QString &fileNameToOpen, bool *isCompressedFile); | 263 | Document::OpenResult doOpenFile(const QMimeType &mime, const QString &fileNameToOpen, bool *isCompressedFile); | ||
261 | bool openUrl( const QUrl &url, bool swapInsteadOfOpening ); | 264 | bool openUrl( const QUrl &url, bool swapInsteadOfOpening ); | ||
262 | 265 | | |||
263 | void setupViewerActions(); | 266 | void setupViewerActions(); | ||
264 | void setViewerShortcuts(); | 267 | void setViewerShortcuts(); | ||
265 | void setupActions(); | 268 | void setupActions( KParts::MainWindow * shell ); | ||
266 | 269 | | |||
267 | void setupPrint( QPrinter &printer ); | 270 | void setupPrint( QPrinter &printer ); | ||
268 | bool doPrint( QPrinter &printer ); | 271 | bool doPrint( QPrinter &printer ); | ||
269 | bool handleCompressed(QString &destpath, const QString &path, KCompressionDevice::CompressionType compressionType ); | 272 | bool handleCompressed(QString &destpath, const QString &path, KCompressionDevice::CompressionType compressionType ); | ||
270 | void rebuildBookmarkMenu( bool unplugActions = true ); | 273 | void rebuildBookmarkMenu( bool unplugActions = true ); | ||
271 | void updateAboutBackendAction(); | 274 | void updateAboutBackendAction(); | ||
272 | void unsetDummyMode(); | 275 | void unsetDummyMode(); | ||
273 | void slotRenameBookmark( const DocumentViewport &viewport ); | 276 | void slotRenameBookmark( const DocumentViewport &viewport ); | ||
▲ Show 20 Lines • Show All 155 Lines • Show Last 20 Lines |