• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kopete/kopete

KopeteMetaContactLVI Class Reference

#include <kopetemetacontactlvi.h>

Inheritance diagram for KopeteMetaContactLVI:

Inheritance graph
[legend]

List of all members.


Detailed Description

Author:
Martijn Klingens <klingens@kde.org>

Definition at line 50 of file kopetemetacontactlvi.h.


Public Slots

void catchEvent (Kopete::MessageEvent *)
void execute () const
void updateVisibility ()

Public Member Functions

Kopete::Contact * contactForPoint (const QPoint &p) const
QRect contactRect (const Kopete::Contact *c) const
Kopete::Group * group ()
bool isGrouped () const
bool isTopLevel () const
 KopeteMetaContactLVI (Kopete::MetaContact *contact, Q3ListView *parent)
 KopeteMetaContactLVI (Kopete::MetaContact *contact, Q3ListViewItem *parent)
 KopeteMetaContactLVI (Kopete::MetaContact *contact, KopeteGroupViewItem *parent)
Kopete::MetaContact * metaContact () const
void movedToDifferentGroup ()
KopeteGroupViewItem * parentGroup () const
Q3ListView * parentView () const
void rename (const QString &name)
virtual void setText (int column, const QString &text)
void startRename (int)
virtual QString text (int column) const
 ~KopeteMetaContactLVI ()

Protected Member Functions

void cancelRename (int col)
void okRename (int col)

Constructor & Destructor Documentation

KopeteMetaContactLVI::KopeteMetaContactLVI ( Kopete::MetaContact *  contact,
KopeteGroupViewItem *  parent 
)

Definition at line 182 of file kopetemetacontactlvi.cpp.

KopeteMetaContactLVI::KopeteMetaContactLVI ( Kopete::MetaContact *  contact,
Q3ListViewItem *  parent 
)

Definition at line 196 of file kopetemetacontactlvi.cpp.

KopeteMetaContactLVI::KopeteMetaContactLVI ( Kopete::MetaContact *  contact,
Q3ListView *  parent 
)

Definition at line 210 of file kopetemetacontactlvi.cpp.

KopeteMetaContactLVI::~KopeteMetaContactLVI (  ) 

Definition at line 280 of file kopetemetacontactlvi.cpp.


Member Function Documentation

void KopeteMetaContactLVI::cancelRename ( int  col  )  [protected]

Definition at line 633 of file kopetemetacontactlvi.cpp.

void KopeteMetaContactLVI::catchEvent ( Kopete::MessageEvent *  event  )  [slot]

Definition at line 1045 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 930 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 950 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 519 of file kopetemetacontactlvi.cpp.

Kopete::Group * KopeteMetaContactLVI::group (  ) 

Definition at line 957 of file kopetemetacontactlvi.cpp.

bool KopeteMetaContactLVI::isGrouped (  )  const

Definition at line 992 of file kopetemetacontactlvi.cpp.

bool KopeteMetaContactLVI::isTopLevel (  )  const

true if the item is at top level and not under a group

Definition at line 987 of file kopetemetacontactlvi.cpp.

Kopete::MetaContact* KopeteMetaContactLVI::metaContact (  )  const [inline]

metacontact this visual item represents

Definition at line 63 of file kopetemetacontactlvi.h.

void KopeteMetaContactLVI::movedToDifferentGroup (  ) 

call this when the item has been moved to a different group

Definition at line 287 of file kopetemetacontactlvi.cpp.

void KopeteMetaContactLVI::okRename ( int  col  )  [protected]

Definition at line 627 of file kopetemetacontactlvi.cpp.

KopeteGroupViewItem* KopeteMetaContactLVI::parentGroup (  )  const [inline]

parent when not top-level

Definition at line 79 of file kopetemetacontactlvi.h.

Q3ListView* KopeteMetaContactLVI::parentView (  )  const [inline]

parent when top-level

Definition at line 74 of file kopetemetacontactlvi.h.

void KopeteMetaContactLVI::rename ( const QString &  name  ) 

Definition at line 321 of file kopetemetacontactlvi.cpp.

void KopeteMetaContactLVI::setText ( int  column,
const QString &  text 
) [virtual]

Definition at line 1136 of file kopetemetacontactlvi.cpp.

void KopeteMetaContactLVI::startRename ( int   ) 

Definition at line 622 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 1128 of file kopetemetacontactlvi.cpp.

void KopeteMetaContactLVI::updateVisibility (  )  [slot]

Definition at line 824 of file kopetemetacontactlvi.cpp.


The documentation for this class was generated from the following files:
  • kopetemetacontactlvi.h
  • kopetemetacontactlvi.cpp

kopete/kopete

Skip menu "kopete/kopete"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal