summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/mainwindow.cpp
authortille <tille>2002-05-03 19:08:09 (UTC)
committer tille <tille>2002-05-03 19:08:09 (UTC)
commit4eddfebd1b4f70bbfe9106a16e9a3eeb6601f653 (patch) (unidiff)
tree66d77ffe196c448782ce0d04877641280e74890d /noncore/unsupported/oipkg/mainwindow.cpp
parent6bf450ac622d22ba7e9156e474a7abb714167eba (diff)
downloadopie-4eddfebd1b4f70bbfe9106a16e9a3eeb6601f653.zip
opie-4eddfebd1b4f70bbfe9106a16e9a3eeb6601f653.tar.gz
opie-4eddfebd1b4f70bbfe9106a16e9a3eeb6601f653.tar.bz2
fixes
Diffstat (limited to 'noncore/unsupported/oipkg/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/mainwindow.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.cpp b/noncore/unsupported/oipkg/mainwindow.cpp
index 259a789..4f6e4cc 100644
--- a/noncore/unsupported/oipkg/mainwindow.cpp
+++ b/noncore/unsupported/oipkg/mainwindow.cpp
@@ -247,15 +247,15 @@ MainWindow::~MainWindow()
247 247
248} 248}
249 249
250void MainWindow::runIpkg() 250void MainWindow::runIpkg()
251{ 251{
252 packageListServers.allPackages(); 252 packageListServers.allPackages();
253 ipkg->loadList( packageListSearch ); 253 ipkg->loadList( &packageListSearch );
254 ipkg->loadList( packageListDocLnk ); 254 ipkg->loadList( &packageListDocLnk );
255 ipkg->loadList( packageListServers ); 255 ipkg->loadList( &packageListServers );
256 ipkg->commit(); 256 ipkg->commit();
257 // ##### If we looked in the list of files, we could send out accurate 257 // ##### If we looked in the list of files, we could send out accurate
258 // ##### messages. But we don't bother yet, and just do an "all". 258 // ##### messages. But we don't bother yet, and just do an "all".
259 QCopEnvelope e("QPE/System", "linkChanged(QString)"); 259 QCopEnvelope e("QPE/System", "linkChanged(QString)");
260 QString lf = QString::null; 260 QString lf = QString::null;
261 e << lf; 261 e << lf;
@@ -419,13 +419,14 @@ void MainWindow::setDocument(const QString &fileName)
419 installFile(fileName); 419 installFile(fileName);
420 // ##### If we looked in the list of files, we could send out accurate 420 // ##### If we looked in the list of files, we could send out accurate
421 // ##### messages. But we don't bother yet, and just do an "all". 421 // ##### messages. But we don't bother yet, and just do an "all".
422 QCopEnvelope e("QPE/System", "linkChanged(QString)"); 422 QCopEnvelope e("QPE/System", "linkChanged(QString)");
423 QString lf = QString::null; 423 QString lf = QString::null;
424 e << lf; 424 e << lf;
425 displayList(); 425 // displayList();
426 exit;
426} 427}
427 428
428void MainWindow::installFile(const QString &fileName) 429void MainWindow::installFile(const QString &fileName)
429{ 430{
430 pvDebug(3, "MainWindow::installFile "+fileName); 431 pvDebug(3, "MainWindow::installFile "+fileName);
431 if ( !QFile::exists( fileName ) ) return; 432 if ( !QFile::exists( fileName ) ) return;
@@ -480,8 +481,9 @@ void MainWindow::removeLinks()
480 ipkg->removeLinks( settings->destinationurl->text() ); 481 ipkg->removeLinks( settings->destinationurl->text() );
481} 482}
482 483
483void MainWindow::remotePackageQuery() 484void MainWindow::remotePackageQuery()
484{ 485{
485 packageListSearch.query( searchEdit->text() ); 486 packageListSearch.query( searchEdit->text() );
487 packageListSearch.update();
486 displayList(); 488 displayList();
487} 489}