Public Member Functions | |
ModLecAlloc () | |
ModLecAlloc (int onDB, Module *mod, Staff *lec, int hrs, int sem=0, int c_size=0, int c_groups=1, int l_hours=0, int l_groups=0) | |
virtual QString | getDescription () const |
QString | getModuleDesc () const |
QString | getLecturerDesc () const |
QString | getHoursDesc () const |
QString | getSemesterDesc () const |
QString | getClassSizeDesc () const |
QString | getGroupsDesc () const |
QString | getLabHoursDesc () const |
QString | getLabGroupsDesc () const |
int | getSem () |
Programme * | getProg () |
Module * | getModule () |
Staff * | getStaff () |
void | updateClassSizeonDB (int classSize) |
void | setClassSize (int classSize) |
void | updateGroupsonDB (int classGroups) |
void | setGroups (int classGroups) |
void | updateLabHoursonDB (int labHours) |
void | setLabHours (int labHours) |
void | updateLabGroupsonDB (int labGroups) |
void | setLabGroups (int labGroups) |
Static Public Member Functions | |
static void | PrepareSQL (sql *dbConn) |
Protected Member Functions | |
virtual int | bindPKey (int preparedSQL) |
virtual void | bindValues (int preparedSQL, int start) |
Static Protected Attributes | |
static int | insertSQL = 0 |
static int | updateSQL = 0 |
static int | deleteSQL = 0 |
static int | addClassSizeSQL = 0 |
static int | addGroupsSQL = 0 |
static int | addLabHoursSQL = 0 |
static int | addLabGroupsSQL = 0 |
static int | idSQL = 0 |
static int | errorSQL = 0 |
Friends | |
class | MLAllocItem |
class | MLEnrolItem |
Definition at line 28 of file ModLecAlloc.h.