Okular::SourceReference

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 22 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 30 of file sourcereference.cpp.

SourceReference::~SourceReference ( )

Destroys the source reference.

Definition at line 38 of file sourcereference.cpp.

Member Function Documentation

int SourceReference::column ( ) const

Returns the column of the position in the source file.

Definition at line 53 of file sourcereference.cpp.

QString SourceReference::fileName ( ) const

Returns the filename of the source.

Definition at line 43 of file sourcereference.cpp.

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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Oct 23 2021 22:36:42 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.