1 /***************************************************************************
2 * Copyright (C) 2007 by Pino Toscano <pino@kde.org> *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 ***************************************************************************/
10 #ifndef OKULAR_SOURCEREFERENCE_H
11 #define OKULAR_SOURCEREFERENCE_H
13 #include <okular/core/okular_export.h>
20 * @short Defines a source reference
22 * A source reference is a reference to one of the source(s) of the loaded
25 class OKULAR_EXPORT SourceReference
29 * Creates a reference to the row @p row and column @p column of the
32 SourceReference( const QString
&fileName
, int row
, int column
= 0 );
35 * Destroys the source reference.
40 * Returns the filename of the source.
42 QString
fileName() const;
45 * Returns the row of the position in the source file.
50 * Returns the column of the position in the source file.
58 Q_DISABLE_COPY( SourceReference
)