Okular
viewerinterface.h
50 virtual void showSourceLocation(const QString &fileName, int line, int column, bool showGraphically = true) = 0;
Abstract interface for controlling advanced features of a document viewer.
Definition viewerinterface.h:29
void viewerMenuStateChange(bool enabled)
The signal 'viewerMenuStateChange' is emitted whenever the state of the menu 'menu_okular_part_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...
virtual void clearLastShownSourceLocation()=0
Clear the source location that was set last in the viewer.
virtual void showSourceLocation(const QString &fileName, int line, int column, bool showGraphically=true)=0
Show the specified source location centrally in the viewer.
virtual void setShowSourceLocationsGraphically(bool b)=0
Allows to control whether source locations are shown graphically, or not.
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 QWidget * getSideContainer() const =0
Returns the sidebar container.
virtual bool openNewFilesInTabs() const =0
Should the shell that supports tabs open new files in tabs?
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:47:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:47:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.