libkdegames/libkdegamesprivate
kchatbaseitemdelegate.cpp
Go to the documentation of this file.
56 painter->drawText(option.rect.x() + 3 + QFontMetrics(((KChatBaseModel*)index.model())->nameFont()).width(i18n("%1: ",sender)),
The class of the elements stored in the chat list model.
Definition: kchatbasemodel.h:41
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Reimplementation of the default paint method.
Definition: kchatbaseitemdelegate.cpp:36
KChatBaseItemDelegate(QObject *parent=0)
Constructs a KChatBaseItemDelegate object.
Definition: kchatbaseitemdelegate.cpp:27
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
Reimplementation of the default sizeHint.
Definition: kchatbaseitemdelegate.cpp:60
virtual ~KChatBaseItemDelegate()
Destruct a KChatBaseItemDelegate object.
Definition: kchatbaseitemdelegate.cpp:32
The model used to store messages displayed in the chat dialog messages list.
Definition: kchatbasemodel.h:76
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.