Subversion Repositories OpenInventory

Compare Revisions

Regard whitespace Rev 202 → Rev 189

/trunk/DBViewer/mymodel.h
16,12 → 16,8
bool setData(const QModelIndex &, const QVariant &, int);
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
void setPointers(QMap <int, QString> newPointers){pointers_map = newPointers;}
void setFilesFields(QMap <int, QString> newFilesFields){files_map = newFilesFields;}
 
QMap <int, QString> pointers(){return pointers_map;}
QMap <int, QString> filesFields (){return files_map;}
void setBooleansList(QList <int> newBoolList){bolleans_list = newBoolList;}
 
void setIconIndex(int new_index){icon_index = new_index;}
int iconIndex(){return icon_index;}
 
28,12 → 24,8
private:
QMap <int, QString> pointers_map; // â ýòîì ñâÿçàííîì ñïèñêå áóäåõ õðàíèòü â êà÷åñòâå êëþ÷à íîìåðÿ ñòîëáöîâ ñ óêàçàòåëÿìè
// à â êà÷åñòâå çíà÷åíèé - èìåíà òàáëèö - õðàíèëèù îáúåêòîâ ðîäèòåëüñêîãî êëàññà
QMap <int, QString> files_map; // â ýòîì ñâÿçàííîì ñïèñêå áóäåõ õðàíèòü â êà÷åñòâå êëþ÷à íîìåðÿ ñòîëáöîâ, õðàíÿùèõ ôàéëû
// à â êà÷åñòâå çíà÷åíèé - èìåíà ñòîëáöîâ
 
QList <int> bolleans_list; // ñïèñîê ïîëåé ñ òèïîì "bool"
 
 
int icon_index; // íîìåð ñòîëáöà, â êîòîðîì õðàíÿòüñÿ èêîíêè
 
signals: