kpilot
PilotListViewItem Class Reference
#include <listItems.h>
Inheritance diagram for PilotListViewItem:

Public Member Functions | |
| int | compare (QListViewItem *i, int col, bool ascending) const |
| recordid_t | id () const |
| PilotListViewItem (QListView *parent, QString label1, QString label2=QString::null, QString label3=QString::null, QString label4=QString::null, recordid_t pilotid=0, void *r=0) | |
| const void * | rec () const |
| void | setNumericCol (int col, bool numeric) |
| virtual | ~PilotListViewItem () |
Protected Member Functions | |
| unsigned long | colValue (int col, bool *ok) const |
Protected Attributes | |
| PilotListViewItemData * | d |
| recordid_t | fid |
| void * | fr |
| QValueList< int > | numericCols |
Detailed Description
Definition at line 85 of file listItems.h.
Constructor & Destructor Documentation
| PilotListViewItem::PilotListViewItem | ( | QListView * | parent, | |
| QString | label1, | |||
| QString | label2 = QString::null, |
|||
| QString | label3 = QString::null, |
|||
| QString | label4 = QString::null, |
|||
| recordid_t | pilotid = 0, |
|||
| void * | r = 0 | |||
| ) |
Definition at line 145 of file listItems.cc.
| PilotListViewItem::~PilotListViewItem | ( | ) | [virtual] |
Definition at line 164 of file listItems.cc.
Member Function Documentation
| unsigned long PilotListViewItem::colValue | ( | int | col, | |
| bool * | ok | |||
| ) | const [protected] |
Definition at line 189 of file listItems.cc.
| int PilotListViewItem::compare | ( | QListViewItem * | i, | |
| int | col, | |||
| bool | ascending | |||
| ) | const |
Do the toULong call just once if the sorting column changed:
Reimplemented from QListViewItem.
Definition at line 207 of file listItems.cc.
| recordid_t PilotListViewItem::id | ( | ) | const [inline] |
Definition at line 93 of file listItems.h.
| const void* PilotListViewItem::rec | ( | ) | const [inline] |
Definition at line 94 of file listItems.h.
| void PilotListViewItem::setNumericCol | ( | int | col, | |
| bool | numeric | |||
| ) |
Definition at line 174 of file listItems.cc.
Member Data Documentation
PilotListViewItemData* PilotListViewItem::d [protected] |
Definition at line 103 of file listItems.h.
recordid_t PilotListViewItem::fid [protected] |
Definition at line 100 of file listItems.h.
void* PilotListViewItem::fr [protected] |
Definition at line 101 of file listItems.h.
QValueList<int> PilotListViewItem::numericCols [protected] |
Definition at line 99 of file listItems.h.
The documentation for this class was generated from the following files:
