Diffstat (limited to 'kaddressbook/kcmconfigs/extensionconfigdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/kcmconfigs/extensionconfigdialog.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/kaddressbook/kcmconfigs/extensionconfigdialog.cpp b/kaddressbook/kcmconfigs/extensionconfigdialog.cpp index e87b000..33b66ad 100644 --- a/kaddressbook/kcmconfigs/extensionconfigdialog.cpp +++ b/kaddressbook/kcmconfigs/extensionconfigdialog.cpp | |||
@@ -22,6 +22,9 @@ | |||
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include <qlayout.h> | 24 | #include <qlayout.h> |
25 | //Added by qt3to4: | ||
26 | #include <Q3GridLayout> | ||
27 | #include <Q3Frame> | ||
25 | 28 | ||
26 | #include <klocale.h> | 29 | #include <klocale.h> |
27 | 30 | ||
@@ -34,8 +37,8 @@ ExtensionConfigDialog::ExtensionConfigDialog( ExtensionFactory *factory, KConfig | |||
34 | : KDialogBase( Plain, i18n( "Extension Settings" ), Ok | Cancel, Ok, parent, | 37 | : KDialogBase( Plain, i18n( "Extension Settings" ), Ok | Cancel, Ok, parent, |
35 | name, true, true ), mWidget( 0 ), mConfig( config ) | 38 | name, true, true ), mWidget( 0 ), mConfig( config ) |
36 | { | 39 | { |
37 | QFrame *page = plainPage(); | 40 | Q3Frame *page = plainPage(); |
38 | QGridLayout *layout = new QGridLayout( page, 1, 1, marginHint(), spacingHint() ); | 41 | Q3GridLayout *layout = new Q3GridLayout( page, 1, 1, marginHint(), spacingHint() ); |
39 | 42 | ||
40 | mWidget = factory->configureWidget( page, "ExtensionConfigWidget" ); | 43 | mWidget = factory->configureWidget( page, "ExtensionConfigWidget" ); |
41 | layout->addWidget( mWidget, 0, 0 ); | 44 | layout->addWidget( mWidget, 0, 0 ); |
@@ -54,6 +57,6 @@ void ExtensionConfigDialog::slotOk() | |||
54 | KDialogBase::slotOk(); | 57 | KDialogBase::slotOk(); |
55 | } | 58 | } |
56 | 59 | ||
57 | #ifndef KAB_EMBEDDED | 60 | #ifndef KAB_EMBEDDED_ |
58 | #include "extensionconfigdialog.moc" | 61 | #include "moc_extensionconfigdialog.cpp" |
59 | #endif //KAB_EMBEDDED | 62 | #endif //KAB_EMBEDDED |