constness for document()

svn path=/trunk/playground/graphics/okular/; revision=643431
remotes/origin/KDE/4.0
Pino Toscano 19 years ago
parent 4da2254d24
commit 1117200950
  1. 2
      core/generator.cpp
  2. 2
      core/generator.h

@ -284,7 +284,7 @@ void Generator::signalPixmapRequestDone( PixmapRequest * request )
Q_ASSERT( !"No document set for generator in signalPixmapRequestDone!" );
}
Document * Generator::document() const
const Document * Generator::document() const
{
return d->m_document;
}

@ -390,7 +390,7 @@ class OKULAR_EXPORT Generator : public QObject
/**
* Returns a pointer to the document.
*/
Document * document() const;
const Document * document() const;
/**
* Toggle the @p feature .

Loading…
Cancel
Save