comment
This commit is contained in:
parent
d76531411a
commit
45a67da99b
1 changed files with 11 additions and 1 deletions
|
@ -23,6 +23,17 @@
|
||||||
#include "refcntr.h"
|
#include "refcntr.h"
|
||||||
#include "searchdata.h"
|
#include "searchdata.h"
|
||||||
|
|
||||||
|
/** Advanced search history.
|
||||||
|
*
|
||||||
|
* We store previous searches using the "dynconf" mechanism, as string
|
||||||
|
* entries under the "advSearchHist" key. The strings are generated by
|
||||||
|
* translating the SearchData structure to XML, which is done by
|
||||||
|
* calling SearchData::asXML().
|
||||||
|
* When reading, we use a QXmlSimpleReader and QXmlDefaultHandler to
|
||||||
|
* turn the XML back into a SearchData object, which is then passed to
|
||||||
|
* the advanced search object fromSearch() method to rebuild the
|
||||||
|
* window state.
|
||||||
|
*/
|
||||||
class AdvSearchHist {
|
class AdvSearchHist {
|
||||||
public:
|
public:
|
||||||
AdvSearchHist();
|
AdvSearchHist();
|
||||||
|
@ -39,5 +50,4 @@ private:
|
||||||
std::vector<RefCntr<Rcl::SearchData> > m_entries;
|
std::vector<RefCntr<Rcl::SearchData> > m_entries;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // _ADVSHIST_H_INCLUDED_
|
#endif // _ADVSHIST_H_INCLUDED_
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue