main.cpp
Go to the documentation of this file.00001
00027 #include <kapp.h>
00028 #include <kcmdlineargs.h>
00029
00030 #include "ksetiwatch.h"
00031 #include "../config.h"
00032
00034 int main(int argc, char* argv[])
00035 {
00036 KCmdLineArgs::init(argc, argv, "ksetiwatch",
00037 "A SETI@home monitoring tool",
00038 VERSION);
00039
00040 KsetiwatchApp a;
00041
00042 Ksetiwatch* ksetiwatch = new Ksetiwatch("ksetiwatch");
00043 a.setMainWidget(ksetiwatch);
00044
00045 if(globalopts->MinimizeToPanel == false)
00046 {
00047 if( ksetiwatch->startMinimized() )
00048 ksetiwatch->showMinimized();
00049 else
00050 ksetiwatch->show();
00051 }
00052 else if( ksetiwatch->startMinimized() == false )
00053 ksetiwatch->show();
00054
00055 return a.exec();
00056 }
00057
00058
00059
00060
00061
00062
00063
00064
This file is part of the documentation for Ksetiwatch API Version 2.6.1.