Rename KUniqueApplication to TDEUniqueApplication

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

@ -14,7 +14,7 @@
#include <iostream>
#include <kuniqueapplication.h>
#include <tdeuniqueapplication.h>
#include <tdeaboutdata.h>
#include <tdecmdlineargs.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" ) );
TDECmdLineArgs::init( argc, argv, &about );
TDECmdLineArgs::addCmdLineOptions( options );
KUniqueApplication::addCmdLineOptions();
TDEUniqueApplication::addCmdLineOptions();
if ( !KUniqueApplication::start() ) {
if ( !TDEUniqueApplication::start() ) {
std::cout << "Krecipes is already running!" << std::endl;
return 0;
}
KUniqueApplication app;
TDEUniqueApplication app;
// see if we are starting with session management
if ( app.isRestored() ) {

Loading…
Cancel
Save