|
a/src/qtgui/rclmain_w.cpp |
|
b/src/qtgui/rclmain_w.cpp |
|
... |
|
... |
280 |
|
280 |
|
281 |
// Must not do this when restable is a child of rclmain
|
281 |
// Must not do this when restable is a child of rclmain
|
282 |
// sc = new QShortcut(quitKeySeq, restable);
|
282 |
// sc = new QShortcut(quitKeySeq, restable);
|
283 |
// connect(sc, SIGNAL (activated()), this, SLOT (fileExit()));
|
283 |
// connect(sc, SIGNAL (activated()), this, SLOT (fileExit()));
|
284 |
|
284 |
|
|
|
285 |
|
285 |
// A shortcut to get the focus back to the search entry.
|
286 |
// A shortcut to get the focus back to the search entry.
|
286 |
QKeySequence seq("Ctrl+Shift+s");
|
287 |
QKeySequence seq("Ctrl+Shift+s");
|
287 |
QShortcut *sc = new QShortcut(seq, this);
|
288 |
QShortcut *sc = new QShortcut(seq, this);
|
288 |
connect(sc, SIGNAL (activated()), sSearch, SLOT (takeFocus()));
|
289 |
connect(sc, SIGNAL (activated()), sSearch, SLOT (takeFocus()));
|
289 |
QKeySequence seql("Ctrl+l");
|
290 |
QKeySequence seql("Ctrl+l");
|
|
... |
|
... |
304 |
this, SLOT(adjustPrefsMenu()));
|
305 |
this, SLOT(adjustPrefsMenu()));
|
305 |
connect(fileExitAction, SIGNAL(triggered() ),
|
306 |
connect(fileExitAction, SIGNAL(triggered() ),
|
306 |
this, SLOT(fileExit() ) );
|
307 |
this, SLOT(fileExit() ) );
|
307 |
connect(fileToggleIndexingAction, SIGNAL(triggered()),
|
308 |
connect(fileToggleIndexingAction, SIGNAL(triggered()),
|
308 |
this, SLOT(toggleIndexing()));
|
309 |
this, SLOT(toggleIndexing()));
|
|
|
310 |
#ifndef _WIN32
|
|
|
311 |
fileMenu->insertAction(fileRebuildIndexAction, fileBumpIndexingAction);
|
|
|
312 |
connect(fileBumpIndexingAction, SIGNAL(triggered()),
|
|
|
313 |
this, SLOT(bumpIndexing()));
|
|
|
314 |
#endif
|
309 |
connect(fileRebuildIndexAction, SIGNAL(triggered()),
|
315 |
connect(fileRebuildIndexAction, SIGNAL(triggered()),
|
310 |
this, SLOT(rebuildIndex()));
|
316 |
this, SLOT(rebuildIndex()));
|
311 |
connect(fileEraseDocHistoryAction, SIGNAL(triggered()),
|
317 |
connect(fileEraseDocHistoryAction, SIGNAL(triggered()),
|
312 |
this, SLOT(eraseDocHistory()));
|
318 |
this, SLOT(eraseDocHistory()));
|
313 |
connect(fileEraseSearchHistoryAction, SIGNAL(triggered()),
|
319 |
connect(fileEraseSearchHistoryAction, SIGNAL(triggered()),
|