summaryrefslogtreecommitdiffabout
path: root/microkde/kdialog.h
Side-by-side diff
Diffstat (limited to 'microkde/kdialog.h') (more/less context) (show whitespace changes)
-rw-r--r--microkde/kdialog.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/microkde/kdialog.h b/microkde/kdialog.h
index bc80689..5f9bf0e 100644
--- a/microkde/kdialog.h
+++ b/microkde/kdialog.h
@@ -1,38 +1,40 @@
#ifndef MINIKDE_KDIALOG_H
#define MINIKDE_KDIALOG_H
#include <qdialog.h>
+//Added by qt3to4:
+#include <QLabel>
class QLabel;
-class QProgressBar;
+class Q3ProgressBar;
class QPushButton ;
class KDialog : public QDialog
{
Q_OBJECT
public:
KDialog( QWidget *parent=0, const char *name=0, bool modal=true );
static int spacingHint();
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;
+ Q3ProgressBar *mBar;
QPushButton *mButton;
signals:
void cancelled ();
};
#endif