Switch to unified view

a/src/qtgui/ssearch_w.h b/src/qtgui/ssearch_w.h
...
...
45
    virtual void init();
45
    virtual void init();
46
    virtual void setAnyTermMode();
46
    virtual void setAnyTermMode();
47
    virtual void completion();
47
    virtual void completion();
48
    virtual bool eventFilter(QObject *target, QEvent *event);
48
    virtual bool eventFilter(QObject *target, QEvent *event);
49
    virtual bool hasSearchString();
49
    virtual bool hasSearchString();
50
    virtual void setPrefs();                
50
public slots:
51
public slots:
51
    virtual void searchTextChanged(const QString & text);
52
    virtual void searchTextChanged(const QString & text);
52
    virtual void searchTypeChanged(int);
53
    virtual void searchTypeChanged(int);
53
    virtual void setSearchString(const QString& text);
54
    virtual void setSearchString(const QString& text);
54
    virtual void startSimpleSearch();
55
    virtual void startSimpleSearch();
...
...
70
71
71
    bool m_disableAutosearch;
72
    bool m_disableAutosearch;
72
    QTimer *m_stroketimeout;
73
    QTimer *m_stroketimeout;
73
    bool m_keystroke;
74
    bool m_keystroke;
74
    QString m_tstartqs;
75
    QString m_tstartqs;
76
    QAbstractItemModel *m_savedModel;
75
77
76
    int partialWord(string& s);
78
    int partialWord(string& s);
77
    int completionList(string s, QStringList& lst, int max = 100);
79
    int completionList(string s, QStringList& lst, int max = 100);
78
    bool startSimpleSearch(const string& q, int maxexp = -1);
80
    bool startSimpleSearch(const string& q, int maxexp = -1);
79
};
81
};