Rename KUniqueApplication to TDEUniqueApplication

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 2 weeks ago
parent 2c316e3037
commit f4a17e2475
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -14,7 +14,7 @@
#include <iostream> #include <iostream>
#include <kuniqueapplication.h> #include <tdeuniqueapplication.h>
#include <tdeaboutdata.h> #include <tdeaboutdata.h>
#include <tdecmdlineargs.h> #include <tdecmdlineargs.h>
#include <tdelocale.h> #include <tdelocale.h>
@ -45,14 +45,14 @@ int main( int argc, char **argv )
about.setTranslator( I18N_NOOP( "INSERT YOUR NAME HERE" ), I18N_NOOP( "INSERT YOUR EMAIL ADDRESS" ) ); about.setTranslator( I18N_NOOP( "INSERT YOUR NAME HERE" ), I18N_NOOP( "INSERT YOUR EMAIL ADDRESS" ) );
TDECmdLineArgs::init( argc, argv, &about ); TDECmdLineArgs::init( argc, argv, &about );
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
KUniqueApplication::addCmdLineOptions(); TDEUniqueApplication::addCmdLineOptions();
if ( !KUniqueApplication::start() ) { if ( !TDEUniqueApplication::start() ) {
std::cout << "Krecipes is already running!" << std::endl; std::cout << "Krecipes is already running!" << std::endl;
return 0; return 0;
} }
KUniqueApplication app; TDEUniqueApplication app;
// see if we are starting with session management // see if we are starting with session management
if ( app.isRestored() ) { if ( app.isRestored() ) {

Loading…
Cancel
Save