Diffstat (limited to 'noncore/unsupported/oipkg/packagelistitem.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/packagelistitem.h | 8 |
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 | |||
12 | class PackageListItem | 14 | class PackageListItem |
13 | : public QCheckListItem | 15 | : public QCheckListItem |
14 | { | 16 | { |
15 | public: | 17 | public: |
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 | ||
26 | private: | 29 | private: |
30 | QCheckListItem *destItem; | ||
31 | QCheckListItem *linkItem; | ||
32 | PackageManagerSettings *settings; | ||
27 | Package *package; | 33 | Package *package; |
28 | }; | 34 | }; |
29 | 35 | ||