kopete/libkopete
#include <accountselector.h>
Signals | |
void | selectionChanged (Kopete::Account *acc) |
Public Member Functions | |
AccountSelector (QWidget *parent=0) | |
AccountSelector (Kopete::Protocol *proto, QWidget *parent=0) | |
~AccountSelector () | |
bool | isSelected (Kopete::Account *account) |
Kopete::Account * | selectedItem () |
void | setSelected (Kopete::Account *account) |
Detailed Description
widget to select an account, based on K3ListView
Definition at line 31 of file accountselector.h.
Constructor & Destructor Documentation
AccountSelector::AccountSelector | ( | QWidget * | parent = 0 | ) |
Constructor.
The parameter parent
is handled by K3ListView.
Definition at line 66 of file accountselector.cpp.
|
explicit |
Constructor for a list of accounts for one protocol only.
The parameters parent
is handled by K3ListView. proto
defines the protocol whose accounts are shown in the list
Definition at line 76 of file accountselector.cpp.
AccountSelector::~AccountSelector | ( | ) |
Destructor.
Definition at line 85 of file accountselector.cpp.
Member Function Documentation
bool AccountSelector::isSelected | ( | Kopete::Account * | account | ) |
Returns true in case account
is in the list and the currently selected item, false otherwise.
Definition at line 131 of file accountselector.cpp.
Kopete::Account * AccountSelector::selectedItem | ( | ) |
- Returns
- the currently selected account.
Definition at line 146 of file accountselector.cpp.
|
signal |
Emitted whenever the selection changed, acc
is a pointer to the newly selected account.
void AccountSelector::setSelected | ( | Kopete::Account * | account | ) |
Select account
in the list, in case it's part of the list.
Definition at line 114 of file accountselector.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.