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

kopete/libkopete

Signals | Public Member Functions | List of all members
AccountSelector Class Reference

#include <accountselector.h>

Inheritance diagram for AccountSelector:
Inheritance graph
[legend]

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

Author
Stefan Gehn <metz AT gehn.net>

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.

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 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.

void AccountSelector::selectionChanged ( Kopete::Account *  acc)
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:
  • accountselector.h
  • accountselector.cpp
This file is part of the KDE documentation.
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.

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