summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/packagelistitem.h
authortille <tille>2002-04-27 13:06:45 (UTC)
committer tille <tille>2002-04-27 13:06:45 (UTC)
commitdb90999f6298c1107888f062f2c25cb8817b528a (patch) (unidiff)
tree020ebe65beb9286f3c63e4329fc3a0f298d34460 /noncore/unsupported/oipkg/packagelistitem.h
parente2f3288d468508f2cf7c0a327044963ca4b1b54a (diff)
downloadopie-db90999f6298c1107888f062f2c25cb8817b528a.zip
opie-db90999f6298c1107888f062f2c25cb8817b528a.tar.gz
opie-db90999f6298c1107888f062f2c25cb8817b528a.tar.bz2
added popup menu to choose inst dest (and more...)
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
@@ -9,11 +9,13 @@
9#include <qpixmap.h> 9#include <qpixmap.h>
10#include <qdict.h> 10#include <qdict.h>
11 11
12#include "pksettings.h"
13
12class PackageListItem 14class PackageListItem
13: public QCheckListItem 15: public QCheckListItem
14{ 16{
15public: 17public:
16 PackageListItem(QListView*, Package* ); 18 PackageListItem(QListView*, Package*, PackageManagerSettings*);
17 void paintCell( QPainter*, const QColorGroup&, int, int, int ); 19 void paintCell( QPainter*, const QColorGroup&, int, int, int );
18 void paintFocus( QPainter*, const QColorGroup&, const QRect& ); 20 void paintFocus( QPainter*, const QColorGroup&, const QRect& );
19 QPixmap statePixmap() const; 21 QPixmap statePixmap() const;
@@ -22,8 +24,12 @@ public:
22 QString getName() { return package->name(); } ; 24 QString getName() { return package->name(); } ;
23 bool isInstalled(){ return package->installed(); }; 25 bool isInstalled(){ return package->installed(); };
24 virtual void setOn ( bool ); 26 virtual void setOn ( bool );
27 void displayDetails();
25 28
26private: 29private:
30 QCheckListItem *destItem;
31 QCheckListItem *linkItem;
32 PackageManagerSettings *settings;
27 Package *package; 33 Package *package;
28}; 34};
29 35