summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg
authortille <tille>2002-05-01 16:14:36 (UTC)
committer tille <tille>2002-05-01 16:14:36 (UTC)
commitda12e60078563ef6e10ddcc1edeb931f765b8b6d (patch) (unidiff)
tree0d6cfec0cf3de34568f02de41582bc84e962e12d /noncore/unsupported/oipkg
parentda94bce203afca412336a7793ff8e58e18d59108 (diff)
downloadopie-da12e60078563ef6e10ddcc1edeb931f765b8b6d.zip
opie-da12e60078563ef6e10ddcc1edeb931f765b8b6d.tar.gz
opie-da12e60078563ef6e10ddcc1edeb931f765b8b6d.tar.bz2
more fields in detailed view
Diffstat (limited to 'noncore/unsupported/oipkg') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/TODO1
-rw-r--r--noncore/unsupported/oipkg/package.cpp5
-rw-r--r--noncore/unsupported/oipkg/package.h1
-rw-r--r--noncore/unsupported/oipkg/packagelistitem.cpp9
4 files changed, 14 insertions, 2 deletions
diff --git a/noncore/unsupported/oipkg/TODO b/noncore/unsupported/oipkg/TODO
index fc2e8a4..9d9a650 100644
--- a/noncore/unsupported/oipkg/TODO
+++ b/noncore/unsupported/oipkg/TODO
@@ -11,3 +11,2 @@
11* allow reinstalling 11* allow reinstalling
12* handle different versions
13* different types of filters and searches 12* different types of filters and searches
diff --git a/noncore/unsupported/oipkg/package.cpp b/noncore/unsupported/oipkg/package.cpp
index 0787ece..f992641 100644
--- a/noncore/unsupported/oipkg/package.cpp
+++ b/noncore/unsupported/oipkg/package.cpp
@@ -363 +363,6 @@ void Package::setName(QString n)
363} 363}
364
365QDict<QString>* Package::getFields()
366{
367 return &_values;
368}
diff --git a/noncore/unsupported/oipkg/package.h b/noncore/unsupported/oipkg/package.h
index 2ca966d..fc725bc 100644
--- a/noncore/unsupported/oipkg/package.h
+++ b/noncore/unsupported/oipkg/package.h
@@ -51,2 +51,3 @@ class Package //: public QObject
51 void setName(QString); 51 void setName(QString);
52 QDict<QString>* getFields();
52public slots: 53public slots:
diff --git a/noncore/unsupported/oipkg/packagelistitem.cpp b/noncore/unsupported/oipkg/packagelistitem.cpp
index b7af9a6..2f81714 100644
--- a/noncore/unsupported/oipkg/packagelistitem.cpp
+++ b/noncore/unsupported/oipkg/packagelistitem.cpp
@@ -31,3 +31,2 @@ void PackageListItem::init( Package *pi, PackageManagerSettings *s)
31 nameItem = new QCheckListItem( this, "" ); 31 nameItem = new QCheckListItem( this, "" );
32 item = new QCheckListItem( this, QObject::tr("Description: ")+pi->desc() );
33 item = new QCheckListItem( this, QObject::tr("Size: ")+pi->size() ); 32 item = new QCheckListItem( this, QObject::tr("Size: ")+pi->size() );
@@ -35,2 +34,10 @@ void PackageListItem::init( Package *pi, PackageManagerSettings *s)
35 linkItem = new QCheckListItem( this, "" ); 34 linkItem = new QCheckListItem( this, "" );
35 QCheckListItem *otherItem = new QCheckListItem( this, QObject::tr("other") );
36 item = new QCheckListItem( otherItem, QObject::tr("Description: ")+pi->desc() );
37 QDict<QString> *fields = pi->getFields();
38 QDictIterator<QString> it( *fields );
39 while ( it.current() ) {
40 item = new QCheckListItem( otherItem, QString(it.currentKey()+": "+*it.current()) );
41 ++it;
42 }
36 displayDetails(); 43 displayDetails();