#include <ksubscription.h>
Inherits TQCheckListItem.
Public Member Functions | |
GroupItem (TQListView *v, const KGroupInfo &gi, KSubscription *browser, bool isCheckItem=false) | |
GroupItem (TQListViewItem *i, const KGroupInfo &gi, KSubscription *browser, bool isCheckItem=false) | |
KGroupInfo | info () |
void | setInfo (KGroupInfo info) |
TQListViewItem * | originalParent () |
void | setOriginalParent (TQListViewItem *parent) |
bool | lastOpenState () |
void | setLastOpenState (bool last) |
virtual void | setDescription () |
bool | isCheckItem () const |
bool | ignoreStateChange () |
void | setIgnoreStateChange (bool ignore) |
virtual void | setOn (bool on) |
virtual void | stateChange (bool on) |
void | setVisible (bool b) |
virtual void | paintCell (TQPainter *p, const TQColorGroup &cg, int column, int width, int align) |
virtual void | paintFocus (TQPainter *, const TQColorGroup &cg, const TQRect &r) |
virtual int | width (const TQFontMetrics &, const TQListView *, int column) const |
virtual void | setup () |
virtual int | rtti () const |
Protected Attributes | |
KGroupInfo | mInfo |
KSubscription * | mBrowser |
TQListViewItem * | mOriginalParent |
bool | mLastOpenState |
bool | mIsCheckItem |
bool | mIgnoreStateChange |
Detailed Description
A class representing a single group item (what's that?)
Definition at line 72 of file ksubscription.h.
Member Function Documentation
◆ ignoreStateChange()
|
inline |
Get/Set if state changes should be ignored.
Definition at line 112 of file ksubscription.h.
◆ info()
|
inline |
Get/Set the KGroupInfo.
Definition at line 83 of file ksubscription.h.
◆ isCheckItem()
|
inline |
Get if this is a checkable item.
Definition at line 107 of file ksubscription.h.
◆ lastOpenState()
|
inline |
Get/Set the last open state.
Definition at line 95 of file ksubscription.h.
◆ originalParent()
|
inline |
Get/Set the original parent.
Definition at line 89 of file ksubscription.h.
◆ paintCell()
|
virtual |
Reimplemented Calls TQListViewItem or TQCheckListItem.
Definition at line 169 of file ksubscription.cpp.
◆ paintFocus()
|
virtual |
Reimplemented Calls TQListViewItem or TQCheckListItem.
Definition at line 179 of file ksubscription.cpp.
◆ rtti()
|
inlinevirtual |
Reimplemented.
Definition at line 160 of file ksubscription.h.
◆ setDescription()
|
virtual |
Sets the description from the KGroupInfo Reimplement this for special cases.
Definition at line 87 of file ksubscription.cpp.
◆ setOn()
|
virtual |
Reimplemented Sets the subscribed property (only while items are loaded)
Definition at line 93 of file ksubscription.cpp.
◆ setup()
|
virtual |
Reimplemented Calls TQListViewItem or TQCheckListItem.
Definition at line 198 of file ksubscription.cpp.
◆ setVisible()
void GroupItem::setVisible | ( | bool | b | ) |
Reimplemented Sets items invisible or disabled or even moves them.
Definition at line 114 of file ksubscription.cpp.
◆ stateChange()
|
virtual |
Reimlemented Calls KSubscription::changeItemState if mIgnoreStateChange == false.
Definition at line 106 of file ksubscription.cpp.
◆ width()
|
virtual |
Reimplemented Calls TQListViewItem or TQCheckListItem.
Definition at line 189 of file ksubscription.cpp.
The documentation for this class was generated from the following files: