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

kopete/kopete

accountidentitydialog.h

Go to the documentation of this file.
00001 /*
00002     accountidentitydialog.h - Kopete Account Identity Dialog
00003 
00004     Copyright (c) 2007      by Gustavo Pichorim Boiko <gustavo.boiko@kdemail.net>
00005 
00006     Kopete    (c) 2002-2007 by the Kopete developers <kopete-devel@kde.org>
00007 
00008     *************************************************************************
00009     *                                                                       *
00010     * This program is free software; you can redistribute it and/or modify  *
00011     * it under the terms of the GNU General Public License as published by  *
00012     * the Free Software Foundation; either version 2 of the License, or     *
00013     * (at your option) any later version.                                   *
00014     *                                                                       *
00015     *************************************************************************
00016 */
00017 
00018 #ifndef ACCOUNTIDENTITYDIALOG_H
00019 #define ACCOUNTIDENTITYDIALOG_H
00020 
00021 #include <KDialog>
00022 #include <kopete_export.h>
00023 
00024 namespace Kopete
00025 {
00026 class Identity;
00027 class Account;
00028 }
00029 
00035 class KOPETE_IDENTITY_EXPORT AccountIdentityDialog : public KDialog
00036 {
00037     Q_OBJECT
00038 
00039 public:
00047     explicit AccountIdentityDialog( QWidget *parent = 0 );
00048     ~AccountIdentityDialog();
00049 
00053     void setAccount(Kopete::Account *account);
00054 
00058     void setAccounts(QList<Kopete::Account*> accountList);
00059 
00063     void setMessage(const QString &text);
00064 
00068     void setHiddenIdentity(Kopete::Identity *ident);
00069 
00087     static bool changeAccountIdentity( QWidget *parent, Kopete::Account *account, 
00088                                         Kopete::Identity *hidden_ident = 0,
00089                                         const QString &message = QString() );
00102     static bool changeAccountIdentity( QWidget *parent, QList<Kopete::Account*> accountList, 
00103                                         Kopete::Identity *hidden_ident = 0,
00104                                         const QString &message = QString() );
00105 
00106 private slots:
00107     void slotValidate();
00108     void slotIdentityListDoubleClicked();
00109     void slotLoadIdentities();
00110     void slotLoadAccounts();
00111 
00112 protected slots:
00113     virtual void accept();
00114     virtual void reject();
00115 
00116 private:
00117     class Private;
00118     Private *d;
00119 };
00120 
00121 #endif
00122 
00123 // vim: set noet ts=4 sts=4 sw=4:
00124 

kopete/kopete

Skip menu "kopete/kopete"
  • 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