mailtransport
configmodule.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #include "configmodule.h"
00021 #include "transportmanagementwidget.h"
00022
00023 #include <kpluginfactory.h>
00024 #include <kpluginloader.h>
00025 #include <qboxlayout.h>
00026
00027 using namespace MailTransport;
00028
00029 K_PLUGIN_FACTORY( MailTransportConfigFactory, registerPlugin<ConfigModule>(); )
00030 K_EXPORT_PLUGIN( MailTransportConfigFactory( "mailtransport" ) )
00031
00032 ConfigModule::ConfigModule( QWidget * parent, const QVariantList & args ) :
00033 KCModule( MailTransportConfigFactory::componentData(), parent, args )
00034 {
00035 setButtons( 0 );
00036 QVBoxLayout *l = new QVBoxLayout( this );
00037 l->setMargin( 0 );
00038 TransportManagementWidget *tmw = new TransportManagementWidget( this );
00039 l->addWidget( tmw );
00040 }