kopete/kopete
KopeteMetaContactLVI Class Reference
#include <kopetemetacontactlvi.h>

Detailed Description
Definition at line 50 of file kopetemetacontactlvi.h.
Public Slots | |
| void | execute () const |
| void | catchEvent (Kopete::MessageEvent *) |
| void | updateVisibility () |
Public Member Functions | |
| KopeteMetaContactLVI (Kopete::MetaContact *contact, KopeteGroupViewItem *parent) | |
| KopeteMetaContactLVI (Kopete::MetaContact *contact, Q3ListViewItem *parent) | |
| KopeteMetaContactLVI (Kopete::MetaContact *contact, Q3ListView *parent) | |
| ~KopeteMetaContactLVI () | |
| Kopete::MetaContact * | metaContact () const |
| bool | isTopLevel () const |
| Q3ListView * | parentView () const |
| KopeteGroupViewItem * | parentGroup () const |
| void | movedToDifferentGroup () |
| void | rename (const QString &name) |
| void | startRename (int) |
| Kopete::Group * | group () |
| Kopete::Contact * | contactForPoint (const QPoint &p) const |
| QRect | contactRect (const Kopete::Contact *c) const |
| bool | isGrouped () const |
| virtual QString | text (int column) const |
| virtual void | setText (int column, const QString &text) |
Protected Member Functions | |
| void | okRename (int col) |
| void | cancelRename (int col) |
Constructor & Destructor Documentation
| KopeteMetaContactLVI::KopeteMetaContactLVI | ( | Kopete::MetaContact * | contact, | |
| KopeteGroupViewItem * | parent | |||
| ) |
Definition at line 183 of file kopetemetacontactlvi.cpp.
| KopeteMetaContactLVI::KopeteMetaContactLVI | ( | Kopete::MetaContact * | contact, | |
| Q3ListViewItem * | parent | |||
| ) |
Definition at line 197 of file kopetemetacontactlvi.cpp.
| KopeteMetaContactLVI::KopeteMetaContactLVI | ( | Kopete::MetaContact * | contact, | |
| Q3ListView * | parent | |||
| ) |
Definition at line 211 of file kopetemetacontactlvi.cpp.
| KopeteMetaContactLVI::~KopeteMetaContactLVI | ( | ) |
Definition at line 281 of file kopetemetacontactlvi.cpp.
Member Function Documentation
| Kopete::MetaContact* KopeteMetaContactLVI::metaContact | ( | ) | const [inline] |
| bool KopeteMetaContactLVI::isTopLevel | ( | ) | const |
true if the item is at top level and not under a group
Definition at line 990 of file kopetemetacontactlvi.cpp.
| Q3ListView* KopeteMetaContactLVI::parentView | ( | ) | const [inline] |
| KopeteGroupViewItem* KopeteMetaContactLVI::parentGroup | ( | ) | const [inline] |
| void KopeteMetaContactLVI::movedToDifferentGroup | ( | ) |
call this when the item has been moved to a different group
Definition at line 288 of file kopetemetacontactlvi.cpp.
| void KopeteMetaContactLVI::rename | ( | const QString & | name | ) |
Definition at line 322 of file kopetemetacontactlvi.cpp.
| void KopeteMetaContactLVI::startRename | ( | int | ) |
Definition at line 625 of file kopetemetacontactlvi.cpp.
| Kopete::Group * KopeteMetaContactLVI::group | ( | ) |
Definition at line 960 of file kopetemetacontactlvi.cpp.
| Kopete::Contact * KopeteMetaContactLVI::contactForPoint | ( | const QPoint & | p | ) | const |
Returns the Kopete::Contact of the small little icon at the point p.
- Parameters:
-
p must be in the list view item's coordinate system. Returns a null pointer if p is not on a small icon. (This is used for e.g. the context-menu of a contact when right-clicking an icon, or the tooltips)
Definition at line 933 of file kopetemetacontactlvi.cpp.
| QRect KopeteMetaContactLVI::contactRect | ( | const Kopete::Contact * | c | ) | const |
Returns the QRect small little icon used for the Kopete::Contact.
The behavior is undefined if
- Parameters:
-
c doesn't point to a valid Kopete::Contact for this list view item. The returned QRect is using the list view item's coordinate system and should probably be transformed into the list view's coordinates before being of any practical use. Note that the returned Rect is always vertically stretched to fill the full list view item's height, only the width is relative to the actual icon width.
Definition at line 953 of file kopetemetacontactlvi.cpp.
| bool KopeteMetaContactLVI::isGrouped | ( | ) | const |
Definition at line 995 of file kopetemetacontactlvi.cpp.
| QString KopeteMetaContactLVI::text | ( | int | column | ) | const [virtual] |
reimplemented from K3ListViewItem to take into account our alternate text storage
Definition at line 1123 of file kopetemetacontactlvi.cpp.
| void KopeteMetaContactLVI::setText | ( | int | column, | |
| const QString & | text | |||
| ) | [virtual] |
Definition at line 1131 of file kopetemetacontactlvi.cpp.
| void KopeteMetaContactLVI::execute | ( | ) | const [slot] |
Call the meta contact's execute as I don't want to expose m_contact directly.
Definition at line 522 of file kopetemetacontactlvi.cpp.
| void KopeteMetaContactLVI::catchEvent | ( | Kopete::MessageEvent * | event | ) | [slot] |
Definition at line 1048 of file kopetemetacontactlvi.cpp.
| void KopeteMetaContactLVI::updateVisibility | ( | ) | [slot] |
Definition at line 827 of file kopetemetacontactlvi.cpp.
| void KopeteMetaContactLVI::okRename | ( | int | col | ) | [protected] |
Definition at line 630 of file kopetemetacontactlvi.cpp.
| void KopeteMetaContactLVI::cancelRename | ( | int | col | ) | [protected] |
Definition at line 636 of file kopetemetacontactlvi.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference