mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
More KAboutData stuff. Few tyops fixed.
"KFax" I didn't mess with because it's in complete chaos. svn path=/trunk/kdegraphics/kdvi/; revision=38971
This commit is contained in:
parent
a99cc84a94
commit
e5d36937e1
2 changed files with 19 additions and 4 deletions
|
@ -39,7 +39,7 @@ noinst_HEADERS = c-openmx.h dvi.h dviwin.h kdvi.h marklist.h oconfig.h\
|
|||
scrbox.h xdvi.h kdvi_miniwidget.h kdvi_view.h
|
||||
|
||||
messages:
|
||||
$(XGETTEXT) -C -ki18n -x $(includedir)/kde.pot *.cpp && mv messages.po $(podir)/kdvi.pot
|
||||
$(XGETTEXT) -C -kI18N_NOOP -ki18n -x $(includedir)/kde.pot *.cpp && mv messages.po $(podir)/kdvi.pot
|
||||
|
||||
apps_DATA = kdvi.desktop
|
||||
|
||||
|
|
21
main.cpp
21
main.cpp
|
@ -5,6 +5,7 @@
|
|||
#include <kdvi.h>
|
||||
#include <kconfig.h>
|
||||
#include <qfile.h>
|
||||
#include <kaboutdata.h>
|
||||
|
||||
static const char *description =
|
||||
I18N_NOOP("KDE DVI viewer");
|
||||
|
@ -18,9 +19,23 @@ static KCmdLineOptions options[] =
|
|||
|
||||
int main( int argc, char **argv )
|
||||
{
|
||||
KCmdLineArgs::init( argc, argv, "kdvi", description, KDVI_VERSION);
|
||||
|
||||
KCmdLineArgs::addCmdLineOptions( options );
|
||||
KAboutData aboutData( "kdvi", I18N_NOOP("KDVI"),
|
||||
KDVI_VERSION, description, KAboutData::GPL,
|
||||
"(c) 1999-2000, The Various KDVI and KDE Developers");
|
||||
aboutData.addAuthor("Markku Hihnala",0, "mah@ee.oulu.fi");
|
||||
aboutData.addAuthor("Bernd Johannes Wuebben",0, "wuebben@math.cornell.edu");
|
||||
aboutData.addAuthor("Robert Williams",0, "rwilliams@jrcmaui.com");
|
||||
aboutData.addAuthor("Eric Cooper");
|
||||
aboutData.addAuthor("Bob Scheifler");
|
||||
aboutData.addAuthor("Paal Kvamme");
|
||||
aboutData.addAuthor("H\\aa vard Eidnes");
|
||||
aboutData.addAuthor("Mark Eichin");
|
||||
aboutData.addAuthor("Paul Vojta");
|
||||
aboutData.addAuthor("Jeffrey Lee");
|
||||
aboutData.addAuthor("Donald Richardson");
|
||||
|
||||
KCmdLineArgs::init( argc, argv, &aboutData );
|
||||
KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
|
||||
|
||||
KApplication a;
|
||||
kdvi *k;
|
||||
|
|
Loading…
Reference in a new issue