Switch to unified view

a/src/qtgui/rclmain_w.h b/src/qtgui/rclmain_w.h
...
...
75
    virtual bool close();
75
    virtual bool close();
76
    virtual void fileExit();
76
    virtual void fileExit();
77
    virtual void periodic100();
77
    virtual void periodic100();
78
    virtual void toggleIndexing();
78
    virtual void toggleIndexing();
79
    virtual void startSearch(RefCntr<Rcl::SearchData> sdata);
79
    virtual void startSearch(RefCntr<Rcl::SearchData> sdata);
80
    virtual void setDocSequence();
81
    virtual void previewClosed(Preview *w);
80
    virtual void previewClosed(Preview *w);
82
    virtual void showAdvSearchDialog();
81
    virtual void showAdvSearchDialog();
83
    virtual void showSortDialog();
82
    virtual void showSortDialog();
84
    virtual void showSpellDialog();
83
    virtual void showSpellDialog();
85
    virtual void showAboutDialog();
84
    virtual void showAboutDialog();
86
    virtual void startManual();
85
    virtual void startManual();
87
    virtual void showDocHistory();
86
    virtual void showDocHistory();
88
    virtual void showExtIdxDialog();
87
    virtual void showExtIdxDialog();
89
    virtual void sortDataChanged(DocSeqSortSpec spec);
90
    virtual void showUIPrefs();
88
    virtual void showUIPrefs();
91
    virtual void showIndexConfig();
89
    virtual void showIndexConfig();
92
    virtual void setUIPrefs();
90
    virtual void setUIPrefs();
93
    virtual void enableNextPage(bool);
91
    virtual void enableNextPage(bool);
94
    virtual void enablePrevPage(bool);
92
    virtual void enablePrevPage(bool);
...
...
113
111
114
protected:
112
protected:
115
    virtual void closeEvent( QCloseEvent * );
113
    virtual void closeEvent( QCloseEvent * );
116
114
117
private:
115
private:
118
    Preview *curPreview;
116
    Preview        *curPreview;
119
    AdvSearch *asearchform;
117
    AdvSearch      *asearchform;
120
    SortForm *sortform;
118
    SortForm       *sortform;
121
    UIPrefsDialog *uiprefs;
119
    UIPrefsDialog  *uiprefs;
122
    ConfIndexW  *indexConfig;
120
    ConfIndexW     *indexConfig;
123
    SpellW *spellform;
121
    SpellW         *spellform;
124
122
125
    RefCntr<Rcl::SearchData> m_searchData;
126
    DocSeqSortSpec           m_sortspecs;
127
    RefCntr<DocSequence>     m_docSource;
128
    
129
    vector<TempFile>         m_tempfiles;
123
    vector<TempFile>  m_tempfiles;
130
    // Serial number of current search for this process.
131
    // Used to match to preview windows
132
    int                      m_searchId; 
133
    map<QString, int>        m_stemLangToId;
124
    map<QString, int> m_stemLangToId;
134
    int                      m_idNoStem;
125
    int               m_idNoStem;
135
    int                      m_idAllStem;
126
    int               m_idAllStem;
136
    bool                     m_idxStatusAck; // Did we act on last status?
127
    bool              m_idxStatusAck; // Did we act on last status?
137
128
138
    virtual void init();
129
    virtual void init();
139
    virtual void previewPrevOrNextInTab(Preview *, int sid, int docnum, 
130
    virtual void previewPrevOrNextInTab(Preview *, int sid, int docnum, 
140
                    bool next);
131
                    bool next);
141
    virtual void setStemLang(const QString& lang);
132
    virtual void setStemLang(const QString& lang);