summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/packagelistitem.h
Unidiff
Diffstat (limited to 'noncore/unsupported/oipkg/packagelistitem.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/packagelistitem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/unsupported/oipkg/packagelistitem.h b/noncore/unsupported/oipkg/packagelistitem.h
index b128f0d..65e9711 100644
--- a/noncore/unsupported/oipkg/packagelistitem.h
+++ b/noncore/unsupported/oipkg/packagelistitem.h
@@ -11,30 +11,31 @@
11 11
12#include "pksettings.h" 12#include "pksettings.h"
13 13
14class PackageListItem 14class PackageListItem
15: public QCheckListItem 15: public QCheckListItem
16{ 16{
17public: 17public:
18 PackageListItem(QListViewItem*, Package*, PackageManagerSettings*); 18 PackageListItem(QListViewItem*, Package*, PackageManagerSettings*);
19 PackageListItem(QListView*, Package*, PackageManagerSettings*); 19 PackageListItem(QListView*, Package*, PackageManagerSettings*);
20 void paintCell( QPainter*, const QColorGroup&, int, int, int ); 20 void paintCell( QPainter*, const QColorGroup&, int, int, int );
21 void paintFocus( QPainter*, const QColorGroup&, const QRect& ); 21 void paintFocus( QPainter*, const QColorGroup&, const QRect& );
22 QPixmap statePixmap() const; 22 QPixmap statePixmap() const;
23 QString key( int, bool ) const; 23 QString key( int, bool ) const;
24 Package* getPackage() { return package; } ; 24 Package* getPackage() { return package; } ;
25 QString getName() { return package->name(); } ; 25 QString getName() { return package->name(); } ;
26 bool isInstalled(){ return package->installed(); }; 26 bool isInstalled(){ return package->installed(); };
27 virtual void setOn ( bool ); 27 virtual void setOn ( bool );
28 void displayDetails(); 28 void displayDetails();
29 29
30private: 30private:
31 void init(Package*, PackageManagerSettings*); 31 void init(Package*, PackageManagerSettings*);
32 QCheckListItem *nameItem; 32 QCheckListItem *nameItem;
33 QCheckListItem *destItem; 33 QCheckListItem *destItem;
34 QCheckListItem *linkItem; 34 QCheckListItem *linkItem;
35 QCheckListItem *statusItem;
35 PackageManagerSettings *settings; 36 PackageManagerSettings *settings;
36 Package *package; 37 Package *package;
37}; 38};
38 39
39 40
40#endif 41#endif