summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/package.cpp
Unidiff
Diffstat (limited to 'noncore/unsupported/oipkg/package.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/package.cpp24
1 files changed, 17 insertions, 7 deletions
diff --git a/noncore/unsupported/oipkg/package.cpp b/noncore/unsupported/oipkg/package.cpp
index e020601..190b3fb 100644
--- a/noncore/unsupported/oipkg/package.cpp
+++ b/noncore/unsupported/oipkg/package.cpp
@@ -23,3 +23,3 @@ OipkgPackage::OipkgPackage( QObject *parent, const char *name )
23{ 23{
24 24 init();
25} 25}
@@ -28,2 +28,3 @@ OipkgPackage::~OipkgPackage()
28{ 28{
29
29} 30}
@@ -33,8 +34,14 @@ OipkgPackage::OipkgPackage( PackageManagerSettings *s, QObject *parent, const ch
33 { 34 {
34 init(s); 35 settings = s;
36 init();
35} 37}
36 38
37void OipkgPackage::init( PackageManagerSettings *s ) 39// void OipkgPackage::init( PackageManagerSettings *s )
40// {
41 // settings = s;
42 // init();
43// }
44
45void OipkgPackage::init( )
38{ 46{
39 settings = s;
40 _size = ""; 47 _size = "";
@@ -58,3 +65,4 @@ OipkgPackage::OipkgPackage( QStringList pack, PackageManagerSettings *s , QObjec
58{ 65{
59 init(s); 66 settings = s;
67 init();
60 parsePackage( pack ); 68 parsePackage( pack );
@@ -65,3 +73,4 @@ OipkgPackage::OipkgPackage( QString n, PackageManagerSettings *s, QObject *paren
65{ 73{
66 init(s); 74 settings = s;
75 init();
67 if ( !QFile::exists( n ) ) 76 if ( !QFile::exists( n ) )
@@ -80,3 +89,4 @@ OipkgPackage::OipkgPackage( OipkgPackage *pi, QObject *parent, const char *name
80{ 89{
81 init(pi->settings); 90 settings = pi->settings;
91 init();
82 copyValues( pi ); 92 copyValues( pi );