You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
784 B
28 lines
784 B
#include "shutdowndlg.h"
|
|
#include <kcmdlineargs.h>
|
|
#include <kaboutdata.h>
|
|
#include <kapplication.h>
|
|
#include <kiconloader.h>
|
|
|
|
int
|
|
main(int argc, char *argv[])
|
|
{
|
|
KAboutData about("kapptest", "kapptest", "version");
|
|
KCmdLineArgs::init(argc, argv, &about);
|
|
|
|
KApplication a;
|
|
a.iconLoader()->addAppDir("ksmserver");
|
|
KSMShutdownFeedback::start();
|
|
|
|
KApplication::ShutdownType sdtype = KApplication::ShutdownTypeNone;
|
|
TQString bopt;
|
|
(void)KSMShutdownDlg::confirmShutdown( true,
|
|
sdtype,
|
|
bopt );
|
|
/* (void)KSMShutdownDlg::confirmShutdown( false,
|
|
sdtype,
|
|
bopt ); */
|
|
|
|
KSMShutdownFeedback::stop();
|
|
}
|