summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/mainwindow.cpp
Unidiff
Diffstat (limited to 'noncore/unsupported/oipkg/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/mainwindow.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.cpp b/noncore/unsupported/oipkg/mainwindow.cpp
index 6bf9a7a..c95f482 100644
--- a/noncore/unsupported/oipkg/mainwindow.cpp
+++ b/noncore/unsupported/oipkg/mainwindow.cpp
@@ -22,2 +22,3 @@
22#include <qcombobox.h> 22#include <qcombobox.h>
23#include <qmessagebox.h>
23#include <qlayout.h> 24#include <qlayout.h>
@@ -27,2 +28,3 @@
27 28
29
28MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f = 0 ) : 30MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f = 0 ) :
@@ -37,2 +39,6 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f = 0 ) :
37 39
40 //wait = new QMessageBox(tr("oipkg"),tr("Please wait")//,QMessageBox::Information,QMessageBox::NoButton,QMessageBox::NoButton,QMessageBox::NoButton);
41 wait = new QMessageBox(this);
42 wait->setText(tr("Please wait"));
43
38 channel = new QCopChannel( "QPE/Application/oipkg", this ); 44 channel = new QCopChannel( "QPE/Application/oipkg", this );
@@ -196,2 +202,3 @@ void MainWindow::updateList()
196{ 202{
203 wait->show();
197 QTimer *t = new QTimer( this ); 204 QTimer *t = new QTimer( this );
@@ -202,3 +209,5 @@ void MainWindow::updateList()
202 getList(); 209 getList();
203 t->stop(); 210 t->stop();
211 wait->hide();
212
204} 213}
@@ -207,4 +216,6 @@ void MainWindow::getList()
207{ 216{
217 wait->show();
208 packageList.update(); 218 packageList.update();
209 displayList(); 219 displayList();
220 wait->hide();
210} 221}
@@ -213,2 +224,3 @@ void MainWindow::filterList()
213{ 224{
225 wait->show();
214 QString f = ""; 226 QString f = "";
@@ -216,2 +228,3 @@ void MainWindow::filterList()
216 packageList.filterPackages( f ); 228 packageList.filterPackages( f );
229 wait->hide();
217} 230}
@@ -220,2 +233,3 @@ void MainWindow::displayList()
220{ 233{
234 wait->hide();
221 filterList(); 235 filterList();