Switch to unified view

a/src/qtgui/rclmain_w.h b/src/qtgui/rclmain_w.h
...
...
17
#ifndef RCLMAIN_W_H
17
#ifndef RCLMAIN_W_H
18
#define RCLMAIN_W_H
18
#define RCLMAIN_W_H
19
19
20
#include <qvariant.h>
20
#include <qvariant.h>
21
#include <qmainwindow.h>
21
#include <qmainwindow.h>
22
#include <QFileSystemWatcher>
22
23
23
#include "sortseq.h"
24
#include "sortseq.h"
24
#include "preview_w.h"
25
#include "preview_w.h"
25
#include "recoll.h"
26
#include "recoll.h"
26
#include "advsearch_w.h"
27
#include "advsearch_w.h"
...
...
64
      periodictimer(0),
65
      periodictimer(0),
65
      restable(0),
66
      restable(0),
66
      displayingTable(0),
67
      displayingTable(0),
67
          m_idNoStem(0),
68
          m_idNoStem(0),
68
          m_idAllStem(0),
69
          m_idAllStem(0),
69
    m_idxStatusAck(false),
70
    m_idxproc(0),
70
      m_sortspecnochange(false),
71
      m_sortspecnochange(false),
71
      m_periodicToggle(0)
72
      m_periodicToggle(0)
72
    {
73
    {
73
    setupUi(this);
74
    setupUi(this);
74
    init();
75
    init();
...
...
78
    QString getQueryDescription();
79
    QString getQueryDescription();
79
80
80
public slots:
81
public slots:
81
    virtual bool close();
82
    virtual bool close();
82
    virtual void fileExit();
83
    virtual void fileExit();
84
    virtual void idxStatus();
83
    virtual void periodic100();
85
    virtual void periodic100();
84
    virtual void toggleIndexing();
86
    virtual void toggleIndexing();
85
    virtual void startSearch(RefCntr<Rcl::SearchData> sdata);
87
    virtual void startSearch(RefCntr<Rcl::SearchData> sdata);
86
    virtual void previewClosed(Preview *w);
88
    virtual void previewClosed(Preview *w);
87
    virtual void showAdvSearchDialog();
89
    virtual void showAdvSearchDialog();
...
...
153
    QTimer         *periodictimer;
155
    QTimer         *periodictimer;
154
    ResTable       *restable;
156
    ResTable       *restable;
155
    bool            displayingTable;
157
    bool            displayingTable;
156
    QAction          *m_idNoStem;
158
    QAction          *m_idNoStem;
157
    QAction          *m_idAllStem;
159
    QAction          *m_idAllStem;
160
    QFileSystemWatcher m_watcher;
158
161
159
    vector<ExecCmd*>  m_viewers;
162
    vector<ExecCmd*>  m_viewers;
163
    ExecCmd          *m_idxproc; // Indexing process
160
    map<QString, QAction*> m_stemLangToId;
164
    map<QString, QAction*> m_stemLangToId;
161
    vector<string>    m_catgbutvec;
165
    vector<string>    m_catgbutvec;
162
    bool              m_idxStatusAck; // Did we act on last status?
163
    DocSeqFiltSpec    m_filtspec;
166
    DocSeqFiltSpec    m_filtspec;
164
    bool              m_sortspecnochange;
167
    bool              m_sortspecnochange;
165
    DocSeqSortSpec    m_sortspec;
168
    DocSeqSortSpec    m_sortspec;
166
    RefCntr<DocSequence> m_source;
169
    RefCntr<DocSequence> m_source;
167
    int               m_periodicToggle;
170
    int               m_periodicToggle;
...
...
173
    virtual void onSortCtlChanged();
176
    virtual void onSortCtlChanged();
174
    virtual void showIndexConfig(bool modal);
177
    virtual void showIndexConfig(bool modal);
175
    virtual void showIndexSched(bool modal);
178
    virtual void showIndexSched(bool modal);
176
    virtual void showCronTool(bool modal);
179
    virtual void showCronTool(bool modal);
177
    virtual void showRTITool(bool modal);
180
    virtual void showRTITool(bool modal);
181
    virtual void updateIdxForDocs(vector<Rcl::Doc>&);
178
};
182
};
179
183
180
#endif // RCLMAIN_W_H
184
#endif // RCLMAIN_W_H