|
|
|
@ -30,7 +30,7 @@
|
|
|
|
|
#include <tdecmdlineargs.h>
|
|
|
|
|
#include <tdelocale.h>
|
|
|
|
|
#include <tdemessagebox.h>
|
|
|
|
|
#include <kuniqueapplication.h>
|
|
|
|
|
#include <tdeuniqueapplication.h>
|
|
|
|
|
|
|
|
|
|
// 0.1.x, 0.3.x, etc - Unstable, Beta
|
|
|
|
|
// 0.2.x, 0.4.x, etc - Stable
|
|
|
|
@ -75,14 +75,14 @@ static TDECmdLineOptions options[] =
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/** @short KShutDown application. */
|
|
|
|
|
class KShutDownApplication: public KUniqueApplication
|
|
|
|
|
class KShutDownApplication: public TDEUniqueApplication
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
/**
|
|
|
|
|
* Constructor.
|
|
|
|
|
*/
|
|
|
|
|
KShutDownApplication()
|
|
|
|
|
: KUniqueApplication(),
|
|
|
|
|
: TDEUniqueApplication(),
|
|
|
|
|
_confirm(false),
|
|
|
|
|
isTimeArg(false),
|
|
|
|
|
now(false),
|
|
|
|
@ -382,7 +382,7 @@ int main(int argc, char **argv)
|
|
|
|
|
TDECmdLineArgs::init(argc, argv, &aboutData);
|
|
|
|
|
TDECmdLineArgs::addCmdLineOptions(options);
|
|
|
|
|
|
|
|
|
|
if (!KUniqueApplication::start())
|
|
|
|
|
if (!TDEUniqueApplication::start())
|
|
|
|
|
return 0;
|
|
|
|
|
|
|
|
|
|
// init application
|
|
|
|
|