mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 02:45:38 +00:00
Generator porting (mostly kaboutdata)
This commit is contained in:
parent
51e5589e71
commit
7261d5d45a
|
@ -10,7 +10,7 @@
|
|||
#include "generator_comicbook.h"
|
||||
|
||||
#include <QtGui/QPainter>
|
||||
#include <QtGui/QPrinter>
|
||||
#include <QtPrintSupport/QPrinter>
|
||||
|
||||
#include <kaboutdata.h>
|
||||
#include <klocale.h>
|
||||
|
@ -22,15 +22,14 @@
|
|||
static KAboutData createAboutData()
|
||||
{
|
||||
KAboutData aboutData(
|
||||
"okular_comicbook",
|
||||
"okular_comicbook",
|
||||
ki18n( "ComicBook Backend" ),
|
||||
"0.4",
|
||||
ki18n( "A renderer for various comic book formats" ),
|
||||
KAboutData::License_GPL,
|
||||
ki18n( "© 2007-2008 Tobias Koenig" )
|
||||
QStringLiteral("okular_comicbook"),
|
||||
i18n( "ComicBook Backend" ),
|
||||
QStringLiteral("0.4"),
|
||||
i18n( "A renderer for various comic book formats" ),
|
||||
KAboutLicense::GPL,
|
||||
i18n( "© 2007-2008 Tobias Koenig" )
|
||||
);
|
||||
aboutData.addAuthor( ki18n( "Tobias Koenig" ), KLocalizedString(), "tokoe@kde.org" );
|
||||
aboutData.addAuthor( QStringLiteral("Tobias Koenig" ), QString(), QStringLiteral("tokoe@kde.org") );
|
||||
|
||||
return aboutData;
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#define _FONT_H
|
||||
|
||||
#include <QHash>
|
||||
|
||||
#include <QtCore/qstring.h>
|
||||
|
||||
#include <cstdio>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include <QHash>
|
||||
#include <QMap>
|
||||
#include <QVector>
|
||||
|
||||
#include <QtCore/qstring.h>
|
||||
|
||||
class fontPool;
|
||||
class pageSize;
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <QVector>
|
||||
#include <QTimer>
|
||||
#include <QMutex>
|
||||
#include <QtGui/QPrinter>
|
||||
#include <QtPrintSupport/QPrinter>
|
||||
|
||||
class Anchor;
|
||||
class DocumentWidget;
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include <QEventLoop>
|
||||
#include <QFileInfo>
|
||||
#include <QLabel>
|
||||
#include <QtGui/QPrinter>
|
||||
#include <QtPrintSupport/QPrinter>
|
||||
|
||||
#include <cassert>
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <ksharedptr.h>
|
||||
|
||||
#include <QObject>
|
||||
#include <QtGui/QPrinter>
|
||||
#include <QtPrintSupport/QPrinter>
|
||||
|
||||
|
||||
class dviRenderer;
|
||||
|
|
|
@ -49,13 +49,12 @@ static const int DviDebug = 4713;
|
|||
static KAboutData createAboutData()
|
||||
{
|
||||
KAboutData aboutData(
|
||||
"okular_dvi",
|
||||
"okular_dvi",
|
||||
ki18n( "DVI Backend" ),
|
||||
"0.3.6",
|
||||
ki18n( "A DVI file renderer" ),
|
||||
KAboutData::License_GPL,
|
||||
ki18n( "© 2006 Luigi Toscano" )
|
||||
QStringLiteral("okular_dvi"),
|
||||
i18n( "DVI Backend" ),
|
||||
QStringLiteral("0.3.6"),
|
||||
i18n( "A DVI file renderer" ),
|
||||
KAboutLicense::GPL,
|
||||
i18n( "© 2006 Luigi Toscano" )
|
||||
);
|
||||
return aboutData;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <QApplication>
|
||||
#include <QColor>
|
||||
#include <QCustomEvent>
|
||||
#include <QtGui/qevent.h>
|
||||
#include <QHash>
|
||||
#include <QObject>
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "faxdocument.h"
|
||||
|
||||
#include <QtGui/QPainter>
|
||||
#include <QtGui/QPrinter>
|
||||
#include <QtPrintSupport/QPrinter>
|
||||
|
||||
#include <kaboutdata.h>
|
||||
#include <klocale.h>
|
||||
|
@ -23,15 +23,14 @@
|
|||
static KAboutData createAboutData()
|
||||
{
|
||||
KAboutData aboutData(
|
||||
"okular_fax",
|
||||
"okular_fax",
|
||||
ki18n( "Fax Backend" ),
|
||||
"0.1.1",
|
||||
ki18n( "A G3/G4 fax document backend" ),
|
||||
KAboutData::License_GPL,
|
||||
ki18n( "© 2008 Tobias Koenig" )
|
||||
QStringLiteral("okular_fax"),
|
||||
i18n( "Fax Backend" ),
|
||||
QStringLiteral("0.1.1"),
|
||||
i18n( "A G3/G4 fax document backend" ),
|
||||
KAboutLicense::GPL,
|
||||
i18n( "© 2008 Tobias Koenig" )
|
||||
);
|
||||
aboutData.addAuthor( ki18n( "Tobias Koenig" ), KLocalizedString(), "tokoe@kde.org" );
|
||||
aboutData.addAuthor( QStringLiteral( "Tobias Koenig" ), QString(), QStringLiteral("tokoe@kde.org") );
|
||||
|
||||
return aboutData;
|
||||
}
|
||||
|
|
|
@ -18,15 +18,14 @@
|
|||
static KAboutData createAboutData()
|
||||
{
|
||||
KAboutData aboutData(
|
||||
"okular_fictionbook",
|
||||
"okular_fictionbook",
|
||||
ki18n( "Fiction Book Backend" ),
|
||||
"0.1.5",
|
||||
ki18n( "A renderer for FictionBook eBooks" ),
|
||||
KAboutData::License_GPL,
|
||||
ki18n( "© 2007-2008 Tobias Koenig" )
|
||||
QStringLiteral("okular_fictionbook"),
|
||||
i18n( "Fiction Book Backend" ),
|
||||
QStringLiteral("0.1.5"),
|
||||
i18n( "A renderer for FictionBook eBooks" ),
|
||||
KAboutLicense::GPL,
|
||||
i18n( "© 2007-2008 Tobias Koenig" )
|
||||
);
|
||||
aboutData.addAuthor( ki18n( "Tobias Koenig" ), KLocalizedString(), "tokoe@kde.org" );
|
||||
aboutData.addAuthor( QStringLiteral( "Tobias Koenig" ), QString(), QStringLiteral("tokoe@kde.org") );
|
||||
|
||||
return aboutData;
|
||||
}
|
||||
|
|
|
@ -19,15 +19,14 @@
|
|||
static KAboutData createAboutData()
|
||||
{
|
||||
KAboutData aboutData(
|
||||
"okular_ooo",
|
||||
"okular_ooo",
|
||||
ki18n( "OpenDocument Text Backend" ),
|
||||
"0.2.3",
|
||||
ki18n( "A renderer for OpenDocument Text documents" ),
|
||||
KAboutData::License_GPL,
|
||||
ki18n( "© 2006-2008 Tobias Koenig" )
|
||||
QStringLiteral("okular_ooo"),
|
||||
i18n( "OpenDocument Text Backend" ),
|
||||
QStringLiteral("0.2.3"),
|
||||
i18n( "A renderer for OpenDocument Text documents" ),
|
||||
KAboutLicense::GPL,
|
||||
i18n( "© 2006-2008 Tobias Koenig" )
|
||||
);
|
||||
aboutData.addAuthor( ki18n( "Tobias Koenig" ), KLocalizedString(), "tokoe@kde.org" );
|
||||
aboutData.addAuthor( QStringLiteral( "Tobias Koenig" ), QString(), QStringLiteral("tokoe@kde.org") );
|
||||
|
||||
return aboutData;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <QtCore/QFile>
|
||||
#include <QtGui/QAbstractTextDocumentLayout>
|
||||
#include <QtGui/QPainter>
|
||||
#include <QtGui/QPrinter>
|
||||
#include <QtPrintSupport/QPrinter>
|
||||
#include <QtGui/QTextDocument>
|
||||
|
||||
#include <kaboutdata.h>
|
||||
|
@ -23,15 +23,14 @@
|
|||
static KAboutData createAboutData()
|
||||
{
|
||||
KAboutData aboutData(
|
||||
"okular_plucker",
|
||||
"okular_plucker",
|
||||
ki18n( "Plucker Document Backend" ),
|
||||
"0.1.1",
|
||||
ki18n( "A renderer for Plucker eBooks" ),
|
||||
KAboutData::License_GPL,
|
||||
ki18n( "© 2007-2008 Tobias Koenig" )
|
||||
QStringLiteral("okular_plucker"),
|
||||
i18n( "Plucker Document Backend" ),
|
||||
QStringLiteral("0.1.1"),
|
||||
i18n( "A renderer for Plucker eBooks" ),
|
||||
KAboutLicense::GPL,
|
||||
i18n( "© 2007-2008 Tobias Koenig" )
|
||||
);
|
||||
aboutData.addAuthor( ki18n( "Tobias Koenig" ), KLocalizedString(), "tokoe@kde.org" );
|
||||
aboutData.addAuthor( QStringLiteral("Tobias Koenig" ), QString(), QStringLiteral("tokoe@kde.org") );
|
||||
|
||||
return aboutData;
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include <qimage.h>
|
||||
#include <qlist.h>
|
||||
#include <qpainter.h>
|
||||
#include <QtGui/QPrinter>
|
||||
#include <QtPrintSupport/QPrinter>
|
||||
|
||||
#include <kaboutdata.h>
|
||||
#include <kdebug.h>
|
||||
|
@ -161,16 +161,15 @@ static Okular::Rotation readTiffRotation( TIFF *tiff )
|
|||
static KAboutData createAboutData()
|
||||
{
|
||||
KAboutData aboutData(
|
||||
"okular_tiff",
|
||||
"okular_tiff",
|
||||
ki18n( "TIFF Backend" ),
|
||||
"0.2.4",
|
||||
ki18n( "A TIFF backend" ),
|
||||
KAboutData::License_GPL,
|
||||
ki18n( "© 2006-2008 Pino Toscano" ),
|
||||
ki18nc( "This represents the libtiff version, as string with copyrights as well; can be left as-is.", "%1" ).subs( TIFFGetVersion() )
|
||||
QStringLiteral("okular_tiff"),
|
||||
i18n( "TIFF Backend" ),
|
||||
QStringLiteral("0.2.4"),
|
||||
i18n( "A TIFF backend" ),
|
||||
KAboutLicense::GPL,
|
||||
i18n( "© 2006-2008 Pino Toscano" ),
|
||||
i18nc( "This represents the libtiff version, as string with copyrights as well; can be left as-is.", "%1" ).arg( TIFFGetVersion() )
|
||||
);
|
||||
aboutData.addAuthor( ki18n( "Pino Toscano" ), KLocalizedString(), "pino@kde.org" );
|
||||
aboutData.addAuthor( QStringLiteral( "Pino Toscano" ), QString(), QStringLiteral("pino@kde.org") );
|
||||
return aboutData;
|
||||
}
|
||||
|
||||
|
|
|
@ -42,19 +42,18 @@ const int XpsDebug = 4712;
|
|||
static KAboutData createAboutData()
|
||||
{
|
||||
KAboutData aboutData(
|
||||
"okular_xps",
|
||||
"okular_xps",
|
||||
ki18n( "XPS Backend" ),
|
||||
"0.3.3",
|
||||
ki18n( "An XPS backend" ),
|
||||
KAboutData::License_GPL,
|
||||
ki18n( "© 2006-2007 Brad Hards\n"
|
||||
QStringLiteral("okular_xps"),
|
||||
i18n( "XPS Backend" ),
|
||||
QStringLiteral("0.3.3"),
|
||||
i18n( "An XPS backend" ),
|
||||
KAboutLicense::GPL,
|
||||
i18n( "© 2006-2007 Brad Hards\n"
|
||||
"© 2007 Jiri Klement\n"
|
||||
"© 2008 Pino Toscano" )
|
||||
);
|
||||
aboutData.addAuthor( ki18n( "Brad Hards" ), KLocalizedString(), "bradh@frogmouth.net" );
|
||||
aboutData.addAuthor( ki18n( "Jiri Klement" ), KLocalizedString(), "jiri.klement@gmail.com" );
|
||||
aboutData.addAuthor( ki18n( "Pino Toscano" ), KLocalizedString(), "pino@kde.org" );
|
||||
aboutData.addAuthor( QStringLiteral( "Brad Hards" ), QString(), QStringLiteral("bradh@frogmouth.net") );
|
||||
aboutData.addAuthor( QStringLiteral( "Jiri Klement" ), QString(), QStringLiteral("jiri.klement@gmail.com") );
|
||||
aboutData.addAuthor( QStringLiteral( "Pino Toscano" ), QString(), QStringLiteral("pino@kde.org") );
|
||||
return aboutData;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue