Okular::SourceReference
#include <sourcereference.h>
Public Member Functions | |
SourceReference (const QString &fileName, int row, int column=0) | |
~SourceReference () | |
int | column () const |
QString | fileName () const |
int | row () const |
Detailed Description
Defines a source reference.
A source reference is a reference to one of the source(s) of the loaded document.
Definition at line 22 of file sourcereference.h.
Constructor & Destructor Documentation
◆ SourceReference()
SourceReference::SourceReference | ( | const QString & | fileName, |
int | row, | ||
int | column = 0 ) |
Creates a reference to the row row
and column column
of the source fileName
.
Definition at line 30 of file sourcereference.cpp.
◆ ~SourceReference()
SourceReference::~SourceReference | ( | ) |
Destroys the source reference.
Definition at line 38 of file sourcereference.cpp.
Member Function Documentation
◆ column()
int SourceReference::column | ( | ) | const |
Returns the column of the position in the source file.
Definition at line 53 of file sourcereference.cpp.
◆ fileName()
QString SourceReference::fileName | ( | ) | const |
Returns the filename of the source.
Definition at line 43 of file sourcereference.cpp.
◆ row()
int SourceReference::row | ( | ) | const |
Returns the row of the position in the source file.
Definition at line 48 of file sourcereference.cpp.
The documentation for this class was generated from the following files:
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.