replace deprecated qt action::activated() with action::triggered()
This commit is contained in:
parent
38adc5ec41
commit
9724d5a79b
@ -233,51 +233,51 @@ void RclMain::init()
|
|||||||
this, SLOT(setStemLang(QAction*)));
|
this, SLOT(setStemLang(QAction*)));
|
||||||
connect(preferencesMenu, SIGNAL(aboutToShow()),
|
connect(preferencesMenu, SIGNAL(aboutToShow()),
|
||||||
this, SLOT(adjustPrefsMenu()));
|
this, SLOT(adjustPrefsMenu()));
|
||||||
connect(fileExitAction, SIGNAL(activated() ),
|
connect(fileExitAction, SIGNAL(triggered() ),
|
||||||
this, SLOT(fileExit() ) );
|
this, SLOT(fileExit() ) );
|
||||||
connect(fileToggleIndexingAction, SIGNAL(activated()),
|
connect(fileToggleIndexingAction, SIGNAL(triggered()),
|
||||||
this, SLOT(toggleIndexing()));
|
this, SLOT(toggleIndexing()));
|
||||||
connect(fileRebuildIndexAction, SIGNAL(activated()),
|
connect(fileRebuildIndexAction, SIGNAL(triggered()),
|
||||||
this, SLOT(rebuildIndex()));
|
this, SLOT(rebuildIndex()));
|
||||||
connect(fileEraseDocHistoryAction, SIGNAL(activated()),
|
connect(fileEraseDocHistoryAction, SIGNAL(triggered()),
|
||||||
this, SLOT(eraseDocHistory()));
|
this, SLOT(eraseDocHistory()));
|
||||||
connect(fileEraseSearchHistoryAction, SIGNAL(activated()),
|
connect(fileEraseSearchHistoryAction, SIGNAL(triggered()),
|
||||||
this, SLOT(eraseSearchHistory()));
|
this, SLOT(eraseSearchHistory()));
|
||||||
connect(helpAbout_RecollAction, SIGNAL(activated()),
|
connect(helpAbout_RecollAction, SIGNAL(triggered()),
|
||||||
this, SLOT(showAboutDialog()));
|
this, SLOT(showAboutDialog()));
|
||||||
connect(showMissingHelpers_Action, SIGNAL(activated()),
|
connect(showMissingHelpers_Action, SIGNAL(triggered()),
|
||||||
this, SLOT(showMissingHelpers()));
|
this, SLOT(showMissingHelpers()));
|
||||||
connect(showActiveTypes_Action, SIGNAL(activated()),
|
connect(showActiveTypes_Action, SIGNAL(triggered()),
|
||||||
this, SLOT(showActiveTypes()));
|
this, SLOT(showActiveTypes()));
|
||||||
connect(userManualAction, SIGNAL(activated()),
|
connect(userManualAction, SIGNAL(triggered()),
|
||||||
this, SLOT(startManual()));
|
this, SLOT(startManual()));
|
||||||
connect(toolsDoc_HistoryAction, SIGNAL(activated()),
|
connect(toolsDoc_HistoryAction, SIGNAL(triggered()),
|
||||||
this, SLOT(showDocHistory()));
|
this, SLOT(showDocHistory()));
|
||||||
connect(toolsAdvanced_SearchAction, SIGNAL(activated()),
|
connect(toolsAdvanced_SearchAction, SIGNAL(triggered()),
|
||||||
this, SLOT(showAdvSearchDialog()));
|
this, SLOT(showAdvSearchDialog()));
|
||||||
connect(toolsSpellAction, SIGNAL(activated()),
|
connect(toolsSpellAction, SIGNAL(triggered()),
|
||||||
this, SLOT(showSpellDialog()));
|
this, SLOT(showSpellDialog()));
|
||||||
connect(indexConfigAction, SIGNAL(activated()),
|
connect(indexConfigAction, SIGNAL(triggered()),
|
||||||
this, SLOT(showIndexConfig()));
|
this, SLOT(showIndexConfig()));
|
||||||
connect(indexScheduleAction, SIGNAL(activated()),
|
connect(indexScheduleAction, SIGNAL(triggered()),
|
||||||
this, SLOT(showIndexSched()));
|
this, SLOT(showIndexSched()));
|
||||||
connect(queryPrefsAction, SIGNAL(activated()),
|
connect(queryPrefsAction, SIGNAL(triggered()),
|
||||||
this, SLOT(showUIPrefs()));
|
this, SLOT(showUIPrefs()));
|
||||||
connect(extIdxAction, SIGNAL(activated()),
|
connect(extIdxAction, SIGNAL(triggered()),
|
||||||
this, SLOT(showExtIdxDialog()));
|
this, SLOT(showExtIdxDialog()));
|
||||||
|
|
||||||
if (prefs.catgToolBar && catgCMB)
|
if (prefs.catgToolBar && catgCMB)
|
||||||
connect(catgCMB, SIGNAL(activated(int)),
|
connect(catgCMB, SIGNAL(activated(int)),
|
||||||
this, SLOT(catgFilter(int)));
|
this, SLOT(catgFilter(int)));
|
||||||
connect(toggleFullScreenAction, SIGNAL(activated()),
|
connect(toggleFullScreenAction, SIGNAL(triggered()),
|
||||||
this, SLOT(toggleFullScreen()));
|
this, SLOT(toggleFullScreen()));
|
||||||
connect(actionShowQueryDetails, SIGNAL(activated()),
|
connect(actionShowQueryDetails, SIGNAL(triggered()),
|
||||||
reslist, SLOT(showQueryDetails()));
|
reslist, SLOT(showQueryDetails()));
|
||||||
connect(periodictimer, SIGNAL(timeout()),
|
connect(periodictimer, SIGNAL(timeout()),
|
||||||
this, SLOT(periodic100()));
|
this, SLOT(periodic100()));
|
||||||
|
|
||||||
restable->setRclMain(this, true);
|
restable->setRclMain(this, true);
|
||||||
connect(actionSaveResultsAsCSV, SIGNAL(activated()),
|
connect(actionSaveResultsAsCSV, SIGNAL(triggered()),
|
||||||
restable, SLOT(saveAsCSV()));
|
restable, SLOT(saveAsCSV()));
|
||||||
connect(this, SIGNAL(docSourceChanged(RefCntr<DocSequence>)),
|
connect(this, SIGNAL(docSourceChanged(RefCntr<DocSequence>)),
|
||||||
restable, SLOT(setDocSource(RefCntr<DocSequence>)));
|
restable, SLOT(setDocSource(RefCntr<DocSequence>)));
|
||||||
@ -309,11 +309,11 @@ void RclMain::init()
|
|||||||
reslist->setRclMain(this, true);
|
reslist->setRclMain(this, true);
|
||||||
connect(this, SIGNAL(docSourceChanged(RefCntr<DocSequence>)),
|
connect(this, SIGNAL(docSourceChanged(RefCntr<DocSequence>)),
|
||||||
reslist, SLOT(setDocSource(RefCntr<DocSequence>)));
|
reslist, SLOT(setDocSource(RefCntr<DocSequence>)));
|
||||||
connect(firstPageAction, SIGNAL(activated()),
|
connect(firstPageAction, SIGNAL(triggered()),
|
||||||
reslist, SLOT(resultPageFirst()));
|
reslist, SLOT(resultPageFirst()));
|
||||||
connect(prevPageAction, SIGNAL(activated()),
|
connect(prevPageAction, SIGNAL(triggered()),
|
||||||
reslist, SLOT(resPageUpOrBack()));
|
reslist, SLOT(resPageUpOrBack()));
|
||||||
connect(nextPageAction, SIGNAL(activated()),
|
connect(nextPageAction, SIGNAL(triggered()),
|
||||||
reslist, SLOT(resPageDownOrNext()));
|
reslist, SLOT(resPageDownOrNext()));
|
||||||
connect(this, SIGNAL(searchReset()),
|
connect(this, SIGNAL(searchReset()),
|
||||||
reslist, SLOT(resetList()));
|
reslist, SLOT(resetList()));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user