|
a/src/qtgui/rclmain_w.cpp |
|
b/src/qtgui/rclmain_w.cpp |
|
... |
|
... |
231 |
|
231 |
|
232 |
connect(preferencesMenu, SIGNAL(triggered(QAction*)),
|
232 |
connect(preferencesMenu, SIGNAL(triggered(QAction*)),
|
233 |
this, SLOT(setStemLang(QAction*)));
|
233 |
this, SLOT(setStemLang(QAction*)));
|
234 |
connect(preferencesMenu, SIGNAL(aboutToShow()),
|
234 |
connect(preferencesMenu, SIGNAL(aboutToShow()),
|
235 |
this, SLOT(adjustPrefsMenu()));
|
235 |
this, SLOT(adjustPrefsMenu()));
|
236 |
connect(fileExitAction, SIGNAL(activated() ),
|
236 |
connect(fileExitAction, SIGNAL(triggered() ),
|
237 |
this, SLOT(fileExit() ) );
|
237 |
this, SLOT(fileExit() ) );
|
238 |
connect(fileToggleIndexingAction, SIGNAL(activated()),
|
238 |
connect(fileToggleIndexingAction, SIGNAL(triggered()),
|
239 |
this, SLOT(toggleIndexing()));
|
239 |
this, SLOT(toggleIndexing()));
|
240 |
connect(fileRebuildIndexAction, SIGNAL(activated()),
|
240 |
connect(fileRebuildIndexAction, SIGNAL(triggered()),
|
241 |
this, SLOT(rebuildIndex()));
|
241 |
this, SLOT(rebuildIndex()));
|
242 |
connect(fileEraseDocHistoryAction, SIGNAL(activated()),
|
242 |
connect(fileEraseDocHistoryAction, SIGNAL(triggered()),
|
243 |
this, SLOT(eraseDocHistory()));
|
243 |
this, SLOT(eraseDocHistory()));
|
244 |
connect(fileEraseSearchHistoryAction, SIGNAL(activated()),
|
244 |
connect(fileEraseSearchHistoryAction, SIGNAL(triggered()),
|
245 |
this, SLOT(eraseSearchHistory()));
|
245 |
this, SLOT(eraseSearchHistory()));
|
246 |
connect(helpAbout_RecollAction, SIGNAL(activated()),
|
246 |
connect(helpAbout_RecollAction, SIGNAL(triggered()),
|
247 |
this, SLOT(showAboutDialog()));
|
247 |
this, SLOT(showAboutDialog()));
|
248 |
connect(showMissingHelpers_Action, SIGNAL(activated()),
|
248 |
connect(showMissingHelpers_Action, SIGNAL(triggered()),
|
249 |
this, SLOT(showMissingHelpers()));
|
249 |
this, SLOT(showMissingHelpers()));
|
250 |
connect(showActiveTypes_Action, SIGNAL(activated()),
|
250 |
connect(showActiveTypes_Action, SIGNAL(triggered()),
|
251 |
this, SLOT(showActiveTypes()));
|
251 |
this, SLOT(showActiveTypes()));
|
252 |
connect(userManualAction, SIGNAL(activated()),
|
252 |
connect(userManualAction, SIGNAL(triggered()),
|
253 |
this, SLOT(startManual()));
|
253 |
this, SLOT(startManual()));
|
254 |
connect(toolsDoc_HistoryAction, SIGNAL(activated()),
|
254 |
connect(toolsDoc_HistoryAction, SIGNAL(triggered()),
|
255 |
this, SLOT(showDocHistory()));
|
255 |
this, SLOT(showDocHistory()));
|
256 |
connect(toolsAdvanced_SearchAction, SIGNAL(activated()),
|
256 |
connect(toolsAdvanced_SearchAction, SIGNAL(triggered()),
|
257 |
this, SLOT(showAdvSearchDialog()));
|
257 |
this, SLOT(showAdvSearchDialog()));
|
258 |
connect(toolsSpellAction, SIGNAL(activated()),
|
258 |
connect(toolsSpellAction, SIGNAL(triggered()),
|
259 |
this, SLOT(showSpellDialog()));
|
259 |
this, SLOT(showSpellDialog()));
|
260 |
connect(indexConfigAction, SIGNAL(activated()),
|
260 |
connect(indexConfigAction, SIGNAL(triggered()),
|
261 |
this, SLOT(showIndexConfig()));
|
261 |
this, SLOT(showIndexConfig()));
|
262 |
connect(indexScheduleAction, SIGNAL(activated()),
|
262 |
connect(indexScheduleAction, SIGNAL(triggered()),
|
263 |
this, SLOT(showIndexSched()));
|
263 |
this, SLOT(showIndexSched()));
|
264 |
connect(queryPrefsAction, SIGNAL(activated()),
|
264 |
connect(queryPrefsAction, SIGNAL(triggered()),
|
265 |
this, SLOT(showUIPrefs()));
|
265 |
this, SLOT(showUIPrefs()));
|
266 |
connect(extIdxAction, SIGNAL(activated()),
|
266 |
connect(extIdxAction, SIGNAL(triggered()),
|
267 |
this, SLOT(showExtIdxDialog()));
|
267 |
this, SLOT(showExtIdxDialog()));
|
268 |
|
268 |
|
269 |
if (prefs.catgToolBar && catgCMB)
|
269 |
if (prefs.catgToolBar && catgCMB)
|
270 |
connect(catgCMB, SIGNAL(activated(int)),
|
270 |
connect(catgCMB, SIGNAL(activated(int)),
|
271 |
this, SLOT(catgFilter(int)));
|
271 |
this, SLOT(catgFilter(int)));
|
272 |
connect(toggleFullScreenAction, SIGNAL(activated()),
|
272 |
connect(toggleFullScreenAction, SIGNAL(triggered()),
|
273 |
this, SLOT(toggleFullScreen()));
|
273 |
this, SLOT(toggleFullScreen()));
|
274 |
connect(actionShowQueryDetails, SIGNAL(activated()),
|
274 |
connect(actionShowQueryDetails, SIGNAL(triggered()),
|
275 |
reslist, SLOT(showQueryDetails()));
|
275 |
reslist, SLOT(showQueryDetails()));
|
276 |
connect(periodictimer, SIGNAL(timeout()),
|
276 |
connect(periodictimer, SIGNAL(timeout()),
|
277 |
this, SLOT(periodic100()));
|
277 |
this, SLOT(periodic100()));
|
278 |
|
278 |
|
279 |
restable->setRclMain(this, true);
|
279 |
restable->setRclMain(this, true);
|
280 |
connect(actionSaveResultsAsCSV, SIGNAL(activated()),
|
280 |
connect(actionSaveResultsAsCSV, SIGNAL(triggered()),
|
281 |
restable, SLOT(saveAsCSV()));
|
281 |
restable, SLOT(saveAsCSV()));
|
282 |
connect(this, SIGNAL(docSourceChanged(RefCntr<DocSequence>)),
|
282 |
connect(this, SIGNAL(docSourceChanged(RefCntr<DocSequence>)),
|
283 |
restable, SLOT(setDocSource(RefCntr<DocSequence>)));
|
283 |
restable, SLOT(setDocSource(RefCntr<DocSequence>)));
|
284 |
connect(this, SIGNAL(searchReset()),
|
284 |
connect(this, SIGNAL(searchReset()),
|
285 |
restable, SLOT(resetSource()));
|
285 |
restable, SLOT(resetSource()));
|
|
... |
|
... |
307 |
this, SLOT(showSnippets(Rcl::Doc)));
|
307 |
this, SLOT(showSnippets(Rcl::Doc)));
|
308 |
|
308 |
|
309 |
reslist->setRclMain(this, true);
|
309 |
reslist->setRclMain(this, true);
|
310 |
connect(this, SIGNAL(docSourceChanged(RefCntr<DocSequence>)),
|
310 |
connect(this, SIGNAL(docSourceChanged(RefCntr<DocSequence>)),
|
311 |
reslist, SLOT(setDocSource(RefCntr<DocSequence>)));
|
311 |
reslist, SLOT(setDocSource(RefCntr<DocSequence>)));
|
312 |
connect(firstPageAction, SIGNAL(activated()),
|
312 |
connect(firstPageAction, SIGNAL(triggered()),
|
313 |
reslist, SLOT(resultPageFirst()));
|
313 |
reslist, SLOT(resultPageFirst()));
|
314 |
connect(prevPageAction, SIGNAL(activated()),
|
314 |
connect(prevPageAction, SIGNAL(triggered()),
|
315 |
reslist, SLOT(resPageUpOrBack()));
|
315 |
reslist, SLOT(resPageUpOrBack()));
|
316 |
connect(nextPageAction, SIGNAL(activated()),
|
316 |
connect(nextPageAction, SIGNAL(triggered()),
|
317 |
reslist, SLOT(resPageDownOrNext()));
|
317 |
reslist, SLOT(resPageDownOrNext()));
|
318 |
connect(this, SIGNAL(searchReset()),
|
318 |
connect(this, SIGNAL(searchReset()),
|
319 |
reslist, SLOT(resetList()));
|
319 |
reslist, SLOT(resetList()));
|
320 |
connect(this, SIGNAL(resultsReady()),
|
320 |
connect(this, SIGNAL(resultsReady()),
|
321 |
reslist, SLOT(readDocSource()));
|
321 |
reslist, SLOT(readDocSource()));
|