author | harlekin <harlekin> | 2002-06-15 21:29:57 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-06-15 21:29:57 (UTC) |
commit | 8ab6f33e6bd35266bed38952f149a328bea3c544 (patch) (side-by-side diff) | |
tree | aee29787d61e58c6a8b345de40acaf36d0fdc424 /noncore/net/opietooth/manager | |
parent | e7712c9535a461c6f5f98e78b856af0bb9eca0c6 (diff) | |
download | opie-8ab6f33e6bd35266bed38952f149a328bea3c544.zip opie-8ab6f33e6bd35266bed38952f149a328bea3c544.tar.gz opie-8ab6f33e6bd35266bed38952f149a328bea3c544.tar.bz2 |
update
Diffstat (limited to 'noncore/net/opietooth/manager') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.cpp | 7 | ||||
-rw-r--r-- | noncore/net/opietooth/manager/scandialog.h | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/noncore/net/opietooth/manager/scandialog.cpp b/noncore/net/opietooth/manager/scandialog.cpp index b0ffbb3..63c5472 100644 --- a/noncore/net/opietooth/manager/scandialog.cpp +++ b/noncore/net/opietooth/manager/scandialog.cpp @@ -52,5 +52,4 @@ namespace OpieTooth { Frame7->setFrameShadow( QFrame::Raised ); - QWidget* privateLayoutWidget = new QWidget( Frame7, "Layout11" ); privateLayoutWidget->setGeometry( QRect( 10, 9, 221, 280 ) ); @@ -59,10 +58,8 @@ namespace OpieTooth { Layout11->setMargin( 0 ); - progress = new QProgressBar(privateLayoutWidget, "progbar"); progress->setTotalSteps(20); - - QFrame *buttonFrame = new QFrame(Frame7, ""); + QFrame *buttonFrame = new QFrame(Frame7, ""); StartButton = new QPushButton( buttonFrame, "StartButton" ); @@ -72,5 +69,4 @@ namespace OpieTooth { StopButton->setText( tr( "Cancel" ) ); - QHBoxLayout *buttonLayout = new QHBoxLayout(buttonFrame); buttonLayout->addWidget(StartButton); @@ -103,4 +99,5 @@ namespace OpieTooth { QTimer::singleShot( 1000, this, SLOT(progressTimer() ) ); } + progress->setProgress(progressStat++); } diff --git a/noncore/net/opietooth/manager/scandialog.h b/noncore/net/opietooth/manager/scandialog.h index 22ee01d..fcaee6e 100644 --- a/noncore/net/opietooth/manager/scandialog.h +++ b/noncore/net/opietooth/manager/scandialog.h @@ -61,8 +61,8 @@ class Device; void stopSearch(); void startSearch(); + void progressTimer(); void fillList(const QString& device, RemoteDevices::ValueList list); private: - void progressTimer(int maxSeconds); Manager *localDevice; int progressStat; |