kaddressbook
ContactListView Class Reference
List of all members.Detailed Description
Definition at line 85 of file contactlistview.h.
Signals | |
void | startAddresseeDrag () |
void | addresseeDropped (QDropEvent *) |
Public Member Functions | |
ContactListView (KAddressBookTableView *view, KABC::AddressBook *doc, QWidget *parent, const char *name=0L) | |
virtual | ~ContactListView () |
bool | tooltips () const |
void | setToolTipsEnabled (bool enabled) |
bool | alternateBackground () const |
void | setAlternateBackgroundEnabled (bool enabled) |
bool | singleLine () const |
void | setSingleLineEnabled (bool enabled) |
const QColor & | alternateColor () const |
void | setBackgroundPixmap (const QString &filename) |
void | setShowIM (bool enabled) |
bool | showIM () |
void | setIMColumn (int column) |
int | imColumn () |
Protected Slots | |
void | itemDropped (QDropEvent *e) |
Protected Member Functions | |
virtual void | paintEmptyArea (QPainter *p, const QRect &rect) |
virtual void | contentsMousePressEvent (QMouseEvent *) |
void | contentsMouseMoveEvent (QMouseEvent *e) |
void | contentsDropEvent (QDropEvent *e) |
virtual bool | acceptDrag (QDropEvent *e) const |
Member Function Documentation
|
get the column used for IM presence
Definition at line 375 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 282 of file contactlistview.cpp. |
|
Sets the background pixmap to filename. If the QString is empty (QString::isEmpty()), then the background pixmap will be disabled. Definition at line 348 of file contactlistview.cpp. |
|
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 370 of file contactlistview.cpp. |
|
Sets whether instant messaging presence should be shown in the first column.
Definition at line 360 of file contactlistview.cpp. |
|
Is presence being shown?
Definition at line 365 of file contactlistview.cpp. |
|
Returns true if tooltips should be displayed, false otherwise.
Definition at line 99 of file contactlistview.h. |
The documentation for this class was generated from the following files: