• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.5 API Reference
  • KDE Home
  • Contact Us
 

mailtransport

smtpconfigwidget.h
00001 /*
00002     Copyright (c) 2009 Constantin Berzan <exit3219@gmail.com>
00003 
00004     Based on MailTransport code by:
00005     Copyright (c) 2006 - 2007 Volker Krause <vkrause@kde.org>
00006 
00007     Based on KMail code by:
00008     Copyright (c) 2001-2002 Michael Haeckel <haeckel@kde.org>
00009 
00010     This library is free software; you can redistribute it and/or modify it
00011     under the terms of the GNU Library General Public License as published by
00012     the Free Software Foundation; either version 2 of the License, or (at your
00013     option) any later version.
00014 
00015     This library is distributed in the hope that it will be useful, but WITHOUT
00016     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00017     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00018     License for more details.
00019 
00020     You should have received a copy of the GNU Library General Public License
00021     along with this library; see the file COPYING.LIB.  If not, write to the
00022     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00023     02110-1301, USA.
00024 */
00025 
00026 #ifndef MAILTRANSPORT_SMTPCONFIGWIDGET_H
00027 #define MAILTRANSPORT_SMTPCONFIGWIDGET_H
00028 
00029 #include "transportconfigwidget.h"
00030 
00031 namespace MailTransport {
00032 
00033 class Transport;
00034 
00038 class SMTPConfigWidgetPrivate;
00039 
00044 class SMTPConfigWidget : public TransportConfigWidget
00045 {
00046   Q_OBJECT
00047 
00048   public:
00049     explicit SMTPConfigWidget( Transport *transport, QWidget *parent = 0 );
00050     //virtual ~SMTPConfigWidget();
00051 
00052   public Q_SLOTS:
00054     virtual void apply();
00055 
00056   protected:
00057     // TODO probably not needed since no one will inherit from us
00058     SMTPConfigWidget( SMTPConfigWidgetPrivate &dd, Transport *transport, QWidget *parent );
00059 
00060   private Q_SLOTS:
00061     void checkSmtpCapabilities();
00062     void passwordsLoaded();
00063     void slotFinished( QList<int> results );
00064     void hostNameChanged( const QString &text );
00065     void encryptionChanged( int enc );
00066     void ensureValidAuthSelection();
00067 
00068   private:
00069     Q_DECLARE_PRIVATE( SMTPConfigWidget )
00070 
00071     void init();
00072 
00073 };
00074 
00075 } // namespace MailTransport
00076 
00077 #endif // MAILTRANSPORT_SMTPCONFIGWIDGET_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:09:03 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

mailtransport

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

kdepimlibs-4.8.5 API Reference

Skip menu "kdepimlibs-4.8.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
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