kabc
KABC::AddresseeItem Class Reference
#include <addresseedialog.h>
Inheritance diagram for KABC::AddresseeItem:
Public Types | |
enum | Columns { Name = 0, Email = 1 } |
Public Member Functions | |
AddresseeItem (QTreeWidget *parent, const Addressee &addressee) | |
~AddresseeItem () | |
Addressee | addressee () const |
virtual QString | key (int column, bool ascending) const |
Public Member Functions inherited from QTreeWidgetItem | |
QTreeWidgetItem (int type) | |
QTreeWidgetItem (const QStringList &strings, int type) | |
QTreeWidgetItem (QTreeWidget *parent, const QStringList &strings, int type) | |
QTreeWidgetItem (QTreeWidgetItem *parent, QTreeWidgetItem *preceding, int type) | |
QTreeWidgetItem (const QTreeWidgetItem &other) | |
QTreeWidgetItem (QTreeWidget *parent, QTreeWidgetItem *preceding, int type) | |
QTreeWidgetItem (QTreeWidget *parent, int type) | |
QTreeWidgetItem (QTreeWidgetItem *parent, int type) | |
QTreeWidgetItem (QTreeWidgetItem *parent, const QStringList &strings, int type) | |
void | addChild (QTreeWidgetItem *child) |
void | addChildren (const QList< QTreeWidgetItem * > &children) |
QBrush | background (int column) const |
QColor | backgroundColor (int column) const |
Qt::CheckState | checkState (int column) const |
QTreeWidgetItem * | child (int index) const |
int | childCount () const |
QTreeWidgetItem::ChildIndicatorPolicy | childIndicatorPolicy () const |
virtual QTreeWidgetItem * | clone () const |
int | columnCount () const |
virtual QVariant | data (int column, int role) const |
Qt::ItemFlags | flags () const |
QFont | font (int column) const |
QBrush | foreground (int column) const |
QIcon | icon (int column) const |
int | indexOfChild (QTreeWidgetItem *child) const |
void | insertChild (int index, QTreeWidgetItem *child) |
void | insertChildren (int index, const QList< QTreeWidgetItem * > &children) |
bool | isDisabled () const |
bool | isExpanded () const |
bool | isFirstColumnSpanned () const |
bool | isHidden () const |
bool | isSelected () const |
virtual bool | operator< (const QTreeWidgetItem &other) const |
QTreeWidgetItem & | operator= (const QTreeWidgetItem &other) |
QTreeWidgetItem * | parent () const |
virtual void | read (QDataStream &in) |
void | removeChild (QTreeWidgetItem *child) |
void | setBackground (int column, const QBrush &brush) |
void | setBackgroundColor (int column, const QColor &color) |
void | setCheckState (int column, Qt::CheckState state) |
void | setChildIndicatorPolicy (QTreeWidgetItem::ChildIndicatorPolicy policy) |
virtual void | setData (int column, int role, const QVariant &value) |
void | setDisabled (bool disabled) |
void | setExpanded (bool expand) |
void | setFirstColumnSpanned (bool span) |
void | setFlags (QFlags< Qt::ItemFlag > flags) |
void | setFont (int column, const QFont &font) |
void | setForeground (int column, const QBrush &brush) |
void | setHidden (bool hide) |
void | setIcon (int column, const QIcon &icon) |
void | setSelected (bool select) |
void | setSizeHint (int column, const QSize &size) |
void | setStatusTip (int column, const QString &statusTip) |
void | setText (int column, const QString &text) |
void | setTextAlignment (int column, int alignment) |
void | setTextColor (int column, const QColor &color) |
void | setToolTip (int column, const QString &toolTip) |
void | setWhatsThis (int column, const QString &whatsThis) |
QSize | sizeHint (int column) const |
void | sortChildren (int column, Qt::SortOrder order) |
QString | statusTip (int column) const |
QTreeWidgetItem * | takeChild (int index) |
QList< QTreeWidgetItem * > | takeChildren () |
QString | text (int column) const |
int | textAlignment (int column) const |
QColor | textColor (int column) const |
QString | toolTip (int column) const |
QTreeWidget * | treeWidget () const |
int | type () const |
QString | whatsThis (int column) const |
virtual void | write (QDataStream &out) const |
Additional Inherited Members | |
Protected Member Functions inherited from QTreeWidgetItem | |
void | emitDataChanged () |
Detailed Description
Special ListViewItem, that is used by the AddresseeDialog.
Definition at line 43 of file addresseedialog.h.
Member Enumeration Documentation
Type of column.
Enumerator | |
---|---|
Name |
Addressee name. |
Addressee email. |
Definition at line 50 of file addresseedialog.h.
Constructor & Destructor Documentation
AddresseeItem::AddresseeItem | ( | QTreeWidget * | parent, |
const Addressee & | addressee | ||
) |
Constructor.
- Parameters
-
parent The parent listview. addressee The associated addressee.
Definition at line 43 of file addresseedialog.cpp.
AddresseeItem::~AddresseeItem | ( | ) |
Destroys the item.
Definition at line 52 of file addresseedialog.cpp.
Member Function Documentation
Addressee AddresseeItem::addressee | ( | ) | const |
Returns the addressee.
Definition at line 57 of file addresseedialog.cpp.
|
virtual |
Method used by QListView to sort the items.
Definition at line 62 of file addresseedialog.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.