You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.3 KiB
36 lines
1.3 KiB
/*************************************************************************** |
|
* Copyright (C) 2013 by Azat Khuzhin <a3at.mail@gmail.com> * |
|
* * |
|
* This program is free software; you can redistribute it and/or modify * |
|
* it under the terms of the GNU General Public License as published by * |
|
* the Free Software Foundation; either version 2 of the License, or * |
|
* (at your option) any later version. * |
|
***************************************************************************/ |
|
|
|
|
|
#include "generator_txt.h" |
|
#include "converter.h" |
|
|
|
#include <kaboutdata.h> |
|
|
|
static KAboutData createAboutData() |
|
{ |
|
KAboutData aboutData( |
|
"okular_txt", |
|
"okular_txt", |
|
ki18n( "Txt Backend" ), |
|
"0.1", |
|
ki18n( "Txt backend." ), |
|
KAboutData::License_GPL, |
|
ki18n( "© 2013 Azat Khuzhin" ) |
|
); |
|
aboutData.addAuthor( ki18n( "Azat Khuzhin" ), KLocalizedString(), "a3at.mail@gmail.com" ); |
|
return aboutData; |
|
} |
|
|
|
OKULAR_EXPORT_PLUGIN( TxtGenerator, createAboutData() ) |
|
|
|
TxtGenerator::TxtGenerator( QObject *parent, const QVariantList &args ) |
|
: Okular::TextDocumentGenerator( new Txt::Converter, parent, args ) |
|
{ |
|
} |