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 <QBoxLayout>
00024
00025 #include <KPluginFactory>
00026 #include <KPluginLoader>
00027
00028 using namespace MailTransport;
00029
00030 K_PLUGIN_FACTORY( MailTransportConfigFactory, registerPlugin<ConfigModule>(); )
00031 K_EXPORT_PLUGIN( MailTransportConfigFactory( "mailtransport", "libmailtransport" ) )
00032
00033 ConfigModule::ConfigModule( QWidget * parent, const QVariantList & args ) :
00034 KCModule( MailTransportConfigFactory::componentData(), parent, args )
00035 {
00036 setButtons( 0 );
00037 QVBoxLayout *l = new QVBoxLayout( this );
00038 l->setMargin( 0 );
00039 TransportManagementWidget *tmw = new TransportManagementWidget( this );
00040 l->addWidget( tmw );
00041 }