Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 95 → Rev 96

/trunk/ClassEditor/mysql.cpp
5,8 → 5,10
{
}
 
MySql::~MySql(){
db.close();
}
 
 
/************************************************
** Ôóíêöèÿ ïðèñâîåíèÿ çíà÷åíèÿ èìåíè áàçû äàííûõ
**
/trunk/ClassEditor/mysql.h
37,7 → 37,7
Q_OBJECT
public:
explicit MySql(QObject *parent = 0);
 
~MySql();
bool connect(); // ñîåäèíåíèå ñ áàçîé äàííûõ
bool createDataBase(); // ñîçäàåò íåîáõîäèìûå òàáëèöû â þàçå äàííûõ äëÿ õðàíåíèÿ íàçâàíèÿ è îïèñàíèÿ êëàññîâ (Òàáëèöà ListOfClasses è Òàáëèöà DescriptionOfClasses)
bool createListOfClassesTable(); // ñîçäàåò íåîáõîäèìóþ òàáëèöó â áàçå äàííûõ äëÿ õðàíåíèÿ íàçâàíèÿ è êëàññîâ (Òàáëèöà ListOfClasses)