fixed wrong example in the apidox, and all the code that was done by copy&paste from it, basically...

svn path=/trunk/KDE/kdegraphics/okular/; revision=705935
remotes/origin/KDE/4.0
Pino Toscano 19 years ago
parent ea48a1b7f4
commit 48b2cad049
  1. 4
      core/generator.h
  2. 4
      generators/chm/generator_chm.cpp
  3. 4
      generators/djvu/generator_djvu.cpp
  4. 4
      generators/tiff/generator_tiff.cpp
  5. 4
      generators/xps/generator_xps.cpp

@ -420,8 +420,8 @@ class OKULAR_EXPORT Generator : public QObject
* data like:
* @code
KAboutData *about = new KAboutData(
"generator_foo", // internal name (notes below)
"generator_foo", // i18n catalog (notes below)
"okular_foo", // internal name (notes below)
"okular_foo", // i18n catalog (notes below)
ki18n( "Foo Backend" ),
"0.1",
ki18n( "A foo backend" ),

@ -36,8 +36,8 @@ CHMGenerator::CHMGenerator()
setFeature( TextExtraction );
KAboutData *about = new KAboutData(
"generator_chm",
"generator_chm",
"okular_chm",
"okular_chm",
ki18n( "CHM Backend" ),
"0.1",
ki18n( "A Microsoft Windows help file renderer" ),

@ -67,8 +67,8 @@ DjVuGenerator::DjVuGenerator() : Okular::Generator(),
connect( m_djvu, SIGNAL( imageGenerated( int, const QImage & ) ), this, SLOT( djvuImageGenerated( int, const QImage & ) ) );
KAboutData *about = new KAboutData(
"generator_djvu",
"generator_djvu",
"okular_djvu",
"okular_djvu",
ki18n( "DjVu Backend" ),
"0.1",
ki18n( "A DjVu backend" ),

@ -51,8 +51,8 @@ TIFFGenerator::TIFFGenerator()
setFeature( Threaded );
KAboutData *about = new KAboutData(
"generator_tiff",
"generator_tiff",
"okular_tiff",
"okular_tiff",
ki18n( "TIFF Backend" ),
"0.1",
ki18n( "A TIFF backend" ),

@ -1335,8 +1335,8 @@ XpsGenerator::XpsGenerator()
setFeature( TextExtraction );
KAboutData *about = new KAboutData(
"generator_xps",
"generator_xps",
"okular_xps",
"okular_xps",
ki18n( "XPS Backend" ),
"0.1",
ki18n( "An XPS backend" ),

Loading…
Cancel
Save