-rw-r--r-- | microkde/kdialogbase.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/microkde/kdialogbase.h b/microkde/kdialogbase.h index 17c186b..64cbd17 100644 --- a/microkde/kdialogbase.h +++ b/microkde/kdialogbase.h | |||
@@ -1,14 +1,16 @@ | |||
1 | #ifndef MINIKDE_KDIALOGBASE_H | 1 | #ifndef MINIKDE_KDIALOGBASE_H |
2 | #define MINIKDE_KDIALOGBASE_H | 2 | #define MINIKDE_KDIALOGBASE_H |
3 | 3 | ||
4 | #include <qframe.h> | 4 | #include <q3frame.h> |
5 | //Added by qt3to4: | ||
6 | #include <QPixmap> | ||
5 | 7 | ||
6 | #include "kdialog.h" | 8 | #include "kdialog.h" |
7 | 9 | ||
8 | class QPushButton; | 10 | class QPushButton; |
9 | class QLayout; | 11 | class QLayout; |
10 | class QTabWidget; | 12 | class QTabWidget; |
11 | class QBoxLayout; | 13 | class Q3BoxLayout; |
12 | 14 | ||
13 | class KDialogBase : public KDialog | 15 | class KDialogBase : public KDialog |
14 | { | 16 | { |
@@ -59,8 +61,8 @@ class KDialogBase : public KDialog | |||
59 | const QString &user3=QString::null); | 61 | const QString &user3=QString::null); |
60 | virtual ~KDialogBase(); | 62 | virtual ~KDialogBase(); |
61 | 63 | ||
62 | QFrame *addPage( const QString & ); | 64 | Q3Frame *addPage( const QString & ); |
63 | QFrame *addPage( const QString &, int, const QPixmap & ); | 65 | Q3Frame *addPage( const QString &, int, const QPixmap & ); |
64 | 66 | ||
65 | void setMainWidget( QWidget *widget ); | 67 | void setMainWidget( QWidget *widget ); |
66 | 68 | ||
@@ -77,7 +79,7 @@ class KDialogBase : public KDialog | |||
77 | bool showPage( int index ); | 79 | bool showPage( int index ); |
78 | void hideButtons(); | 80 | void hideButtons(); |
79 | 81 | ||
80 | QFrame *plainPage(); | 82 | Q3Frame *plainPage(); |
81 | 83 | ||
82 | signals: | 84 | signals: |
83 | void user1Clicked(); | 85 | void user1Clicked(); |
@@ -128,8 +130,8 @@ class KDialogBase : public KDialog | |||
128 | 130 | ||
129 | QWidget *mMainWidget; | 131 | QWidget *mMainWidget; |
130 | QTabWidget *mTabWidget; | 132 | QTabWidget *mTabWidget; |
131 | QFrame *mPlainPage; | 133 | Q3Frame *mPlainPage; |
132 | QBoxLayout *mTopLayout; | 134 | Q3BoxLayout *mTopLayout; |
133 | 135 | ||
134 | QPushButton *mUser1Button; | 136 | QPushButton *mUser1Button; |
135 | QPushButton *mUser2Button; | 137 | QPushButton *mUser2Button; |