CommentsView Class Reference

#include <commentsview.h>

Inheritance diagram for CommentsView:
AbstractItemView Overlay Overlay

List of all members.

Public Member Functions

 CommentsView (QGraphicsItem *parent=0, Qt::WindowFlags wFlags=0)
virtual void setModel (QAbstractItemModel *model)

Protected Slots

void showReply ()
void removeComments ()
void loadComments ()
void reloadComments ()
void addNewUserComment (QModelIndex parentIndex, QString title, QString body)
void cancelNewComment ()
void hideComments ()
void showComments ()

Protected Member Functions

bool eventFilter (QObject *obj, QEvent *event)
CommentsViewItemaddComment (const QModelIndex &index, QGraphicsWidget *parent, int depth)

Protected Attributes

Plasma::ItemBackground * m_itemBackground

Detailed Description

Definition at line 37 of file commentsview.h.


Constructor & Destructor Documentation

CommentsView::CommentsView ( QGraphicsItem *  parent = 0,
Qt::WindowFlags  wFlags = 0 
)

Definition at line 34 of file commentsview.cpp.


Member Function Documentation

CommentsViewItem * CommentsView::addComment ( const QModelIndex &  index,
QGraphicsWidget *  parent,
int  depth 
) [protected]

Definition at line 58 of file commentsview.cpp.

void CommentsView::addNewUserComment ( QModelIndex  parentIndex,
QString  title,
QString  body 
) [protected, slot]

Definition at line 135 of file commentsview.cpp.

void CommentsView::cancelNewComment (  )  [protected, slot]

Definition at line 143 of file commentsview.cpp.

bool CommentsView::eventFilter ( QObject obj,
QEvent *  event 
) [protected]

Definition at line 82 of file commentsview.cpp.

void CommentsView::hideComments (  )  [protected, slot]

Definition at line 149 of file commentsview.cpp.

void CommentsView::loadComments (  )  [protected, slot]

Definition at line 119 of file commentsview.cpp.

void CommentsView::reloadComments (  )  [protected, slot]

Definition at line 127 of file commentsview.cpp.

void CommentsView::removeComments (  )  [protected, slot]

Definition at line 107 of file commentsview.cpp.

void CommentsView::setModel ( QAbstractItemModel *  model  )  [virtual]

Reimplemented from AbstractItemView.

Definition at line 46 of file commentsview.cpp.

void CommentsView::showComments (  )  [protected, slot]

Definition at line 155 of file commentsview.cpp.

void CommentsView::showReply (  )  [protected, slot]

Definition at line 93 of file commentsview.cpp.


Member Data Documentation

Plasma::ItemBackground* CommentsView::m_itemBackground [protected]

Definition at line 58 of file commentsview.h.


The documentation for this class was generated from the following files:
Generated on Mon Dec 27 13:13:41 2010 for Gluon by  doxygen 1.6.3