Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 96 → Rev 95

/trunk/ClassEditor/mysql.cpp
5,10 → 5,8
{
}
 
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)