okular
viewerinterface.h
Go to the documentation of this file.
40 virtual void showSourceLocation(const QString& fileName, int line, int column, bool showGraphically = true) = 0;
virtual void showSourceLocation(const QString &fileName, int line, int column, bool showGraphically=true)=0
Show the specified source location centrally in the viewer.
void openSourceReference(const QString &absFileName, int line, int column)
The signal 'openSourceReference' is emitted whenever the user has triggered a source reference in the...
void viewerMenuStateChange(bool enabled)
The signal 'viewerMenuStateChange' is emitted whenever the state of the menu 'menu_okular_part_viewer...
virtual void clearLastShownSourceLocation()=0
Clear the source location that was set last in the viewer.
virtual bool isWatchFileModeEnabled() const =0
Returns true iff the watch file mode is enabled.
virtual void setWatchFileModeEnabled(bool b)=0
Allows to enable or disable the watch file mode.
virtual bool areSourceLocationsShownGraphically() const =0
Returns true iff source locations are shown graphically.
virtual bool openNewFilesInTabs() const =0
Should the shell that supports tabs pen new files in tabs?
virtual void setShowSourceLocationsGraphically(bool b)=0
Allows to control whether source locations are shown graphically, or not.
Abstract interface for controlling advanced features of a document viewer.
Definition: viewerinterface.h:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.