mailtransport
transportconfigwidget.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_TRANSPORTCONFIGWIDGET_H 00027 #define MAILTRANSPORT_TRANSPORTCONFIGWIDGET_H 00028 00029 #include <QtGui/QWidget> 00030 00031 class KConfigDialogManager; 00032 00033 namespace MailTransport { 00034 00035 class Transport; 00036 class TransportConfigWidgetPrivate; 00037 00059 class TransportConfigWidget : public QWidget 00060 { 00061 Q_OBJECT 00062 00063 public: 00070 explicit TransportConfigWidget( Transport *transport, QWidget *parent = 0 ); 00071 00075 virtual ~TransportConfigWidget(); 00076 00081 KConfigDialogManager *configManager() const; 00082 00083 public Q_SLOTS: 00091 // TODO: do we also want to check for invalid settings? 00092 virtual void apply(); 00093 00094 protected: 00095 TransportConfigWidgetPrivate *const d_ptr; 00096 TransportConfigWidget( TransportConfigWidgetPrivate &dd, 00097 Transport *transport, QWidget *parent ); 00098 00099 private: 00100 Q_DECLARE_PRIVATE( TransportConfigWidget ) 00101 00102 void init( Transport *transport ); 00103 00104 }; 00105 00106 } // namespace MailTransport 00107 00108 #endif // MAILTRANSPORT_TRANSPORTCONFIGWIDGET_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:09:04 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Aug 27 2012 22:09:04 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.