|
a/src/qtgui/advsearch_w.h |
|
b/src/qtgui/advsearch_w.h |
|
... |
|
... |
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#ifndef _ADVSEARCH_W_H_INCLUDED_
|
17 |
#ifndef _ADVSEARCH_W_H_INCLUDED_
|
18 |
#define _ADVSEARCH_W_H_INCLUDED_
|
18 |
#define _ADVSEARCH_W_H_INCLUDED_
|
|
|
19 |
|
19 |
#include <list>
|
20 |
#include <vector>
|
|
|
21 |
|
20 |
#include <qvariant.h>
|
22 |
#include <qvariant.h>
|
21 |
#include <qdialog.h>
|
23 |
#include <qdialog.h>
|
22 |
|
24 |
|
23 |
#include "searchclause_w.h"
|
25 |
#include "searchclause_w.h"
|
24 |
#include "recoll.h"
|
26 |
#include "recoll.h"
|
25 |
#include "refcntr.h"
|
27 |
#include "refcntr.h"
|
26 |
#include "searchdata.h"
|
28 |
#include "searchdata.h"
|
|
|
29 |
#include "advshist.h"
|
27 |
|
30 |
|
28 |
class QDialog;
|
31 |
class QDialog;
|
29 |
|
32 |
|
30 |
#include "ui_advsearch.h"
|
33 |
#include "ui_advsearch.h"
|
31 |
|
34 |
|
|
... |
|
... |
51 |
virtual void filterDatesCB_toggled(bool);
|
54 |
virtual void filterDatesCB_toggled(bool);
|
52 |
virtual void filterSizesCB_toggled(bool);
|
55 |
virtual void filterSizesCB_toggled(bool);
|
53 |
virtual void restrictFtCB_toggled(bool);
|
56 |
virtual void restrictFtCB_toggled(bool);
|
54 |
virtual void restrictCtCB_toggled(bool);
|
57 |
virtual void restrictCtCB_toggled(bool);
|
55 |
virtual void runSearch();
|
58 |
virtual void runSearch();
|
|
|
59 |
virtual void fromSearch(RefCntr<Rcl::SearchData> sdata);
|
56 |
virtual void browsePB_clicked();
|
60 |
virtual void browsePB_clicked();
|
57 |
virtual void saveFileTypes();
|
61 |
virtual void saveFileTypes();
|
58 |
virtual void delClause();
|
62 |
virtual void delClause();
|
59 |
virtual void addClause();
|
63 |
virtual void addClause();
|
60 |
virtual void addClause(int);
|
64 |
virtual void addClause(int);
|
61 |
virtual bool close();
|
65 |
virtual bool close();
|
|
|
66 |
virtual void slotHistoryNext();
|
|
|
67 |
virtual void slotHistoryPrev();
|
62 |
|
68 |
|
63 |
signals:
|
69 |
signals:
|
64 |
void startSearch(RefCntr<Rcl::SearchData>);
|
70 |
void startSearch(RefCntr<Rcl::SearchData>);
|
65 |
|
71 |
|
66 |
private:
|
72 |
private:
|
67 |
virtual void init();
|
73 |
virtual void init();
|
68 |
std::list<SearchClauseW *> m_clauseWins;
|
74 |
std::vector<SearchClauseW *> m_clauseWins;
|
69 |
QStringList m_ignTypes;
|
75 |
QStringList m_ignTypes;
|
70 |
bool m_ignByCats;
|
76 |
bool m_ignByCats;
|
71 |
void saveCnf();
|
77 |
void saveCnf();
|
72 |
void fillFileTypes();
|
78 |
void fillFileTypes();
|
73 |
size_t stringToSize(QString);
|
79 |
size_t stringToSize(QString);
|