author | zautrix <zautrix> | 2005-04-02 14:32:10 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-02 14:32:10 (UTC) |
commit | 470327bf20835778a29cd2ce9414baa0cc176829 (patch) (side-by-side diff) | |
tree | 49e20b05c117ddbee53fa3dda10768b012594b14 /kaddressbook | |
parent | b0d17f8f2ef9b09b7d8b8aa0f6cc34f400f8fddd (diff) | |
download | kdepimpi-470327bf20835778a29cd2ce9414baa0cc176829.zip kdepimpi-470327bf20835778a29cd2ce9414baa0cc176829.tar.gz kdepimpi-470327bf20835778a29cd2ce9414baa0cc176829.tar.bz2 |
fixes
-rw-r--r-- | kaddressbook/kcmconfigs/kabconfigwidget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kaddressbook/kcmconfigs/kabconfigwidget.cpp b/kaddressbook/kcmconfigs/kabconfigwidget.cpp index 986c9b8..8a4dd3d 100644 --- a/kaddressbook/kcmconfigs/kabconfigwidget.cpp +++ b/kaddressbook/kcmconfigs/kabconfigwidget.cpp @@ -46,24 +46,25 @@ #include <ktrader.h> #else // KAB_EMBEDDED #include <mergewidget.h> #include <distributionlistwidget.h> #endif // KAB_EMBEDDED #include "addresseewidget.h" #include "extensionconfigdialog.h" #include "extensionwidget.h" #include "kabprefs.h" #include "kabconfigwidget.h" +#include <kglobalsettings.h> class ExtensionItem : public QCheckListItem { public: #ifndef KAB_EMBEDDED ExtensionItem( QListView *parent, const QString &text ); void setService( const KService::Ptr &ptr ); #else //KAB_EMBEDDED ExtensionItem( QListView *parent, const QString &text, const QString &name, const QString &comment ); void setFactory( ExtensionFactory* fac ); #endif //KAB_EMBEDDED @@ -79,26 +80,27 @@ class ExtensionItem : public QCheckListItem #else //KAB_EMBEDDED ExtensionFactory* mFactory; QString mName; QString mComment; #endif //KAB_EMBEDDED }; KABConfigWidget::KABConfigWidget( KABPrefs* prefs, QWidget *parent, const char *name ) : KPrefsWidget( prefs, parent, name ) { + QVBoxLayout *topLayout = new QVBoxLayout( this, 0, - KDialog::spacingHint() ); + KDialog::spacingHintSmall() ); QTabWidget *tabWidget = new QTabWidget( this ); topLayout->addWidget( tabWidget ); // General page QWidget *generalPage = new QWidget( this ); QVBoxLayout *layout = new QVBoxLayout( generalPage, KDialog::marginHintSmall(), KDialog::spacingHintSmall() ); QWidget *hBox = new QWidget( generalPage, "qhbox" ); QHBoxLayout *hboxLayout = new QHBoxLayout( hBox); |