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

kopete/libkopete

  • sources
  • kde-4.14
  • kdenetwork
  • kopete
  • libkopete
  • ui
accountselector.h
Go to the documentation of this file.
1 /*
2  accountselector.cpp - An Accountselector
3 
4  Copyright (c) 2004 by Stefan Gehn <metz AT gehn.net>
5 
6  Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
7 
8  *************************************************************************
9  * *
10  * This library is free software; you can redistribute it and/or *
11  * modify it under the terms of the GNU Lesser General Public *
12  * License as published by the Free Software Foundation; either *
13  * version 2 of the License, or (at your option) any later version. *
14  * *
15  *************************************************************************
16 */
17 
18 #ifndef ACCOUNTSELECTOR_H
19 #define ACCOUNTSELECTOR_H
20 
21 #include <QtGui/QWidget>
22 #include <kopeteprotocol.h>
23 #include "kopete_export.h"
24 
25 class AccountSelectorPrivate;
26 class Q3ListViewItem;
31 class KOPETE_EXPORT AccountSelector : public QWidget
32 {
33 Q_OBJECT
34 
35  public:
42  AccountSelector(QWidget *parent=0);
43 
51  explicit AccountSelector(Kopete::Protocol *proto, QWidget *parent=0);
52 
56  ~AccountSelector();
57 
61  void setSelected(Kopete::Account *account);
62 
67  bool isSelected(Kopete::Account *account);
68 
72  Kopete::Account *selectedItem();
73 
74  signals:
79  void selectionChanged(Kopete::Account *acc);
80 
81  private slots:
82  void slotSelectionChanged(Q3ListViewItem *item);
83 
84  private:
85  void initUI();
86 
87  private:
88  AccountSelectorPrivate *d;
89 };
90 
91 #endif
92 // vim: set noet ts=4 sts=4 sw=4:
KOPETE_EXPORT
#define KOPETE_EXPORT
Definition: kopete_export.h:27
QWidget
Kopete::Protocol
base class of every protocol.
Definition: kopeteprotocol.h:62
Q3ListViewItem
kopeteprotocol.h
kopete_export.h
AccountSelector
widget to select an account, based on K3ListView
Definition: accountselector.h:31
Kopete::Account
The Kopete::Account class handles one account.
Definition: kopeteaccount.h:72
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/libkopete

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