Search for usage in LXR

Okular::SourceReference Class Reference

#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 33 of file sourcereference.cpp.

SourceReference::~SourceReference ( )

Destroys the source reference.

Definition at line 41 of file sourcereference.cpp.

Member Function Documentation

int SourceReference::column ( ) const

Returns the column of the position in the source file.

Definition at line 56 of file sourcereference.cpp.

QString SourceReference::fileName ( ) const

Returns the filename of the source.

Definition at line 46 of file sourcereference.cpp.

int SourceReference::row ( ) const

Returns the row of the position in the source file.

Definition at line 51 of file sourcereference.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Wed May 12 2021 22:35:30 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.