mailtransport
#include <transportconfigwidget.h>

Public Slots | |
virtual void | apply () |
Public Member Functions | |
TransportConfigWidget (Transport *transport, QWidget *parent=0) | |
virtual | ~TransportConfigWidget () |
KConfigDialogManager * | configManager () const |
Protected Member Functions | |
TransportConfigWidget (TransportConfigWidgetPrivate &dd, Transport *transport, QWidget *parent) | |
Protected Attributes | |
TransportConfigWidgetPrivate *const | d_ptr |
Detailed Description
Abstract configuration widget for a mail transport. It makes sure that the configured transport has a unique name, and takes care of writing its settings to the config file. If it is a new transport, the caller must still call TransportManager::addTransport() to register the transport.
Concrete configuration is done in subclasses SMTPConfigWidget and SendmailConfigWidget. Akonadi-type transports are not configured by MailTransport directly, instead the configure() method of their agent instance is called.
To configure a transport from applications, use TransportManager::configureTransport(). You still need to call TransportManager::addTransport() if this is a new transport, not registered with TransportManager.
- Since
- 4.4
Definition at line 59 of file transportconfigwidget.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new mail transport configuration widget for the given Transport object.
- Parameters
-
transport The Transport object to configure. parent The parent widget.
Definition at line 37 of file transportconfigwidget.cpp.
|
virtual |
Destroys the widget.
Definition at line 50 of file transportconfigwidget.cpp.
Member Function Documentation
|
virtualslot |
Saves the transport's settings.
The base implementation writes the settings to the config file and makes sure the transport has a unique name. Reimplement in derived classes to save your custom settings, and call the base implementation.
Definition at line 73 of file transportconfigwidget.cpp.
KConfigDialogManager * TransportConfigWidget::configManager | ( | ) | const |
Get the KConfigDialogManager for this widget.
Definition at line 66 of file transportconfigwidget.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:26:54 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.