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

kopete/libkopete

  • Kopete
  • UI
  • ListView
  • ComponentBase
Public Member Functions | Protected Member Functions | List of all members
Kopete::UI::ListView::ComponentBase Class Referenceabstract

#include <kopetelistviewitem.h>

Inheritance diagram for Kopete::UI::ListView::ComponentBase:
Inheritance graph
[legend]

Public Member Functions

 ComponentBase ()
 
virtual ~ComponentBase ()=0
 
Component * component (uint n)
 
Component * componentAt (const QPoint &pt)
 
uint components ()
 
virtual void relayout ()=0
 
virtual void repaint ()=0
 
virtual std::pair< QString, QRect > toolTip (const QPoint &relativePos)
 

Protected Member Functions

virtual void clear ()
 
virtual void componentAdded (Component *component)
 
virtual void componentRemoved (Component *component)
 
virtual void componentResized (Component *component)
 
void updateAnimationPosition (int p, int s)
 

Detailed Description

Definition at line 36 of file kopetelistviewitem.h.

Constructor & Destructor Documentation

Kopete::UI::ListView::ComponentBase::ComponentBase ( )

Definition at line 52 of file kopetelistviewitem.cpp.

Kopete::UI::ListView::ComponentBase::~ComponentBase ( )
pure virtual

Definition at line 57 of file kopetelistviewitem.cpp.

Member Function Documentation

void Kopete::UI::ListView::ComponentBase::clear ( )
protectedvirtual

Remove all children.

Definition at line 100 of file kopetelistviewitem.cpp.

Component * Kopete::UI::ListView::ComponentBase::component ( uint  n)

Definition at line 66 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::ComponentBase::componentAdded ( Component *  component)
protectedvirtual

A child item has been added to this item.

Reimplemented in Kopete::UI::ListView::Item, Kopete::UI::ListView::BoxComponent, and Kopete::UI::ListView::Component.

Definition at line 88 of file kopetelistviewitem.cpp.

Component * Kopete::UI::ListView::ComponentBase::componentAt ( const QPoint &  pt)

Definition at line 74 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::ComponentBase::componentRemoved ( Component *  component)
protectedvirtual

A child item has been removed from this item.

Reimplemented in Kopete::UI::ListView::Item, Kopete::UI::ListView::BoxComponent, and Kopete::UI::ListView::Component.

Definition at line 93 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::ComponentBase::componentResized ( Component *  component)
protectedvirtual

A child item has been resized.

Reimplemented in Kopete::UI::ListView::Item, and Kopete::UI::ListView::BoxComponent.

Definition at line 107 of file kopetelistviewitem.cpp.

uint Kopete::UI::ListView::ComponentBase::components ( )

Definition at line 64 of file kopetelistviewitem.cpp.

virtual void Kopete::UI::ListView::ComponentBase::relayout ( )
pure virtual

Relayout this item.

Implemented in Kopete::UI::ListView::Item, and Kopete::UI::ListView::Component.

virtual void Kopete::UI::ListView::ComponentBase::repaint ( )
pure virtual

Repaint this item.

Implemented in Kopete::UI::ListView::Item, and Kopete::UI::ListView::Component.

std::pair< QString, QRect > Kopete::UI::ListView::ComponentBase::toolTip ( const QPoint &  relativePos)
virtual

Get the tool tip string and rectangle for a tip request at position relativePos relative to this item.

Queries the appropriate child component.

Returns
a pair where the first element is the tooltip, and the second is the rectangle within the item for which the tip should be displayed.

Reimplemented in Kopete::UI::ListView::ContactComponent, and Kopete::UI::ListView::Component.

Definition at line 111 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::ComponentBase::updateAnimationPosition ( int  p,
int  s 
)
protected

animate items

Definition at line 120 of file kopetelistviewitem.cpp.


The documentation for this class was generated from the following files:
  • kopetelistviewitem.h
  • kopetelistviewitem.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/libkopete

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

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal