#include </home/clem/local/src/opie/noncore/unsupported/libopie/ocheckitem.h>
Collaboration diagram for OCheckItem:

Public Types | |
| enum | Size { BoxSize = 10 } |
Public Member Functions | |
| OCheckItem (QTable *t, const QString &sortkey) | |
| virtual void | setChecked (bool b) |
| virtual void | toggle () |
| bool | isChecked () const |
| void | setKey (const QString &key) |
| Set the sort key . | |
| virtual QString | key () const |
| void | paint (QPainter *p, const QColorGroup &cg, const QRect &cr, bool selected) |
Private Attributes | |
| OCheckItemPrivate * | d |
| bool | m_checked: 1 |
| QString | m_sortKey |
This class represents a checkable QTableItem. This can be added to any QTable.
QTableItem
Definition at line 29 of file ocheckitem.h.
|
|
The size of a box currently unused Definition at line 33 of file ocheckitem.h. |
|
||||||||||||
|
Constructs an CheckItem with a QTable as parent and a sort key for. The sort key will be used by QTable to sort the table later
Definition at line 23 of file ocheckitem.cpp. |
|
|
This will return the state of the item.
Definition at line 64 of file ocheckitem.cpp. References m_checked. |
|
|
reimplemted for internal reasons
Definition at line 33 of file ocheckitem.cpp. References m_sortKey. |
|
||||||||||||||||||||
|
foo For internal use only.
Definition at line 73 of file ocheckitem.cpp. References BoxSize, i, m_checked, Opie::MM::x, and Opie::MM::y. |
|
|
This method can check or uncheck the item. It will call QTable to update the cell.
Definition at line 44 of file ocheckitem.cpp. |
|
|
Set the sort key .
Definition at line 43 of file ocheckitem.h. References m_sortKey. |
|
|
This will toggle the item. If it is checked it'll get unchecked by this method or vice versa. Definition at line 54 of file ocheckitem.cpp. References m_checked. |
|
|
Definition at line 55 of file ocheckitem.h. |
|
|
Definition at line 57 of file ocheckitem.h. Referenced by isChecked(), paint(), setChecked(), and toggle(). |
|
|
Definition at line 58 of file ocheckitem.h. |
1.4.2