summaryrefslogtreecommitdiffabout
path: root/kaddressbook/kcmconfigs/kcmkabconfig.cpp
authorzautrix <zautrix>2004-07-03 22:32:36 (UTC)
committer zautrix <zautrix>2004-07-03 22:32:36 (UTC)
commit00fe3539778c859d22f595e516733b3cc792e167 (patch) (side-by-side diff)
tree0970b0a64c63395a0d66f1debe8226501b08e7ea /kaddressbook/kcmconfigs/kcmkabconfig.cpp
parent5e59162e6eb6603610d1ca4c96d5d97acae0f60b (diff)
downloadkdepimpi-00fe3539778c859d22f595e516733b3cc792e167.zip
kdepimpi-00fe3539778c859d22f595e516733b3cc792e167.tar.gz
kdepimpi-00fe3539778c859d22f595e516733b3cc792e167.tar.bz2
Made configure kaddressbook dialog fitting on 5500 display
Diffstat (limited to 'kaddressbook/kcmconfigs/kcmkabconfig.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/kcmconfigs/kcmkabconfig.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/kaddressbook/kcmconfigs/kcmkabconfig.cpp b/kaddressbook/kcmconfigs/kcmkabconfig.cpp
index 791a940..a278042 100644
--- a/kaddressbook/kcmconfigs/kcmkabconfig.cpp
+++ b/kaddressbook/kcmconfigs/kcmkabconfig.cpp
@@ -23,35 +23,39 @@
#include <qlayout.h>
#ifndef KAB_EMBEDDED
#include <kaboutdata.h>
#endif //KAB_EMBEDDED
#include <kdebug.h>
#include <klocale.h>
+#include <stdlib.h>
#include "kabconfigwidget.h"
#include "kcmkabconfig.h"
extern "C"
{
KCModule *create_kabconfig( QWidget *parent, const char * ) {
return new KCMKabConfig( parent, "kcmkabconfig" );
}
}
KCMKabConfig::KCMKabConfig( QWidget *parent, const char *name )
: KCModule( parent, name )
{
+ //abort();
QVBoxLayout *layout = new QVBoxLayout( this );
mConfigWidget = new KABConfigWidget( this, "mConfigWidget" );
layout->addWidget( mConfigWidget );
-
+ layout->setSpacing( 0 );
+ layout->setMargin( 0 );
+
connect( mConfigWidget, SIGNAL( changed( bool ) ), SIGNAL( changed( bool ) ) );
load();
}
void KCMKabConfig::load()
{
mConfigWidget->restoreSettings();
}