an Extendable KDE Blogging Client Logo

Blokkal::Ui::CheckBoxView Class Reference

#include <checkboxview.h>

Inheritance diagram for Blokkal::Ui::CheckBoxView:

Blokkal::Ui::BlogView Blokkal::Ui::CategoryView

List of all members.

Public Member Functions

 CheckBoxView (CheckBoxDelegate *delegate, QWidget *parent=0)
bool isChecked (const QModelIndex &index) const
void setChecked (const QModelIndex &index, bool check)

Protected Slots

virtual void rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end)


class BlogDelegate
class CheckBoxDelegate

Detailed Description

short Subclass of QTreeView that provides some extra methods for qorking with checkboxes

Subclass of QTreeView that provides some extra methods for qorking with checkboxes

Martin Mueller <>

Definition at line 37 of file checkboxview.h.

Constructor & Destructor Documentation

Blokkal::Ui::CheckBoxView::CheckBoxView ( CheckBoxDelegate delegate,
QWidget *  parent = 0 


delegate subclass of CheckBoxDelegate to use
parent parent widget

Definition at line 50 of file checkboxview.cpp.

Member Function Documentation

bool Blokkal::Ui::CheckBoxView::isChecked ( const QModelIndex &  index  )  const

Returns whether the item at index is checked.

index index to test
TRUE if index is checked

Definition at line 68 of file checkboxview.cpp.

void Blokkal::Ui::CheckBoxView::rowsAboutToBeRemoved ( const QModelIndex &  parent,
int  start,
int  end 
) [protected, virtual, slot]

Overridden to remove outdated references stored by this view

parent parent index
start first row about to be removed
end last row about to be remove

Definition at line 89 of file checkboxview.cpp.

void Blokkal::Ui::CheckBoxView::setChecked ( const QModelIndex &  index,
bool  check 

Sets the checked status of index. The checkStateHook() will not be called by this method.

index index to apply the new state to
check the new state

Definition at line 81 of file checkboxview.cpp.

The documentation for this class was generated from the following files: