|
a/src/qtgui/restable.h |
|
b/src/qtgui/restable.h |
|
... |
|
... |
48 |
virtual void readDocSource();
|
48 |
virtual void readDocSource();
|
49 |
virtual void setDocSource(RefCntr<DocSequence> nsource);
|
49 |
virtual void setDocSource(RefCntr<DocSequence> nsource);
|
50 |
virtual RefCntr<DocSequence> getDocSource() {return m_source;}
|
50 |
virtual RefCntr<DocSequence> getDocSource() {return m_source;}
|
51 |
virtual void deleteColumn(int);
|
51 |
virtual void deleteColumn(int);
|
52 |
virtual const vector<string>& getFields() {return m_fields;}
|
52 |
virtual const vector<string>& getFields() {return m_fields;}
|
53 |
virtual const map<string, string>& getAllFields()
|
53 |
virtual const map<string, QString>& getAllFields()
|
54 |
{
|
54 |
{
|
55 |
return o_displayableFields;
|
55 |
return o_displayableFields;
|
56 |
}
|
56 |
}
|
57 |
virtual void addColumn(int, const string&);
|
57 |
virtual void addColumn(int, const string&);
|
58 |
// Some column name are aliases/translator for base document field
|
58 |
// Some column name are aliases/translator for base document field
|
|
... |
|
... |
69 |
|
69 |
|
70 |
private:
|
70 |
private:
|
71 |
mutable RefCntr<DocSequence> m_source;
|
71 |
mutable RefCntr<DocSequence> m_source;
|
72 |
vector<string> m_fields;
|
72 |
vector<string> m_fields;
|
73 |
vector<FieldGetter*> m_getters;
|
73 |
vector<FieldGetter*> m_getters;
|
74 |
static map<string, string> o_displayableFields;
|
74 |
static map<string, QString> o_displayableFields;
|
75 |
bool m_ignoreSort;
|
75 |
bool m_ignoreSort;
|
76 |
FieldGetter* chooseGetter(const string&);
|
76 |
FieldGetter* chooseGetter(const string&);
|
77 |
HiliteData m_hdata;
|
77 |
HiliteData m_hdata;
|
78 |
};
|
78 |
};
|
79 |
|
79 |
|