knode
Public Member Functions |
Public Attributes |
Protected Member Functions |
Protected Attributes |
List of all members
KNGroupBrowser::CheckItem Class Reference
#include <kngroupbrowser.h>
Inheritance diagram for KNGroupBrowser::CheckItem:
Public Member Functions | |
CheckItem (Q3ListView *v, const KNGroupInfo &gi, KNGroupBrowser *b) | |
CheckItem (Q3ListViewItem *i, const KNGroupInfo &gi, KNGroupBrowser *b) | |
~CheckItem () | |
void | setChecked (bool c) |
Public Member Functions inherited from Q3CheckListItem | |
Q3CheckListItem (Q3CheckListItem *parent, const QString &text, Type tt) | |
Q3CheckListItem (Q3CheckListItem *parent, Q3ListViewItem *after, const QString &text, Type tt) | |
Q3CheckListItem (Q3ListViewItem *parent, Q3ListViewItem *after, const QString &text, Type tt) | |
Q3CheckListItem (Q3ListView *parent, const QString &text, const QPixmap &p) | |
Q3CheckListItem (Q3ListView *parent, const QString &text, Type tt) | |
Q3CheckListItem (Q3ListViewItem *parent, const QString &text, Type tt) | |
Q3CheckListItem (Q3ListView *parent, Q3ListViewItem *after, const QString &text, Type tt) | |
Q3CheckListItem (Q3ListViewItem *parent, const QString &text, const QPixmap &p) | |
~Q3CheckListItem () | |
bool | isOn () const |
bool | isTristate () const |
virtual void | paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int align) |
virtual void | paintFocus (QPainter *p, const QColorGroup &cg, const QRect &r) |
virtual int | rtti () const |
virtual void | setOn (bool b) |
void | setState (ToggleState s) |
void | setTristate (bool b) |
virtual void | setup () |
ToggleState | state () const |
virtual QString | text (int n) const |
QString | text () const |
Type | type () const |
virtual int | width (const QFontMetrics &fm, const Q3ListView *lv, int column) const |
Public Member Functions inherited from Q3ListViewItem | |
Q3ListViewItem (Q3ListView *parent) | |
Q3ListViewItem (Q3ListViewItem *parent) | |
Q3ListViewItem (Q3ListViewItem *parent, Q3ListViewItem *after) | |
Q3ListViewItem (Q3ListViewItem *parent, Q3ListViewItem *after, const QString &label1, const QString &label2, const QString &label3, const QString &label4, const QString &label5, const QString &label6, const QString &label7, const QString &label8) | |
Q3ListViewItem (Q3ListView *parent, const QString &label1, const QString &label2, const QString &label3, const QString &label4, const QString &label5, const QString &label6, const QString &label7, const QString &label8) | |
Q3ListViewItem (Q3ListView *parent, Q3ListViewItem *after) | |
Q3ListViewItem (Q3ListViewItem *parent, const QString &label1, const QString &label2, const QString &label3, const QString &label4, const QString &label5, const QString &label6, const QString &label7, const QString &label8) | |
Q3ListViewItem (Q3ListView *parent, Q3ListViewItem *after, const QString &label1, const QString &label2, const QString &label3, const QString &label4, const QString &label5, const QString &label6, const QString &label7, const QString &label8) | |
virtual | ~Q3ListViewItem () |
virtual bool | acceptDrop (const QMimeSource *mime) const |
int | childCount () const |
virtual int | compare (Q3ListViewItem *i, int col, bool ascending) const |
int | depth () const |
bool | dragEnabled () const |
bool | dropEnabled () const |
Q3ListViewItem * | firstChild () const |
int | height () const |
virtual void | insertItem (Q3ListViewItem *newChild) |
virtual void | invalidateHeight () |
bool | isEnabled () const |
bool | isExpandable () const |
bool | isOpen () const |
bool | isSelectable () const |
bool | isSelected () const |
bool | isVisible () const |
Q3ListViewItem * | itemAbove () const |
Q3ListViewItem * | itemBelow () const |
int | itemPos () const |
virtual QString | key (int column, bool ascending) const |
Q3ListView * | listView () const |
void | moveItem (Q3ListViewItem *after) |
bool | multiLinesEnabled () const |
Q3ListViewItem * | nextSibling () const |
virtual void | paintBranches (QPainter *p, const QColorGroup &cg, int w, int y, int h) |
Q3ListViewItem * | parent () const |
virtual const QPixmap * | pixmap (int column) const |
virtual void | removeItem (Q3ListViewItem *item) |
bool | renameEnabled (int col) const |
void | repaint () const |
virtual void | setDragEnabled (bool allow) |
virtual void | setDropEnabled (bool allow) |
virtual void | setEnabled (bool b) |
virtual void | setExpandable (bool enable) |
virtual void | setMultiLinesEnabled (bool b) |
virtual void | setOpen (bool o) |
virtual void | setPixmap (int column, const QPixmap &pm) |
virtual void | setRenameEnabled (int col, bool b) |
virtual void | setSelectable (bool enable) |
virtual void | setSelected (bool s) |
virtual void | setText (int column, const QString &text) |
void | setVisible (bool b) |
virtual void | sort () |
virtual void | sortChildItems (int column, bool ascending) |
virtual void | startRename (int col) |
virtual void | takeItem (Q3ListViewItem *item) |
int | totalHeight () const |
void | widthChanged (int c) const |
Public Attributes | |
KNGroupInfo | info |
Protected Member Functions | |
void | stateChange (bool s) |
Protected Member Functions inherited from Q3CheckListItem | |
virtual void | activate () |
void | turnOffChild () |
Protected Member Functions inherited from Q3ListViewItem | |
bool | activatedPos (QPoint &pos) |
virtual void | cancelRename (int col) |
virtual void | dragEntered () |
virtual void | dragLeft () |
virtual void | dropped (QDropEvent *e) |
virtual void | enforceSortOrder () const |
virtual void | okRename (int col) |
virtual void | setHeight (int height) |
Protected Attributes | |
KNGroupBrowser * | browser |
Detailed Description
Checkable list view item with special handling for displaying moderated groups.
Definition at line 38 of file kngroupbrowser.h.
Constructor & Destructor Documentation
KNGroupBrowser::CheckItem::CheckItem | ( | Q3ListView * | v, |
const KNGroupInfo & | gi, | ||
KNGroupBrowser * | b | ||
) |
Definition at line 416 of file kngroupbrowser.cpp.
KNGroupBrowser::CheckItem::CheckItem | ( | Q3ListViewItem * | i, |
const KNGroupInfo & | gi, | ||
KNGroupBrowser * | b | ||
) |
Definition at line 429 of file kngroupbrowser.cpp.
KNGroupBrowser::CheckItem::~CheckItem | ( | ) |
Definition at line 442 of file kngroupbrowser.cpp.
Member Function Documentation
void KNGroupBrowser::CheckItem::setChecked | ( | bool | c | ) |
Definition at line 447 of file kngroupbrowser.cpp.
|
protectedvirtual |
Reimplemented from Q3CheckListItem.
Definition at line 456 of file kngroupbrowser.cpp.
Member Data Documentation
|
protected |
Definition at line 50 of file kngroupbrowser.h.
KNGroupInfo KNGroupBrowser::CheckItem::info |
Definition at line 46 of file kngroupbrowser.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.