author | zautrix <zautrix> | 2005-07-09 01:22:50 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-09 01:22:50 (UTC) |
commit | 3c756588a4f650fc6f2e5971d56d56b74d67bfda (patch) (side-by-side diff) | |
tree | 8c62bc77c8248520ff3f0ecf508ab47550a1de74 /microkde/kdialog.h | |
parent | 1e11d41ecb6a912c4c0a2747eb1fa26626fdcca2 (diff) | |
download | kdepimpi-3c756588a4f650fc6f2e5971d56d56b74d67bfda.zip kdepimpi-3c756588a4f650fc6f2e5971d56d56b74d67bfda.tar.gz kdepimpi-3c756588a4f650fc6f2e5971d56d56b74d67bfda.tar.bz2 |
comp fixes
-rw-r--r-- | microkde/kdialog.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/microkde/kdialog.h b/microkde/kdialog.h index 703d268..bc80689 100644 --- a/microkde/kdialog.h +++ b/microkde/kdialog.h @@ -1,8 +1,11 @@ #ifndef MINIKDE_KDIALOG_H #define MINIKDE_KDIALOG_H #include <qdialog.h> +class QLabel; +class QProgressBar; +class QPushButton ; class KDialog : public QDialog { Q_OBJECT @@ -13,6 +16,23 @@ class KDialog : public QDialog static int marginHint(); static int spacingHintSmall(); static int marginHintSmall(); }; +class KProgressDialog : public QDialog +{ + Q_OBJECT + public: + KProgressDialog( QWidget *parent=0, const char *name=0, bool modal=false ); + void setLabelText ( const QString & ); + void setTotalSteps ( int totalSteps ); + void setProgress ( int progress ); + void accept(); + void reject(); + private: + QLabel * mLabel; + QProgressBar *mBar; + QPushButton *mButton; + signals: + void cancelled (); +}; #endif |