created a KFPM class for the application
[kfpm.git] / kfpm.cpp
blobb0e5148483e8f7314a809b55c4557b1caffbf1f2
1 /*
2 * main.cpp
4 * Copyright (c) 2007 VOROSKOI Andras <voroskoi@frugalware.org>
6 * Copyright: See COPYING file that comes with this distribution.
8 */
10 #include <iostream>
11 #include <qapplication.h>
13 #include "kfpm.h"
14 #include "mainwidget.h"
16 KFPM::KFPM(int & argc, char ** argv) : QApplication(argc, argv)
18 MainWidget *w = new MainWidget();
19 setMainWidget(w);
20 w->show();
21 w->statusbar->message("Getting group list...");
22 //w->getGroupList(w->groupsview);
23 w->statusbar->message("Done.");
26 int main( int argc, char **argv )
28 return KFPM(argc, argv).exec();