|
a/src/qtgui/rclmain_w.cpp |
|
b/src/qtgui/rclmain_w.cpp |
|
... |
|
... |
301 |
connect(sc, SIGNAL (activated()), sSearch, SLOT (takeFocus()));
|
301 |
connect(sc, SIGNAL (activated()), sSearch, SLOT (takeFocus()));
|
302 |
QKeySequence seql("Ctrl+l");
|
302 |
QKeySequence seql("Ctrl+l");
|
303 |
sc = new QShortcut(seql, this);
|
303 |
sc = new QShortcut(seql, this);
|
304 |
connect(sc, SIGNAL (activated()), sSearch, SLOT (takeFocus()));
|
304 |
connect(sc, SIGNAL (activated()), sSearch, SLOT (takeFocus()));
|
305 |
|
305 |
|
306 |
connect(&m_watcher, SIGNAL(fileChanged(QString)), this, SLOT(idxStatus()));
|
306 |
connect(&m_watcher, SIGNAL(fileChanged(QString)),
|
|
|
307 |
this, SLOT(updateIdxStatus()));
|
307 |
|
308 |
|
308 |
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
|
309 |
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
|
309 |
connect(sSearch,
|
310 |
connect(sSearch,
|
310 |
XSIGNAL(startSearch(STD_SHARED_PTR<Rcl::SearchData>, bool)),
|
311 |
XSIGNAL(startSearch(STD_SHARED_PTR<Rcl::SearchData>, bool)),
|
311 |
this, XSLOT(startSearch(STD_SHARED_PTR<Rcl::SearchData>, bool)));
|
312 |
this, XSLOT(startSearch(STD_SHARED_PTR<Rcl::SearchData>, bool)));
|
|
... |
|
... |
348 |
this, SLOT(showDocHistory()));
|
349 |
this, SLOT(showDocHistory()));
|
349 |
connect(toolsAdvanced_SearchAction, SIGNAL(triggered()),
|
350 |
connect(toolsAdvanced_SearchAction, SIGNAL(triggered()),
|
350 |
this, SLOT(showAdvSearchDialog()));
|
351 |
this, SLOT(showAdvSearchDialog()));
|
351 |
connect(toolsSpellAction, SIGNAL(triggered()),
|
352 |
connect(toolsSpellAction, SIGNAL(triggered()),
|
352 |
this, SLOT(showSpellDialog()));
|
353 |
this, SLOT(showSpellDialog()));
|
|
|
354 |
#ifdef _WIN32
|
|
|
355 |
actionWebcache_Editor->setEnabled(false);
|
|
|
356 |
#else
|
353 |
connect(actionWebcache_Editor, SIGNAL(triggered()),
|
357 |
connect(actionWebcache_Editor, SIGNAL(triggered()),
|
354 |
this, SLOT(showWebcacheDialog()));
|
358 |
this, SLOT(showWebcacheDialog()));
|
|
|
359 |
#endif
|
355 |
connect(actionQuery_Fragments, SIGNAL(triggered()),
|
360 |
connect(actionQuery_Fragments, SIGNAL(triggered()),
|
356 |
this, SLOT(showFragButs()));
|
361 |
this, SLOT(showFragButs()));
|
357 |
connect(actionSpecial_Indexing, SIGNAL(triggered()),
|
362 |
connect(actionSpecial_Indexing, SIGNAL(triggered()),
|
358 |
this, SLOT(showSpecIdx()));
|
363 |
this, SLOT(showSpecIdx()));
|
359 |
connect(indexConfigAction, SIGNAL(triggered()),
|
364 |
connect(indexConfigAction, SIGNAL(triggered()),
|