kaddressbook
ContactListView Class Reference
#include <contactlistview.h>

Detailed Description
Definition at line 86 of file contactlistview.h.
Signals | |
| void | addresseeDropped (QDropEvent *) |
| void | startAddresseeDrag () |
Public Member Functions | |
| bool | alternateBackground () const |
| const QColor & | alternateColor () const |
| ContactListView (KAddressBookTableView *view, KABC::AddressBook *doc, QWidget *parent, const char *name=0L) | |
| int | imColumn () |
| void | setAlternateBackgroundEnabled (bool enabled) |
| void | setBackgroundPixmap (const QString &filename) |
| void | setIMColumn (int column) |
| void | setShowIM (bool enabled) |
| void | setSingleLineEnabled (bool enabled) |
| void | setToolTipsEnabled (bool enabled) |
| bool | showIM () |
| bool | singleLine () const |
| bool | tooltips () const |
| virtual | ~ContactListView () |
Protected Slots | |
| void | itemDropped (QDropEvent *e) |
Protected Member Functions | |
| virtual bool | acceptDrag (QDropEvent *e) const |
| void | contentsDropEvent (QDropEvent *e) |
| void | contentsMouseMoveEvent (QMouseEvent *e) |
| virtual void | contentsMousePressEvent (QMouseEvent *) |
| virtual void | paintEmptyArea (QPainter *p, const QRect &rect) |
Constructor & Destructor Documentation
| ContactListView::ContactListView | ( | KAddressBookTableView * | view, | |
| KABC::AddressBook * | doc, | |||
| QWidget * | parent, | |||
| const char * | name = 0L | |||
| ) |
Definition at line 253 of file contactlistview.cpp.
| virtual ContactListView::~ContactListView | ( | ) | [inline, virtual] |
Definition at line 95 of file contactlistview.h.
Member Function Documentation
| bool ContactListView::acceptDrag | ( | QDropEvent * | e | ) | const [protected, virtual] |
Definition at line 321 of file contactlistview.cpp.
| void ContactListView::addresseeDropped | ( | QDropEvent * | ) | [signal] |
| bool ContactListView::alternateBackground | ( | ) | const [inline] |
Definition at line 103 of file contactlistview.h.
| const QColor& ContactListView::alternateColor | ( | ) | const [inline] |
Definition at line 109 of file contactlistview.h.
| void ContactListView::contentsDropEvent | ( | QDropEvent * | e | ) | [protected] |
Definition at line 331 of file contactlistview.cpp.
| void ContactListView::contentsMouseMoveEvent | ( | QMouseEvent * | e | ) | [protected] |
Definition at line 312 of file contactlistview.cpp.
| void ContactListView::contentsMousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Definition at line 304 of file contactlistview.cpp.
| int ContactListView::imColumn | ( | ) |
| void ContactListView::itemDropped | ( | QDropEvent * | e | ) | [protected, slot] |
Definition at line 326 of file contactlistview.cpp.
Paints the background pixmap in the empty area.
This method is needed since Qt::FixedPixmap will not scroll with the list view.
Definition at line 284 of file contactlistview.cpp.
| void ContactListView::setAlternateBackgroundEnabled | ( | bool | enabled | ) |
Definition at line 336 of file contactlistview.cpp.
| void ContactListView::setBackgroundPixmap | ( | const QString & | filename | ) |
Sets the background pixmap to filename.
If the QString is empty (QString::isEmpty()), then the background pixmap will be disabled.
Definition at line 350 of file contactlistview.cpp.
| void ContactListView::setIMColumn | ( | int | column | ) |
Set the column index of the column used for instant messaging presence.
This method is necessary because presence, unlike the other fields, is not a KABC::Field, and cannot be handled using their methods. TODO: make presence a KABC::Field post 3.3
Definition at line 374 of file contactlistview.cpp.
| void ContactListView::setShowIM | ( | bool | enabled | ) |
Sets whether instant messaging presence should be shown in the first column.
Definition at line 364 of file contactlistview.cpp.
| void ContactListView::setSingleLineEnabled | ( | bool | enabled | ) | [inline] |
Definition at line 107 of file contactlistview.h.
| void ContactListView::setToolTipsEnabled | ( | bool | enabled | ) | [inline] |
Definition at line 101 of file contactlistview.h.
| bool ContactListView::showIM | ( | ) |
| bool ContactListView::singleLine | ( | ) | const [inline] |
Definition at line 106 of file contactlistview.h.
| void ContactListView::startAddresseeDrag | ( | ) | [signal] |
| bool ContactListView::tooltips | ( | ) | const [inline] |
Returns true if tooltips should be displayed, false otherwise.
Definition at line 100 of file contactlistview.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference