BigBlueBox
An Inventory Management System for a NYLT Course or other Boy Scout Programs
|
Holds catagory enum and related methods :Business Object. More...
#include <category.h>
Public Types | |
enum | categoryType { NO_OPP = 0, KITCHEN = 1, PROPANE = 2, CRAFTS = 3, TARPS = 4, OFFICE = 5 } |
Holds all catagories that items belong to. More... | |
Public Member Functions | |
Category () | |
Default no-args constructor. More... | |
Static Public Member Functions | |
static QString | categoryToQString (Category::categoryType cat) |
Turns enum to string. More... | |
static QString | categoryToQString (int cat) |
Turns (int)enum to string. More... | |
static int | intFromString (QString catStr) |
Turns a QString into a int. More... | |
Holds catagory enum and related methods :Business Object.
Contains the enum for the item catagory as well as static methods for conveting the enums to strings for the UI.
Category::Category | ( | ) |
Default no-args constructor.
|
static |
Turns enum to string.
Category::categoryType | cat |
|
static |
Turns (int)enum to string.
int | cat |
|
static |
Turns a QString into a int.
QString | catStr |