• Skip to content
  • Skip to link menu
Brand

API Documentation

  1. KDE API Reference
  2. KDE PIM
  3. MailTransport
  • KDE Home
  • Contact Us

Quick Links

Skip menu "MailTransport"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • File List
  • Related Pages

Class Picker

About

Manage mail transport

Maintainer
Laurent Montel
Supported platforms
Android, FreeBSD, iOS, Linux, MacOSX, Windows
Community
IRC: #akonadi on Freenode
Mailing list: kde-pim
Use with CMake
find_package(KF5MailTransport)
target_link_libraries(yourapp KF5::MailTransport KF5::MailTransportAkonadi)
Use with QMake
QT += KMailTransport KMailTransportAkonadi 
Clone
git clone git://anongit.kde.org/kmailtransport.git
Browse source
MailTransport on cgit.kde.org

MailTransport

  • kde
  • pim
  • kmailtransport
  • src
  • kcm
configmodule.cpp
1 /*
2  Copyright (c) 2007 Volker Krause <[email protected]>
3 
4  This library is free software; you can redistribute it and/or modify it
5  under the terms of the GNU Library General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or (at your
7  option) any later version.
8 
9  This library is distributed in the hope that it will be useful, but WITHOUT
10  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12  License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to the
16  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17  02110-1301, USA.
18 */
19 
20 #include "configmodule.h"
21 #include "widgets/transportmanagementwidget.h"
22 
23 #include <KPluginFactory>
24 #include <KPluginLoader>
25 
26 #include <QVBoxLayout>
27 
28 using namespace MailTransport;
29 
30 K_PLUGIN_FACTORY(MailTransportConfigFactory, registerPlugin<ConfigModule>();
31  )
32 
33 ConfigModule::ConfigModule(QWidget *parent, const QVariantList &args)
34  : KCModule(parent, args)
35 {
36  setButtons(NoAdditionalButton);
37  QVBoxLayout *l = new QVBoxLayout(this);
38  l->setContentsMargins(0, 0, 0, 0);
39  TransportManagementWidget *tmw = new TransportManagementWidget(this);
40  l->addWidget(tmw);
41 }
42 
43 #include "configmodule.moc"
QWidget
QLayout::setContentsMargins
void setContentsMargins(int left, int top, int right, int bottom)
QBoxLayout::addWidget
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
MailTransport::TransportManagementWidget
A widget to manage mail transports.
Definition: transportmanagementwidget.h:34
QVBoxLayout
MailTransport
Definition: configmodule.h:25
KCModule
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sat Dec 14 2019 02:13:29 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal