• 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
  • DisplayNameComponent
Public Member Functions | Static Public Attributes | List of all members
Kopete::UI::ListView::DisplayNameComponent Class Reference

#include <kopetelistviewitem.h>

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

Public Member Functions

 DisplayNameComponent (ComponentBase *parent)
 
 ~DisplayNameComponent ()
 
void layout (const QRect &rect)
 
void redraw ()
 
virtual int rtti () const
 
void setColor (const QColor &color)
 
void setDefaultColor ()
 
void setFont (const QFont &font)
 
void setText (const QString &text)
 
QString text ()
 
- Public Member Functions inherited from Kopete::UI::ListView::BoxComponent
 BoxComponent (ComponentBase *parent, Direction dir=Horizontal)
 
 ~BoxComponent ()
 
virtual int heightForWidth (int width)
 
virtual int widthForHeight (int height)
 
- Public Member Functions inherited from Kopete::UI::ListView::Component
virtual ~Component ()=0
 
void hide ()
 
bool isHidden ()
 
bool isShown ()
 
int minHeight ()
 
int minWidth ()
 
virtual void paint (QPainter *painter, const QPalette &pal)
 
QRect rect ()
 
void relayout ()
 
void repaint ()
 
void setToolTipSource (ToolTipSource *source=0)
 
void show ()
 
std::pair< QString, QRect > toolTip (const QPoint &relativePos)
 
- Public Member Functions inherited from Kopete::UI::ListView::ComponentBase
 ComponentBase ()
 
virtual ~ComponentBase ()=0
 
Component * component (uint n)
 
Component * componentAt (const QPoint &pt)
 
uint components ()
 

Static Public Attributes

static int RTTI = Rtti_DisplayNameComponent
 
- Static Public Attributes inherited from Kopete::UI::ListView::BoxComponent
static int RTTI = Rtti_BoxComponent
 
- Static Public Attributes inherited from Kopete::UI::ListView::Component
static int RTTI = Rtti_Component
 

Additional Inherited Members

- Public Types inherited from Kopete::UI::ListView::BoxComponent
enum  Direction { Horizontal, Vertical }
 
- Public Types inherited from Kopete::UI::ListView::Component
enum  RttiValues {
  Rtti_Component, Rtti_BoxComponent, Rtti_TextComponent, Rtti_ImageComponent,
  Rtti_DisplayNameComponent, Rtti_HSpacerComponent, Rtti_VSpacerComponent
}
 
- Protected Member Functions inherited from Kopete::UI::ListView::BoxComponent
void componentAdded (Component *component)
 
void componentRemoved (Component *component)
 
void componentResized (Component *component)
 
- Protected Member Functions inherited from Kopete::UI::ListView::Component
 Component (ComponentBase *parent)
 
bool setMinHeight (int height)
 
bool setMinWidth (int width)
 
- Protected Member Functions inherited from Kopete::UI::ListView::ComponentBase
virtual void clear ()
 
void updateAnimationPosition (int p, int s)
 

Detailed Description

DisplayNameComponent.

Definition at line 339 of file kopetelistviewitem.h.

Constructor & Destructor Documentation

Kopete::UI::ListView::DisplayNameComponent::DisplayNameComponent ( ComponentBase *  parent)
explicit

Constructor.

Definition at line 638 of file kopetelistviewitem.cpp.

Kopete::UI::ListView::DisplayNameComponent::~DisplayNameComponent ( )

Dtor.

Definition at line 645 of file kopetelistviewitem.cpp.

Member Function Documentation

void Kopete::UI::ListView::DisplayNameComponent::layout ( const QRect &  rect)
virtual

Set the size and position of this item relative to the list view item.

Should only be called by the containing item.

Parameters
rectthe new rectangle this component will paint in, relative to the painter passed to the paint() function by the parent item.

Reimplemented from Kopete::UI::ListView::BoxComponent.

Definition at line 650 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::DisplayNameComponent::redraw ( )

reparse again for emoticon (call this when emoticon theme change)

Definition at line 704 of file kopetelistviewitem.cpp.

virtual int Kopete::UI::ListView::DisplayNameComponent::rtti ( ) const
inlinevirtual

Reimplemented from Kopete::UI::ListView::BoxComponent.

Definition at line 359 of file kopetelistviewitem.h.

void Kopete::UI::ListView::DisplayNameComponent::setColor ( const QColor &  color)

Definition at line 752 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::DisplayNameComponent::setDefaultColor ( )

Definition at line 759 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::DisplayNameComponent::setFont ( const QFont &  font)

Definition at line 744 of file kopetelistviewitem.cpp.

void Kopete::UI::ListView::DisplayNameComponent::setText ( const QString &  text)

Definition at line 695 of file kopetelistviewitem.cpp.

QString Kopete::UI::ListView::DisplayNameComponent::text ( )

Definition at line 766 of file kopetelistviewitem.cpp.

Member Data Documentation

int Kopete::UI::ListView::DisplayNameComponent::RTTI = Rtti_DisplayNameComponent
static

Definition at line 358 of file kopetelistviewitem.h.


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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:20 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