#include <commentsviewitem.h>
Signals | |
void | replyClicked () |
Public Member Functions | |
CommentsViewItem (QGraphicsItem *parent=0, Qt::WindowFlags wFlags=0) | |
virtual | ~CommentsViewItem () |
virtual void | setModelIndex (const QModelIndex &index) |
QModelIndex | modelIndex () const |
int | depth () |
void | setDepth (int newDepth) |
int | rowInLayout () |
void | setRowInLayout (int row) |
bool | replyEnabled () |
void | setReplyEnabled (bool enabled) |
Protected Member Functions | |
void | hoverEnterEvent (QGraphicsSceneHoverEvent *event) |
void | hoverLeaveEvent (QGraphicsSceneHoverEvent *event) |
void | layoutWidgets () |
void | setToolTips () |
Protected Attributes | |
QPersistentModelIndex | m_index |
Plasma::IconWidget * | m_author |
Plasma::Label * | m_title |
Plasma::Label * | m_body |
Plasma::Label * | m_dateTime |
Plasma::Label * | m_rating |
Plasma::IconWidget * | m_replyButton |
QGraphicsGridLayout * | m_layout |
int | m_depth |
int | m_rowInLayout |
Definition at line 34 of file commentsviewitem.h.
CommentsViewItem::CommentsViewItem | ( | QGraphicsItem * | parent = 0 , |
|
Qt::WindowFlags | wFlags = 0 | |||
) |
Definition at line 30 of file commentsviewitem.cpp.
CommentsViewItem::~CommentsViewItem | ( | ) | [virtual] |
Definition at line 45 of file commentsviewitem.cpp.
int CommentsViewItem::depth | ( | ) |
Definition at line 62 of file commentsviewitem.cpp.
void CommentsViewItem::hoverEnterEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [protected] |
Definition at line 93 of file commentsviewitem.cpp.
void CommentsViewItem::hoverLeaveEvent | ( | QGraphicsSceneHoverEvent * | event | ) | [protected] |
Definition at line 102 of file commentsviewitem.cpp.
void CommentsViewItem::layoutWidgets | ( | ) | [protected] |
Definition at line 112 of file commentsviewitem.cpp.
QModelIndex CommentsViewItem::modelIndex | ( | ) | const |
Definition at line 56 of file commentsviewitem.cpp.
void CommentsViewItem::replyClicked | ( | ) | [signal] |
bool CommentsViewItem::replyEnabled | ( | ) |
Definition at line 83 of file commentsviewitem.cpp.
int CommentsViewItem::rowInLayout | ( | ) |
Definition at line 73 of file commentsviewitem.cpp.
void CommentsViewItem::setDepth | ( | int | newDepth | ) |
Definition at line 67 of file commentsviewitem.cpp.
void CommentsViewItem::setModelIndex | ( | const QModelIndex & | index | ) | [virtual] |
Definition at line 49 of file commentsviewitem.cpp.
void CommentsViewItem::setReplyEnabled | ( | bool | enabled | ) |
Definition at line 88 of file commentsviewitem.cpp.
void CommentsViewItem::setRowInLayout | ( | int | row | ) |
Definition at line 78 of file commentsviewitem.cpp.
void CommentsViewItem::setToolTips | ( | ) | [protected] |
Definition at line 147 of file commentsviewitem.cpp.
Plasma::IconWidget* CommentsViewItem::m_author [protected] |
Definition at line 61 of file commentsviewitem.h.
Plasma::Label* CommentsViewItem::m_body [protected] |
Definition at line 63 of file commentsviewitem.h.
Plasma::Label* CommentsViewItem::m_dateTime [protected] |
Definition at line 64 of file commentsviewitem.h.
int CommentsViewItem::m_depth [protected] |
Definition at line 69 of file commentsviewitem.h.
QPersistentModelIndex CommentsViewItem::m_index [protected] |
Definition at line 60 of file commentsviewitem.h.
QGraphicsGridLayout* CommentsViewItem::m_layout [protected] |
Definition at line 68 of file commentsviewitem.h.
Plasma::Label* CommentsViewItem::m_rating [protected] |
Definition at line 65 of file commentsviewitem.h.
Plasma::IconWidget* CommentsViewItem::m_replyButton [protected] |
Definition at line 67 of file commentsviewitem.h.
int CommentsViewItem::m_rowInLayout [protected] |
Definition at line 70 of file commentsviewitem.h.
Plasma::Label* CommentsViewItem::m_title [protected] |
Definition at line 62 of file commentsviewitem.h.