|
a/src/qtgui/rclmain.cpp |
|
b/src/qtgui/rclmain.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: rclmain.cpp,v 1.10 2006-01-27 13:42:02 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: rclmain.cpp,v 1.11 2006-01-30 09:28:50 dockes Exp $ (C) 2005 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
/*
|
4 |
/*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* This program is free software; you can redistribute it and/or modify
|
6 |
* it under the terms of the GNU General Public License as published by
|
6 |
* it under the terms of the GNU General Public License as published by
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
499 |
QMessageBox::information(this, tr("About Recoll"), vstring.c_str());
|
499 |
QMessageBox::information(this, tr("About Recoll"), vstring.c_str());
|
500 |
}
|
500 |
}
|
501 |
|
501 |
|
502 |
void RclMain::startManual()
|
502 |
void RclMain::startManual()
|
503 |
{
|
503 |
{
|
|
|
504 |
QString msg = tr("Starting help browser ");
|
|
|
505 |
if (prefs.htmlBrowser != QString(""))
|
|
|
506 |
msg += prefs.htmlBrowser;
|
|
|
507 |
statusBar()->message(msg, 3000);
|
504 |
startHelpBrowser();
|
508 |
startHelpBrowser();
|
505 |
}
|
509 |
}
|
506 |
|
510 |
|
507 |
void RclMain::showDocHistory()
|
511 |
void RclMain::showDocHistory()
|
508 |
{
|
512 |
{
|
|
... |
|
... |
558 |
|
562 |
|
559 |
/** Show detailed expansion of a query */
|
563 |
/** Show detailed expansion of a query */
|
560 |
void RclMain::showQueryDetails()
|
564 |
void RclMain::showQueryDetails()
|
561 |
{
|
565 |
{
|
562 |
// Break query into lines of reasonable length, avoid cutting words!
|
566 |
// Break query into lines of reasonable length, avoid cutting words!
|
563 |
const int ll = 80;
|
567 |
const unsigned int ll = 80;
|
564 |
string query = currentQueryData.description;
|
568 |
string query = currentQueryData.description;
|
565 |
string oq;
|
569 |
string oq;
|
566 |
while (query.length() > 0) {
|
570 |
while (query.length() > 0) {
|
567 |
string ss = query.substr(0, ll);
|
571 |
string ss = query.substr(0, ll);
|
568 |
if (ss.length() == ll) {
|
572 |
if (ss.length() == ll) {
|