summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/packagelistremote.cpp
authortille <tille>2002-05-02 19:11:55 (UTC)
committer tille <tille>2002-05-02 19:11:55 (UTC)
commitce6758eccada41f5c3fef13e6b4808c525213bee (patch) (unidiff)
tree236d015e4c037254d7862620e41bd75ab701a696 /noncore/unsupported/oipkg/packagelistremote.cpp
parentb4f04de71fea42fa32a048f42d27e4f5be6804f9 (diff)
downloadopie-ce6758eccada41f5c3fef13e6b4808c525213bee.zip
opie-ce6758eccada41f5c3fef13e6b4808c525213bee.tar.gz
opie-ce6758eccada41f5c3fef13e6b4808c525213bee.tar.bz2
added doclnk support
Diffstat (limited to 'noncore/unsupported/oipkg/packagelistremote.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/packagelistremote.cpp14
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
@@ -22,6 +22,12 @@ PackageListRemote::~PackageListRemote()
22 22
23void PackageListRemote::query(QString s) 23void PackageListRemote::query(QString s)
24{ 24{
25 searchString = s;
26}
27
28void PackageListRemote::update()
29{
30 pvDebug(2,"PackageListRemote::update");
25 int r=0; 31 int r=0;
26 QString cmd = "wget"; 32 QString cmd = "wget";
27 QString redirect = "/tmp/oipkg.query"; 33 QString redirect = "/tmp/oipkg.query";
@@ -32,16 +38,10 @@ void PackageListRemote::query(QString s)
32 QString server="http://ipkgfind.handhelds.org/"; 38 QString server="http://ipkgfind.handhelds.org/";
33 cmd += " \""+server+"/packages.phtml"; 39 cmd += " \""+server+"/packages.phtml";
34 cmd += "?format=pda&searchtype=package&section="; 40 cmd += "?format=pda&searchtype=package&section=";
35 cmd += "&query="+s; 41 cmd += "&query="+searchString;
36 cmd += "\""; 42 cmd += "\"";
37 43
38 pvDebug(2,"search :"+cmd); 44 pvDebug(2,"search :"+cmd);
39 r = system(cmd.latin1()); 45 r = system(cmd.latin1());
40 readFileEntries( redirect ); 46 readFileEntries( redirect );
41
42}
43
44void PackageListRemote::update()
45{
46 pvDebug(2,"PackageListRemote::update\ndoing nothing ");
47} 47}