• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdegraphics
  • Sitemap
  • Contact Us
 

okular

sourcereference.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2007 by Pino Toscano <pino@kde.org>                     *
00003  *                                                                         *
00004  *   This program is free software; you can redistribute it and/or modify  *
00005  *   it under the terms of the GNU General Public License as published by  *
00006  *   the Free Software Foundation; either version 2 of the License, or     *
00007  *   (at your option) any later version.                                   *
00008  ***************************************************************************/
00009 
00010 #include "sourcereference.h"
00011 
00012 #include <QtCore/QString>
00013 
00014 using namespace Okular;
00015 
00016 class SourceReference::Private
00017 {
00018     public:
00019         Private()
00020             : row( 0 ), column( 0 )
00021         {
00022         }
00023 
00024         QString filename;
00025         int row;
00026         int column;
00027 };
00028 
00029 SourceReference::SourceReference( const QString &fileName, int row, int column )
00030     : d( new Private )
00031 {
00032     d->filename = fileName;
00033     d->row = row;
00034     d->column = column;
00035 }
00036 
00037 SourceReference::~SourceReference()
00038 {
00039     delete d;
00040 }
00041 
00042 QString SourceReference::fileName() const
00043 {
00044     return d->filename;
00045 }
00046 
00047 int SourceReference::row() const
00048 {
00049     return d->row;
00050 }
00051 
00052 int SourceReference::column() const
00053 {
00054     return d->column;
00055 }
00056 

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdegraphics

Skip menu "kdegraphics"
  • okular
Generated for kdegraphics by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal