• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

mailtransport

transporttypedialog.cpp

00001 /*
00002     Copyright (c) 2006 - 2007 Volker Krause <vkrause@kde.org>
00003 
00004     Based on KMail code by:
00005     Copyright (C) 2001-2003 Marc Mutz <mutz@kde.org>
00006 
00007     This library is free software; you can redistribute it and/or modify it
00008     under the terms of the GNU Library General Public License as published by
00009     the Free Software Foundation; either version 2 of the License, or (at your
00010     option) any later version.
00011 
00012     This library is distributed in the hope that it will be useful, but WITHOUT
00013     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00014     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00015     License for more details.
00016 
00017     You should have received a copy of the GNU Library General Public License
00018     along with this library; see the file COPYING.LIB.  If not, write to the
00019     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00020     02110-1301, USA.
00021 */
00022 
00023 #include "transporttypedialog.h"
00024 #include "ui_transporttypedialog.h"
00025 
00030 class TransportTypeDialogPrivate
00031 {
00032   public:
00033     KButtonGroup* buttonGroup;
00034 };
00035 
00036 using namespace MailTransport;
00037 
00038 TransportTypeDialog::TransportTypeDialog(QWidget * parent) :
00039     KDialog( parent ), d( new TransportTypeDialogPrivate )
00040 {
00041   setCaption( i18n("Add Transport") );
00042   setButtons( Ok|Cancel );
00043   Ui::TransportTypeDialog ui;
00044   ui.setupUi( mainWidget() );
00045   d->buttonGroup = ui.kcfg_type;
00046 }
00047 
00048 TransportTypeDialog::~TransportTypeDialog()
00049 {
00050    delete d;
00051 }
00052 
00053 int TransportTypeDialog::transportType() const
00054 {
00055   return d->buttonGroup->selected();
00056 }

mailtransport

Skip menu "mailtransport"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal