author | drw <drw> | 2004-02-05 16:34:04 (UTC) |
---|---|---|
committer | drw <drw> | 2004-02-05 16:34:04 (UTC) |
commit | ef8ece225a663f0ff1262989085fc214500beebe (patch) (unidiff) | |
tree | 2d6902575eb29de18a0ed7f3a33acadabd37021b /noncore/settings/packagemanager/opackage.h | |
parent | 823399a552c04821fb0b49d816d733fa21a12a21 (diff) | |
download | opie-ef8ece225a663f0ff1262989085fc214500beebe.zip opie-ef8ece225a663f0ff1262989085fc214500beebe.tar.gz opie-ef8ece225a663f0ff1262989085fc214500beebe.tar.bz2 |
Completed package information dialog and a couple of other minor tweaks
Diffstat (limited to 'noncore/settings/packagemanager/opackage.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/packagemanager/opackage.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/noncore/settings/packagemanager/opackage.h b/noncore/settings/packagemanager/opackage.h index 1e2e49f..fbd9ec0 100644 --- a/noncore/settings/packagemanager/opackage.h +++ b/noncore/settings/packagemanager/opackage.h | |||
@@ -41,8 +41,9 @@ public: | |||
41 | enum Command { Install, Remove, Update, Upgrade, Download, Info, Files, Version, NotDefined }; | 41 | enum Command { Install, Remove, Update, Upgrade, Download, Info, Files, Version, NotDefined }; |
42 | 42 | ||
43 | OPackage( const QString &name = 0x0, | 43 | OPackage( const QString &name= QString::null, |
44 | const QString &version = 0x0, const QString &versionInstalled = 0x0, | 44 | const QString &version= QString::null, const QString &versionInstalled= QString::null, |
45 | const QString &source = 0x0, const QString &destination = 0x0, | 45 | const QString &source= QString::null, const QString &destination= QString::null, |
46 | const QString &category = "misc" ); | 46 | const QString &category = "misc", const QString &information = QString::null, |
47 | const QString &files = QString::null ); | ||
47 | 48 | ||
48 | const QString &name() { return m_name; } | 49 | const QString &name() { return m_name; } |
@@ -52,4 +53,6 @@ public: | |||
52 | const QString &destination() { return m_destination; } | 53 | const QString &destination() { return m_destination; } |
53 | const QString &category() { return m_category; } | 54 | const QString &category() { return m_category; } |
55 | const QString &information() { return m_information; } | ||
56 | const QString &files() { return m_files; } | ||
54 | 57 | ||
55 | void setName( const QString &name ) { m_name = name; } | 58 | void setName( const QString &name ) { m_name = name; } |
@@ -59,4 +62,6 @@ public: | |||
59 | void setDestination( const QString &destination ) { m_destination = destination; } | 62 | void setDestination( const QString &destination ) { m_destination = destination; } |
60 | void setCategory( const QString &category ) { m_category = category; } | 63 | void setCategory( const QString &category ) { m_category = category; } |
64 | void setInformation( const QString &information ) { m_information = information; } | ||
65 | void setFiles( const QString &files ) { m_files = files; } | ||
61 | 66 | ||
62 | private: | 67 | private: |
@@ -67,4 +72,6 @@ private: | |||
67 | QString m_destination; // Location item is installed to, null if not installed | 72 | QString m_destination; // Location item is installed to, null if not installed |
68 | QString m_category; // Item category | 73 | QString m_category; // Item category |
74 | QString m_information; // Package information | ||
75 | QString m_files; // File list information | ||
69 | }; | 76 | }; |
70 | 77 | ||