Diffstat (limited to 'noncore/unsupported/oipkg/packagelistremote.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/packagelistremote.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/noncore/unsupported/oipkg/packagelistremote.cpp b/noncore/unsupported/oipkg/packagelistremote.cpp index 721d4a6..1ec7292 100644 --- a/noncore/unsupported/oipkg/packagelistremote.cpp +++ b/noncore/unsupported/oipkg/packagelistremote.cpp | |||
@@ -23,4 +23,10 @@ PackageListRemote::~PackageListRemote() | |||
23 | void PackageListRemote::query(QString s) | 23 | void PackageListRemote::query(QString s) |
24 | { | 24 | { |
25 | searchString = s; | ||
26 | } | ||
27 | |||
28 | void PackageListRemote::update() | ||
29 | { | ||
30 | pvDebug(2,"PackageListRemote::update"); | ||
25 | int r=0; | 31 | int r=0; |
26 | QString cmd = "wget"; | 32 | QString cmd = "wget"; |
@@ -33,5 +39,5 @@ void PackageListRemote::query(QString s) | |||
33 | cmd += " \""+server+"/packages.phtml"; | 39 | cmd += " \""+server+"/packages.phtml"; |
34 | cmd += "?format=pda&searchtype=package§ion="; | 40 | cmd += "?format=pda&searchtype=package§ion="; |
35 | cmd += "&query="+s; | 41 | cmd += "&query="+searchString; |
36 | cmd += "\""; | 42 | cmd += "\""; |
37 | 43 | ||
@@ -39,9 +45,3 @@ void PackageListRemote::query(QString s) | |||
39 | r = system(cmd.latin1()); | 45 | r = system(cmd.latin1()); |
40 | readFileEntries( redirect ); | 46 | readFileEntries( redirect ); |
41 | |||
42 | } | ||
43 | |||
44 | void PackageListRemote::update() | ||
45 | { | ||
46 | pvDebug(2,"PackageListRemote::update\ndoing nothing "); | ||
47 | } | 47 | } |