author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /kmicromail/statuswidget.cpp | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | kmicromail/statuswidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmicromail/statuswidget.cpp b/kmicromail/statuswidget.cpp index 19cf635..6da6f54 100644 --- a/kmicromail/statuswidget.cpp +++ b/kmicromail/statuswidget.cpp | |||
@@ -1,26 +1,26 @@ | |||
1 | #include <qtimer.h> | 1 | #include <qtimer.h> |
2 | #include <qprogressbar.h> | 2 | #include <q3progressbar.h> |
3 | #include <qlabel.h> | 3 | #include <qlabel.h> |
4 | 4 | ||
5 | #include "statuswidget.h" | 5 | #include "statuswidget.h" |
6 | 6 | ||
7 | // the current problem I see is "locking": used exclusive by one sender | 7 | // the current problem I see is "locking": used exclusive by one sender |
8 | 8 | ||
9 | 9 | ||
10 | StatusWidget::StatusWidget( QWidget* parent, const char* name,WFlags fl ) | 10 | StatusWidget::StatusWidget( QWidget* parent, const char* name,Qt::WFlags fl ) |
11 | : StatusWidgetUI( parent, name, fl ) { | 11 | : StatusWidgetUI( parent, name, fl ) { |
12 | 12 | ||
13 | setMaximumHeight( 15 ); | 13 | setMaximumHeight( 15 ); |
14 | // hide for now since nothing reports decent progress data yet. | 14 | // hide for now since nothing reports decent progress data yet. |
15 | statusProgress->hide(); | 15 | statusProgress->hide(); |
16 | } | 16 | } |
17 | 17 | ||
18 | StatusWidget::~StatusWidget() { | 18 | StatusWidget::~StatusWidget() { |
19 | } | 19 | } |
20 | 20 | ||
21 | void StatusWidget::setText( const QString& text ) { | 21 | void StatusWidget::setText( const QString& text ) { |
22 | show(); | 22 | show(); |
23 | statusText->setText( text ); | 23 | statusText->setText( text ); |
24 | QTimer::singleShot( 5000, this, SLOT( hide() ) ); | 24 | QTimer::singleShot( 5000, this, SLOT( hide() ) ); |
25 | } | 25 | } |
26 | 26 | ||