summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/package.h
authortille <tille>2002-04-27 13:06:45 (UTC)
committer tille <tille>2002-04-27 13:06:45 (UTC)
commitdb90999f6298c1107888f062f2c25cb8817b528a (patch) (side-by-side diff)
tree020ebe65beb9286f3c63e4329fc3a0f298d34460 /noncore/unsupported/oipkg/package.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/package.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/package.h22
1 files changed, 16 insertions, 6 deletions
diff --git a/noncore/unsupported/oipkg/package.h b/noncore/unsupported/oipkg/package.h
index cf2af75..6c292ed 100644
--- a/noncore/unsupported/oipkg/package.h
+++ b/noncore/unsupported/oipkg/package.h
@@ -5,20 +5,22 @@
#include <qlistview.h>
#include <qpainter.h>
#include <qpixmap.h>
#include <qdict.h>
#include <qobject.h>
+#include "pksettings.h"
+
class Package //: public QObject
{
// Q_OBJECT
public:
- Package();
+ Package(PackageManagerSettings *);
~Package();
- Package( QStringList );
- Package( QString );
+ Package( QStringList, PackageManagerSettings * );
+ Package( QString, PackageManagerSettings * );
Package( Package* );
void setValue( QString, QString );
void copyValues( Package* );
QString name() ;
@@ -26,31 +28,39 @@ class Package //: public QObject
void setDesc( QString );
QString shortDesc();
QString desc();
QString size();
void setSection( QString );
- QString getSection();
- QString getSubSection();
+ QString section();
+ QString subSection();
QString details();
bool toProcess();
bool toInstall();
bool toRemove();
- /** No descriptions */
void processed();
+ QString dest();
+ void setDest( QString d );
+ void setOn();
+ bool link();
+ void setLink(bool);
public slots:
void toggleProcess();
private:
+ PackageManagerSettings *settings;
QString _name;
bool _toProcess;
+ bool _link;
QString _status;
QString _size;
QString _section;
QString _subsection;
QString _shortDesc;
QString _desc;
+ QString _dest;
void parsePackage( QStringList );
+ void init(PackageManagerSettings *);
};
#endif