kopete/kopete
ContactListToken Class Reference
#include <contactlisttoken.h>
Inheritance diagram for ContactListToken:

Public Member Functions | |
ContactListToken (const QString &text, const QString &iconName, int value, QWidget *parent=0) | |
bool | optimalSize () const |
void | setOptimalSize (bool optimalSize) |
void | setSmall (bool small) |
bool | small () const |
![]() | |
TokenWithLayout (const QString &text, const QString &iconName, int value, QWidget *parent=0) | |
~TokenWithLayout () | |
Qt::Alignment | alignment () |
bool | bold () const |
bool | italic () const |
QString | prefix () const |
void | setAlignment (Qt::Alignment alignment) |
qreal | size () const |
QString | suffix () const |
qreal | width () const |
bool | widthForced () const |
![]() | |
Token (const QString &text, const QString &iconName, int value, QWidget *parent=0) | |
KIcon | icon () const |
QString | iconName () const |
QString | name () const |
int | value () const |
Protected Member Functions | |
virtual void | fillMenu (QMenu *menu) |
virtual void | menuExecuted (const QAction *action) |
![]() | |
virtual void | contextMenuEvent (QContextMenuEvent *event) |
![]() | |
virtual void | paintEvent (QPaintEvent *pe) |
Additional Inherited Members | |
![]() | |
void | setAlignCenter (bool) |
void | setAlignLeft (bool) |
void | setAlignRight (bool) |
void | setBold (bool bold) |
void | setItalic (bool italic) |
void | setPrefix (const QString &) |
void | setSuffix (const QString &) |
void | setWidth (int width) |
void | setWidthForced (bool) |
![]() | |
void | changed () |
![]() | |
KIcon | m_icon |
QLabel * | m_iconContainer |
QString | m_iconName |
QLabel * | m_label |
QString | m_name |
int | m_value |
Detailed Description
Definition at line 29 of file contactlisttoken.h.
Constructor & Destructor Documentation
ContactListToken::ContactListToken | ( | const QString & | text, |
const QString & | iconName, | ||
int | value, | ||
QWidget * | parent = 0 |
||
) |
Definition at line 36 of file contactlisttoken.cpp.
Member Function Documentation
|
protectedvirtual |
Reimplemented from TokenWithLayout.
Definition at line 41 of file contactlisttoken.cpp.
|
protectedvirtual |
Reimplemented from TokenWithLayout.
Definition at line 60 of file contactlisttoken.cpp.
bool ContactListToken::optimalSize | ( | ) | const |
Definition at line 87 of file contactlisttoken.cpp.
void ContactListToken::setOptimalSize | ( | bool | optimalSize | ) |
Definition at line 92 of file contactlisttoken.cpp.
void ContactListToken::setSmall | ( | bool | small | ) |
Definition at line 74 of file contactlisttoken.cpp.
bool ContactListToken::small | ( | ) | const |
Definition at line 69 of file contactlisttoken.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.