summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/packagelistitem.h
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/oipkg/packagelistitem.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/packagelistitem.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/packagelistitem.h b/noncore/unsupported/oipkg/packagelistitem.h
index 6983e58..f695432 100644
--- a/noncore/unsupported/oipkg/packagelistitem.h
+++ b/noncore/unsupported/oipkg/packagelistitem.h
@@ -6,26 +6,32 @@
#include <qstring.h>
#include <qlistview.h>
#include <qpainter.h>
#include <qpixmap.h>
#include <qdict.h>
+#include "pksettings.h"
+
class PackageListItem
: public QCheckListItem
{
public:
- PackageListItem(QListView*, Package* );
+ PackageListItem(QListView*, Package*, PackageManagerSettings*);
void paintCell( QPainter*, const QColorGroup&, int, int, int );
void paintFocus( QPainter*, const QColorGroup&, const QRect& );
QPixmap statePixmap() const;
QString key( int, bool ) const;
Package* getPackage() { return package; } ;
QString getName() { return package->name(); } ;
bool isInstalled(){ return package->installed(); };
virtual void setOn ( bool );
+ void displayDetails();
private:
+ QCheckListItem *destItem;
+ QCheckListItem *linkItem;
+ PackageManagerSettings *settings;
Package *package;
};
#endif