4 * Copyright (c) 2007 VOROSKOI Andras <voroskoi@frugalware.org>
6 * Copyright: See COPYING file that comes with this distribution.
14 #include <qpushbutton.h>
15 #include <qlistview.h>
16 #include <qstatusbar.h>
18 #include "kfpm_pacman.h"
20 class MainWidget
: public QWidget
25 MainWidget(QWidget
* parent
= 0, const char * name
= 0, WFlags f
= 0);
28 void slot_initialize();
30 QPushButton
*button_quit
;
33 QStatusBar
*StatusBar
;
34 QString StatusBarMessage
;
35 QListView
*GroupsView
;
36 QListView
*PackagesView
;
38 void setStatusBarMessage(QString
);
39 void updateGroupList();
40 void updateGroupPackageList(const char*);
41 void updateFullInfo(const char*);
43 void groupItemSelected(QListViewItem
*);
44 void packageItemSelected(QListViewItem
*);
49 #endif /* ifndef MAINWIDGET_H */