kopete/libkopete
AccountSelector Class Reference
#include <accountselector.h>
Inheritance diagram for AccountSelector:

Detailed Description
widget to select an account, based on K3ListView
Definition at line 31 of file accountselector.h.
Signals | |
| void | selectionChanged (Kopete::Account *acc) |
Public Member Functions | |
| AccountSelector (QWidget *parent=0) | |
| AccountSelector (Kopete::Protocol *proto, QWidget *parent=0) | |
| ~AccountSelector () | |
| void | setSelected (Kopete::Account *account) |
| bool | isSelected (Kopete::Account *account) |
| Kopete::Account * | selectedItem () |
Constructor & Destructor Documentation
| AccountSelector::AccountSelector | ( | QWidget * | parent = 0 |
) |
Constructor.
The parameter parent is handled by K3ListView.
Definition at line 67 of file accountselector.cpp.
| AccountSelector::AccountSelector | ( | Kopete::Protocol * | proto, | |
| QWidget * | parent = 0 | |||
| ) | [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 77 of file accountselector.cpp.
| AccountSelector::~AccountSelector | ( | ) |
Member Function Documentation
| void AccountSelector::setSelected | ( | Kopete::Account * | account | ) |
Select account in the list, in case it's part of the list.
Definition at line 115 of file accountselector.cpp.
| 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 132 of file accountselector.cpp.
| Kopete::Account * AccountSelector::selectedItem | ( | ) |
| void AccountSelector::selectionChanged | ( | Kopete::Account * | acc | ) | [signal] |
Emitted whenever the selection changed, acc is a pointer to the newly selected account.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference