Switch to unified view

a/src/qtgui/advsearch_w.h b/src/qtgui/advsearch_w.h
...
...
26
#include "refcntr.h"
26
#include "refcntr.h"
27
#include "searchdata.h"
27
#include "searchdata.h"
28
28
29
class QDialog;
29
class QDialog;
30
30
31
//MOC_SKIP_BEGIN
31
#include "ui_advsearch.h"
32
#if QT_VERSION < 0x040000
33
32
34
#include "advsearch.h"
35
class DummyAdvSearchBase : public AdvSearchBase
36
{
37
 public: DummyAdvSearchBase(QWidget* parent = 0) : AdvSearchBase(parent) {}
38
};
39
40
#else
41
42
#include "ui_advsearch.h"
43
class DummyAdvSearchBase : public QDialog, public Ui::AdvSearchBase
33
class AdvSearch : public QDialog, public Ui::AdvSearchBase
44
{
45
public: DummyAdvSearchBase(QWidget *parent):QDialog(parent) {setupUi(this);}
46
};
47
48
#endif
49
//MOC_SKIP_END
50
51
class AdvSearch : public DummyAdvSearchBase
52
{
34
{
53
    Q_OBJECT
35
    Q_OBJECT
54
36
55
public:
37
public:
56
    AdvSearch(QDialog* parent = 0) 
38
    AdvSearch(QDialog* parent = 0) 
57
  : DummyAdvSearchBase(parent)
39
  : QDialog(parent)
58
    {
40
    {
41
  setupUi(this);
59
    init();
42
    init();
60
    }
43
    }
61
    ~AdvSearch(){}
44
    ~AdvSearch(){}
62
    virtual bool eventFilter(QObject *target, QEvent *event);
45
    virtual bool eventFilter(QObject *target, QEvent *event);
63
46
64
public slots:
47
public slots:
65
    virtual void delFiltypPB_clicked();
48
    virtual void delFiltypPB_clicked();
66
    virtual void delAFiltypPB_clicked();
49
    virtual void delAFiltypPB_clicked();
67
    virtual void addFiltypPB_clicked();
50
    virtual void addFiltypPB_clicked();
68
    virtual void addAFiltypPB_clicked();
51
    virtual void addAFiltypPB_clicked();
52
    virtual void guiListsToIgnTypes();
69
    virtual void restrictFtCB_toggled(bool);
53
    virtual void restrictFtCB_toggled(bool);
70
    virtual void restrictCtCB_toggled(bool);
54
    virtual void restrictCtCB_toggled(bool);
71
    virtual void runSearch();
55
    virtual void runSearch();
72
    virtual void browsePB_clicked();
56
    virtual void browsePB_clicked();
73
    virtual void saveFileTypes();
57
    virtual void saveFileTypes();