Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 157 → Rev 158

/trunk/DBViewer/mymodel.h
17,10 → 17,14
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
void setPointers(QMap <int, QString> newPointers){pointers_map = newPointers;}
QMap <int, QString> pointers(){return pointers_map;}
void setBooleansList(QList <int> newBoolList){bolleans_list = newBoolList;}
 
private:
QMap <int, QString> pointers_map; // â ýòîì ñâÿçàííîì ñïèñêå áóäåõ õðàíèòü â êà÷åñòâå êëþ÷à íîìåðÿ ñòîëáöîâ ñ óêàçàòåëÿìè
// à â êà÷åñòâå çíà÷åíèé - èìåíà òàáëèö - õðàíèëèù îáúåêòîâ ðîäèòåëüñêîãî êëàññà
 
QList <int> bolleans_list; // ñïèñîê ïîëåé ñ òèïîì "bool"
 
signals:
 
public slots: