get the pkglist of a group when you click on its name
[kfpm.git] / kfpm.cpp
blobd233abd9a6fc9ce0e63324e9673baccff98c3613
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>
12 #include <qtimer.h>
14 #include "kfpm.h"
15 #include "mainwidget.h"
17 KFPM::KFPM(int & argc, char ** argv) : QApplication(argc, argv)
19 MainWidget *w = new MainWidget();
20 connect(this, SIGNAL(lastWindowClosed()), this, SLOT(quit()) );
21 setMainWidget(w);
22 w->show();
23 QTimer *t = new QTimer(w);
24 connect( t, SIGNAL(timeout()), w, SLOT(slot_initialize()) );
25 t->start( 0, TRUE );
28 int main( int argc, char **argv )
30 return KFPM(argc, argv).exec();