diff options
Diffstat (limited to 'krecipes/src/main.cpp')
-rw-r--r-- | krecipes/src/main.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/krecipes/src/main.cpp b/krecipes/src/main.cpp index 664a2ce..d7dce5c 100644 --- a/krecipes/src/main.cpp +++ b/krecipes/src/main.cpp @@ -15,9 +15,9 @@ #include <iostream> #include <kuniqueapplication.h> -#include <kaboutdata.h> -#include <kcmdlineargs.h> -#include <klocale.h> +#include <tdeaboutdata.h> +#include <tdecmdlineargs.h> +#include <tdelocale.h> #include "convert_sqlite3.h" @@ -26,7 +26,7 @@ static const char *description = static const char *version = "1.0-beta1"; -static KCmdLineOptions options[] = +static TDECmdLineOptions options[] = { { "convert-sqlite3", I18N_NOOP("Convert the current SQLite 2.x database to SQLite 3 and exit") , 0 }, { 0, 0, 0 } @@ -34,8 +34,8 @@ static KCmdLineOptions options[] = int main( int argc, char **argv ) { - KAboutData about( "krecipes", I18N_NOOP( "Krecipes" ), version, description, - KAboutData::License_GPL, I18N_NOOP( "(C) 2003 Unai Garro\n(C) 2004-2006 Jason Kivlighn\n\n___________\n\n\nThis product is RecipeML compatible.\n You can get more information about this file format in:\n http://www.formatdata.com/recipeml" ), 0, 0, "jkivlighn@gmail.com" ); + TDEAboutData about( "krecipes", I18N_NOOP( "Krecipes" ), version, description, + TDEAboutData::License_GPL, I18N_NOOP( "(C) 2003 Unai Garro\n(C) 2004-2006 Jason Kivlighn\n\n___________\n\n\nThis product is RecipeML compatible.\n You can get more information about this file format in:\n http://www.formatdata.com/recipeml" ), 0, 0, "jkivlighn@gmail.com" ); about.addAuthor( "Unai Garro", 0, "ugarro@users.sourceforge.net" ); about.addAuthor( "Jason Kivlighn", 0, "jkivlighn@gmail.com" ); about.addAuthor( "Cyril Bosselut", 0, "bosselut@b1project.com" ); @@ -43,8 +43,8 @@ int main( int argc, char **argv ) about.addCredit( "Colleen Beamer", I18N_NOOP("Testing, bug reports, suggestions"), "colleen.beamer@gmail.com" ); about.setTranslator( I18N_NOOP( "INSERT YOUR NAME HERE" ), I18N_NOOP( "INSERT YOUR EMAIL ADDRESS" ) ); - KCmdLineArgs::init( argc, argv, &about ); - KCmdLineArgs::addCmdLineOptions( options ); + TDECmdLineArgs::init( argc, argv, &about ); + TDECmdLineArgs::addCmdLineOptions( options ); KUniqueApplication::addCmdLineOptions(); if ( !KUniqueApplication::start() ) { @@ -60,7 +60,7 @@ int main( int argc, char **argv ) } else { // no session.. just start up normally - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); TQApplication::flushX(); |