author | zautrix <zautrix> | 2005-07-09 01:35:06 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-09 01:35:06 (UTC) |
commit | e27ad31c6016152449bbdaf4f9f387fa61183c37 (patch) (unidiff) | |
tree | 615f3124d6f4f646287f126206ab93684caea7fb /microkde | |
parent | 3c756588a4f650fc6f2e5971d56d56b74d67bfda (diff) | |
download | kdepimpi-e27ad31c6016152449bbdaf4f9f387fa61183c37.zip kdepimpi-e27ad31c6016152449bbdaf4f9f387fa61183c37.tar.gz kdepimpi-e27ad31c6016152449bbdaf4f9f387fa61183c37.tar.bz2 |
comp fixes
-rw-r--r-- | microkde/kdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/microkde/kdialog.cpp b/microkde/kdialog.cpp index f9e0126..8398956 100644 --- a/microkde/kdialog.cpp +++ b/microkde/kdialog.cpp | |||
@@ -48,24 +48,25 @@ void KProgressDialog::setLabelText ( const QString & t) | |||
48 | } | 48 | } |
49 | 49 | ||
50 | void KProgressDialog::setTotalSteps ( int totalSteps ) | 50 | void KProgressDialog::setTotalSteps ( int totalSteps ) |
51 | { | 51 | { |
52 | setActiveWindow(); | 52 | setActiveWindow(); |
53 | setFocus(); | 53 | setFocus(); |
54 | mBar->setTotalSteps ( totalSteps ); | 54 | mBar->setTotalSteps ( totalSteps ); |
55 | } | 55 | } |
56 | void KProgressDialog::setProgress ( int progress ) | 56 | void KProgressDialog::setProgress ( int progress ) |
57 | { | 57 | { |
58 | setActiveWindow(); | 58 | setActiveWindow(); |
59 | setFocus(); | 59 | setFocus(); |
60 | mBar->setProgress ( progress ); | 60 | mBar->setProgress ( progress ); |
61 | } | 61 | } |
62 | void KProgressDialog::accept() | 62 | void KProgressDialog::accept() |
63 | { | 63 | { |
64 | 64 | mLabel->setText( i18n("Eeek, there I am ticklish!") ); | |
65 | move ( geometry().x()-20,geometry().y()+20); | ||
65 | // QDialog::accept(); | 66 | // QDialog::accept(); |
66 | } | 67 | } |
67 | void KProgressDialog::reject() | 68 | void KProgressDialog::reject() |
68 | { | 69 | { |
69 | emit cancelled (); | 70 | emit cancelled (); |
70 | //QDialog::reject(); | 71 | //QDialog::reject(); |
71 | } | 72 | } |