Public Types | |
enum | Columns { COL_NAME = 0, COL_CODE, COL_CAPACITY, COL_INSTITUTE } |
Public Member Functions | |
RoomItem (Room *RoomObj, RootItem *parent=0, int cc=0) | |
RoomItem (RoomItem &ri) | |
~RoomItem () | |
virtual Room * | getItemData () const |
Room * | getRoom () const |
Institute * | getInstitute () |
QString | getDescription () const |
QString | getInstName () const |
QString | getRoomName () const |
QString | getRoomCode () const |
int | getRoomCapacity () const |
QVariant | data (int column) const |
bool | setRoomName (QString name) |
bool | setRoomCode (QString code) |
bool | setRoomCapacity (int capcaity) |
bool | setData (int column, const QVariant &value) |
void | dbSave () |
void | dbDelete () |
Definition at line 27 of file RoomItem.h.