okular
#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 25 of file sourcereference.h.
Constructor & Destructor Documentation
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 32 of file sourcereference.cpp.
SourceReference::~SourceReference | ( | ) |
Destroys the source reference.
Definition at line 40 of file sourcereference.cpp.
Member Function Documentation
int SourceReference::column | ( | ) | const |
Returns the column of the position in the source file.
Definition at line 55 of file sourcereference.cpp.
QString SourceReference::fileName | ( | ) | const |
Returns the filename of the source.
Definition at line 45 of file sourcereference.cpp.
int SourceReference::row | ( | ) | const |
Returns the row of the position in the source file.
Definition at line 50 of file sourcereference.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.