Public Member Functions | |
Room () | |
Room (int pID, QString name, QString code, int capacity, Institute *parent) | |
QString | getDescription () const |
QString | getName () const |
QString | getCode () const |
int | getCapacity () |
Institute * | getInstitute () |
QString | getInstName () const |
int | getInstID () |
bool | setName (QString pName) |
bool | setCode (QString pCode) |
bool | setCapacity (int pCapacity) |
Static Public Member Functions | |
static void | PrepareSQL (sql *dbConn) |
static bool | uniqueCode (QString code, int parentID) |
Protected Member Functions | |
void | bindValues (int preparedSQL, int start) |
Static Protected Attributes | |
static int | insertSQL = 0 |
static int | updateSQL = 0 |
static int | deleteSQL = 0 |
static int | uniqueCodeSQL = 0 |
static int | errorSQL = 0 |
Friends | |
class | RoomItem |
Definition at line 27 of file Room.h.