• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kopete/libkopete

editaccountwidget.h

Go to the documentation of this file.
00001 /*
00002     editaccountwidget.h - Kopete Account Widget
00003 
00004     Copyright (c) 2002-2003 by Martijn Klingens      <klingens@kde.org>
00005     Copyright (c) 2003      by Olivier Goffart       <ogoffart@kde.org>
00006 
00007     Kopete    (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org>
00008 
00009     *************************************************************************
00010     *                                                                       *
00011     * This library is free software; you can redistribute it and/or         *
00012     * modify it under the terms of the GNU Lesser General Public            *
00013     * License as published by the Free Software Foundation; either          *
00014     * version 2 of the License, or (at your option) any later version.      *
00015     *                                                                       *
00016     *************************************************************************
00017 */
00018 
00019 #ifndef EDITACCOUNTWIDGET_H
00020 #define EDITACCOUNTWIDGET_H
00021 
00022 #include "kopete_export.h"
00023 
00024 namespace Kopete
00025 {
00026 class Account;
00027 }
00028 
00029 class KopeteEditAccountWidgetPrivate;
00030 
00055 class KOPETE_EXPORT KopeteEditAccountWidget
00056 {
00057 public:
00064     explicit KopeteEditAccountWidget( Kopete::Account *account );
00065 
00069     virtual ~KopeteEditAccountWidget();
00070 
00075     virtual bool validateData() = 0;
00076 
00081     virtual Kopete::Account *apply() = 0;
00082 
00083 protected:
00088     Kopete::Account * account() const;
00089 
00093     // FIXME: Is it possible to make the API not require this? A const account
00094     //        in this widget seems a lot cleaner to me - Martijn
00095     void setAccount( Kopete::Account *account );
00096 
00097 private:
00098     KopeteEditAccountWidgetPrivate *d;
00099 };
00100 
00101 // vim: set noet ts=4 sts=4 sw=4:
00102 
00103 #endif
00104 

kopete/libkopete

Skip menu "kopete/libkopete"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
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