DOX: improvements and fixes

SVN_SILENT

svn path=/trunk/playground/graphics/okular/; revision=625599
remotes/origin/KDE/4.0
Pino Toscano 19 years ago
parent 5b3606eb50
commit 75946e42e3
  1. 2
      core/annotations.h
  2. 6
      core/bookmarkmanager.h
  3. 20
      core/generator.h
  4. 7
      core/page.h
  5. 2
      core/sound.h

@ -183,8 +183,6 @@ class OKULAR_EXPORT Annotation
/** /**
* Sets the unique @p name of the annotation. * Sets the unique @p name of the annotation.
*
* The unique name should have the form 'okular-#NUMBER#'
*/ */
void setUniqueName( const QString &name ); void setUniqueName( const QString &name );

@ -22,6 +22,12 @@ namespace Okular {
class Document; class Document;
class DocumentViewport; class DocumentViewport;
/**
* @brief Bookmarks manager utility.
*
* This class is responsible for loading and saving the bookmarks using the
* proper format, and for working with them (eg querying, adding, removing).
*/
class OKULAR_EXPORT BookmarkManager : public QObject class OKULAR_EXPORT BookmarkManager : public QObject
{ {
Q_OBJECT Q_OBJECT

@ -126,18 +126,28 @@ class OKULAR_EXPORT ExportFormat
/** /**
* @short [Abstract Class] The information generator. * @short [Abstract Class] The information generator.
* *
* Most of class members are pure virtuals and they must be implemented to * Most of class members are virtuals and some of them pure virtual. The pure
* provide a class that builds contents (graphics and text). * virtuals provide the minimal functionalities for a Generator, that is being
* able to generate QPixmap for the Page 's of the Document.
* *
* Generation/query is requested by the 'Document' class only, and that * Implementing the other functions will make the Generator able to provide
* class stores the resulting data into 'Page's. The data will then be * more contents and/or functionalities (like text extraction).
* displayed by the GUI components (pageView, thumbnailList, etc..). *
* Generation/query is requested by the Document class only, and that
* class stores the resulting data into Page s. The data will then be
* displayed by the GUI components (PageView, ThumbnailList, etc..).
*
* @see PrintInterface, ConfigInterface, GuiInterface
*/ */
class OKULAR_EXPORT Generator : public QObject class OKULAR_EXPORT Generator : public QObject
{ {
Q_OBJECT Q_OBJECT
public: public:
/**
* Describe the possible optional features that a Generator can
* provide.
*/
enum GeneratorFeature enum GeneratorFeature
{ {
TextExtraction, ///< Whether the Generator can extract text from the document in the form of TextPage's TextExtraction, ///< Whether the Generator can extract text from the document in the form of TextPage's

@ -49,10 +49,13 @@ class OKULAR_EXPORT Page : public QObject
Q_OBJECT Q_OBJECT
public: public:
/**
* An action to be executed when particular events happen.
*/
enum PageAction enum PageAction
{ {
Opening, Opening, ///< An action to be executed when the page is "opened".
Closing Closing ///< An action to be executed when the page is "closed".
}; };
/** /**

@ -40,7 +40,7 @@ class OKULAR_EXPORT Sound
enum SoundEncoding { enum SoundEncoding {
Raw, ///< Is not encoded Raw, ///< Is not encoded
Signed, ///< Is encoded with twos-complement values Signed, ///< Is encoded with twos-complement values
muLaw, ///< Is µ-law encoded muLaw, ///< Is µ-law encoded
ALaw ///< Is A-law encoded ALaw ///< Is A-law encoded
}; };

Loading…
Cancel
Save