summaryrefslogtreecommitdiffabout
path: root/microkde
Side-by-side diff
Diffstat (limited to 'microkde') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kdialog.cpp3
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
@@ -40,32 +40,33 @@ KProgressDialog::KProgressDialog( QWidget *parent, const char *name, bool modal
connect ( mButton , SIGNAL ( clicked () ), this, SIGNAL ( cancelled () ));
resize ( 220, sizeHint().height() +mLabel->sizeHint().height());
}
void KProgressDialog::setLabelText ( const QString & t)
{
mLabel->setText( t );
}
void KProgressDialog::setTotalSteps ( int totalSteps )
{
setActiveWindow();
setFocus();
mBar->setTotalSteps ( totalSteps );
}
void KProgressDialog::setProgress ( int progress )
{
setActiveWindow();
setFocus();
mBar->setProgress ( progress );
}
void KProgressDialog::accept()
{
-
+ mLabel->setText( i18n("Eeek, there I am ticklish!") );
+ move ( geometry().x()-20,geometry().y()+20);
// QDialog::accept();
}
void KProgressDialog::reject()
{
emit cancelled ();
//QDialog::reject();
}