|
a/src/qtgui/rclmain_w.h |
|
b/src/qtgui/rclmain_w.h |
|
... |
|
... |
65 |
{
|
65 |
{
|
66 |
init();
|
66 |
init();
|
67 |
}
|
67 |
}
|
68 |
~RclMain() {}
|
68 |
~RclMain() {}
|
69 |
|
69 |
|
70 |
|
|
|
71 |
public slots:
|
70 |
public slots:
|
72 |
virtual bool close();
|
71 |
virtual bool close();
|
73 |
virtual void fileExit();
|
72 |
virtual void fileExit();
|
74 |
virtual void periodic100();
|
73 |
virtual void periodic100();
|
75 |
virtual void startIndexing();
|
74 |
virtual void startIndexing();
|
|
... |
|
... |
97 |
virtual void previewNextInTab(Preview *, int sid, int docnum);
|
96 |
virtual void previewNextInTab(Preview *, int sid, int docnum);
|
98 |
virtual void previewPrevInTab(Preview *, int sid, int docnum);
|
97 |
virtual void previewPrevInTab(Preview *, int sid, int docnum);
|
99 |
virtual void previewExposed(Preview *, int sid, int docnum);
|
98 |
virtual void previewExposed(Preview *, int sid, int docnum);
|
100 |
virtual void resetSearch();
|
99 |
virtual void resetSearch();
|
101 |
virtual void eraseDocHistory();
|
100 |
virtual void eraseDocHistory();
|
|
|
101 |
// Callback for setting the stemming language through the prefs menu
|
|
|
102 |
virtual void setStemLang(int id);
|
|
|
103 |
// Prefs menu about to show, set the checked lang entry
|
|
|
104 |
virtual void adjustPrefsMenu();
|
|
|
105 |
|
|
|
106 |
signals:
|
|
|
107 |
void stemLangChanged(const QString& lang);
|
|
|
108 |
|
102 |
protected:
|
109 |
protected:
|
103 |
virtual void closeEvent( QCloseEvent * );
|
110 |
virtual void closeEvent( QCloseEvent * );
|
104 |
|
111 |
|
105 |
private:
|
112 |
private:
|
106 |
Preview *curPreview;
|
113 |
Preview *curPreview;
|
|
... |
|
... |
115 |
|
122 |
|
116 |
vector<TempFile> m_tempfiles;
|
123 |
vector<TempFile> m_tempfiles;
|
117 |
// Serial number of current search for this process.
|
124 |
// Serial number of current search for this process.
|
118 |
// Used to match to preview windows
|
125 |
// Used to match to preview windows
|
119 |
int m_searchId;
|
126 |
int m_searchId;
|
|
|
127 |
map<QString, int> m_stemLangToId;
|
|
|
128 |
int m_idNoStem;
|
|
|
129 |
|
120 |
virtual void init();
|
130 |
virtual void init();
|
121 |
virtual void previewPrevOrNextInTab(Preview *, int sid, int docnum,
|
131 |
virtual void previewPrevOrNextInTab(Preview *, int sid, int docnum,
|
122 |
bool next);
|
132 |
bool next);
|
|
|
133 |
virtual void setStemLang(const QString& lang);
|
123 |
};
|
134 |
};
|
124 |
|
135 |
|
125 |
#endif // RCLMAIN_W_H
|
136 |
#endif // RCLMAIN_W_H
|