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

kopete/libkopete

AccountSelector Class Reference

#include <accountselector.h>

Inheritance diagram for AccountSelector:

Inheritance graph
[legend]

List of all members.


Detailed Description

widget to select an account, based on K3ListView

Author:
Stefan Gehn <metz AT gehn.net>

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 (  ) 

Destructor.

Definition at line 86 of file accountselector.cpp.


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 (  ) 

Returns:
the currently selected account.

Definition at line 147 of file accountselector.cpp.

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:
  • accountselector.h
  • accountselector.cpp

kopete/libkopete

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