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

kopete/kopete

  • sources
  • kde-4.14
  • kdenetwork
  • kopete
  • kopete
  • identity
accountidentitydialog.h
Go to the documentation of this file.
1 /*
2  accountidentitydialog.h - Kopete Account Identity Dialog
3 
4  Copyright (c) 2007 by Gustavo Pichorim Boiko <gustavo.boiko@kdemail.net>
5 
6  Kopete (c) 2002-2007 by the Kopete developers <kopete-devel@kde.org>
7 
8  *************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  *************************************************************************
16 */
17 
18 #ifndef ACCOUNTIDENTITYDIALOG_H
19 #define ACCOUNTIDENTITYDIALOG_H
20 
21 #include <KDialog>
22 #include <kopete_export.h>
23 
24 namespace Kopete
25 {
26 class Identity;
27 class Account;
28 }
29 
35 class KOPETE_IDENTITY_EXPORT AccountIdentityDialog : public KDialog
36 {
37  Q_OBJECT
38 
39 public:
47  explicit AccountIdentityDialog( QWidget *parent = 0 );
48  ~AccountIdentityDialog();
49 
53  void setAccount(Kopete::Account *account);
54 
58  void setAccounts(QList<Kopete::Account*> accountList);
59 
63  void setMessage(const QString &text);
64 
68  void setHiddenIdentity(Kopete::Identity *ident);
69 
87  static bool changeAccountIdentity( QWidget *parent, Kopete::Account *account,
88  Kopete::Identity *hidden_ident = 0,
89  const QString &message = QString() );
102  static bool changeAccountIdentity( QWidget *parent, QList<Kopete::Account*> accountList,
103  Kopete::Identity *hidden_ident = 0,
104  const QString &message = QString() );
105 
106 private slots:
107  void slotValidate();
108  void slotIdentityListDoubleClicked();
109  void slotLoadIdentities();
110  void slotLoadAccounts();
111 
112 protected slots:
113  virtual void accept();
114  virtual void reject();
115 
116 private:
117  class Private;
118  Private * const d;
119 };
120 
121 #endif
122 
123 // vim: set noet ts=4 sts=4 sw=4:
124 
QWidget
KDialog
AccountIdentityDialog
This dialog is used to set the identity of an account.
Definition: accountidentitydialog.h:35
QString
QList< Kopete::Account * >
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/kopete

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

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



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