Changeset View
Changeset View
Standalone View
Standalone View
part.h
Show First 20 Lines • Show All 248 Lines • ▼ Show 20 Line(s) | 240 | public Q_SLOTS: | |||
---|---|---|---|---|---|
249 | void errorMessage( const QString &message, int duration = 0 ); | 249 | void errorMessage( const QString &message, int duration = 0 ); | ||
250 | void warningMessage( const QString &message, int duration = -1 ); | 250 | void warningMessage( const QString &message, int duration = -1 ); | ||
251 | void noticeMessage( const QString &message, int duration = -1 ); | 251 | void noticeMessage( const QString &message, int duration = -1 ); | ||
252 | 252 | | |||
253 | void moveSplitter( const int sideWidgetSize ); | 253 | void moveSplitter( const int sideWidgetSize ); | ||
254 | 254 | | |||
255 | private: | 255 | private: | ||
256 | bool aboutToShowContextMenu(QMenu *menu, QAction *action, QMenu *contextMenu); | 256 | bool aboutToShowContextMenu(QMenu *menu, QAction *action, QMenu *contextMenu); | ||
257 | void showMenu(const Okular::Page *page, const QPoint &point, const QString &bookmarkTitle = QString(), const Okular::DocumentViewport &vp = DocumentViewport()); | 257 | void showMenu(const Okular::Page *page, const QPoint &point, const QString &bookmarkTitle = QString(), const Okular::DocumentViewport &vp = DocumentViewport(), bool showTOCActions = false); | ||
258 | bool eventFilter(QObject * watched, QEvent * event) override; | 258 | bool eventFilter(QObject * watched, QEvent * event) override; | ||
259 | Document::OpenResult doOpenFile(const QMimeType &mime, const QString &fileNameToOpen, bool *isCompressedFile); | 259 | Document::OpenResult doOpenFile(const QMimeType &mime, const QString &fileNameToOpen, bool *isCompressedFile); | ||
260 | bool openUrl( const QUrl &url, bool swapInsteadOfOpening ); | 260 | bool openUrl( const QUrl &url, bool swapInsteadOfOpening ); | ||
261 | 261 | | |||
262 | void setupViewerActions(); | 262 | void setupViewerActions(); | ||
263 | void setViewerShortcuts(); | 263 | void setViewerShortcuts(); | ||
264 | void setupActions(); | 264 | void setupActions(); | ||
265 | 265 | | |||
▲ Show 20 Lines • Show All 154 Lines • Show Last 20 Lines |