This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kchmviewer@1234150 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
i18n("<html><p>The improved search engine allows you to search for a word, symbol or phrase, which is set of words and symbols included in quotes. Only the documents which include all the terms speficide in th search query are shown; no prefixes needed.<p>Unlike MS CHM internal search index, my improved search engine indexes everything, including special symbols. Therefore it is possible to search (and find!) for something like <i>$q = new ChmFile();</i>. This search also fully supports Unicode, which means that you can search in non-English documents.<p>If you want to search for a quote symbol, use quotation mark instead. The engine treats a quote and a quotation mark as the same symbol, which allows to use them in phrases.</html>"));
i18n("<html><p>The improved search engine allows you to search for a word, symbol or phrase, which is set of words and symbols included in quotes. Only the documents which include all the terms speficide in th search query are shown; no prefixes needed.<p>Unlike MS CHM internal search index, my improved search engine indexes everything, including special symbols. Therefore it is possible to search (and tqfind!) for something like <i>$q = new ChmFile();</i>. This search also fully supports Unicode, which means that you can search in non-English documents.<p>If you want to search for a quote symbol, use quotation mark instead. The engine treats a quote and a quotation mark as the same symbol, which allows to use them in phrases.</html>"));
}
else
{
QMessageBox::information(this,
TQMessageBox::information(this,
i18n("How to use search"),
i18n("The search query can contain a few prefixes.\nA set of words inside the quote marks mean that you are searching for exact phrase.\nA word with minus sign means that it should be absent in the search result.\nA word with plus mark or without any mark means that it must be present in the search result.\n\nNote that only letters and digits are indexed.\nYou cannot search for non-character symbols other than underscope, and those symbols will be removed from the search query.\nFor example, search for 'C' will give the same result as searching for 'C++'."));
QToolTip::add(m_rememberHistoryInfo,tr("Remembers the information about the files, which were opened. Remembers last opened page, search history, font size, bookmarks and so on."));
TQToolTip::add(m_rememberHistoryInfo,tr("Remembers the information about the files, which were opened. Remembers last opened page, search history, font size, bookmarks and so on."));
groupBox1->setTitle(tr("CHM security settings"));
buttonGroup4->setTitle(tr("When external link clicked"));
m_radioExtLinkOpenAlways->setText(tr("Alwa&ys open it in external browser"));
m_groupQtsettings->setTitle(tr("Qt version settings"));
m_groupQtsettings->setTitle(tr("TQt version settings"));
textLabel1_2->setText(tr("Enter the path to the program, which will be used as a browser for external links. A <i>%s</i> symbol will be replaced by the URL clicked."));
m_groupKDEsettings->setTitle(tr("KDE version settings"));
buttonGroup5_2->setTitle(tr("To show HTML content, use"));
m_labelUseSearchEngineInternal->setText(tr("Use the search based on internal CHM index. This engine cannot search for any symbols except underscode, does not support multibyte languages, and is not always available."));
m_useSearchEngineNew->setText(QString::null);
m_useSearchEngineNew->setText(TQString());
m_labelUseSearchEngineNew->setText(tr("Use new kchmviewer internal search engine (recommended). This engine indexes symbols, so it is possible to search for special symbols (like \"C++\"). All languages are supported. The index will be generated before the first search."));
<string>Enter the path to the program, which will be used as a browser for external links. A <i>%s</i> symbol will be replaced by the URL clicked.</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
<widget class="QLineEdit">
<widget class="TQLineEdit">
<property name="name">
<cstring>m_qtBrowserPath</cstring>
</property>
@ -317,7 +317,7 @@
</widget>
</hbox>
</widget>
<widget class="QGroupBox">
<widget class="TQGroupBox">
<property name="name">
<cstring>m_groupKDEsettings</cstring>
</property>
@ -328,7 +328,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QButtonGroup">
<widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup5_2</cstring>
</property>
@ -339,7 +339,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QRadioButton">
<widget class="TQRadioButton">
<property name="name">
<cstring>m_radioUseQtextBrowser</cstring>
</property>
@ -350,7 +350,7 @@
<string>Alt+Q</string>
</property>
</widget>
<widget class="QRadioButton">
<widget class="TQRadioButton">
<property name="name">
<cstring>m_radioUseKHTMLPart</cstring>
</property>
@ -363,7 +363,7 @@
</widget>
</vbox>
</widget>
<widget class="QGroupBox">
<widget class="TQGroupBox">
<property name="name">
<cstring>groupKhtmlSecurity</cstring>
</property>
@ -374,7 +374,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QCheckBox" row="0" column="0">
<widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>m_enableJS</cstring>
</property>
@ -385,7 +385,7 @@
<string>Alt+S</string>
</property>
</widget>
<widget class="QCheckBox" row="0" column="1">
<widget class="TQCheckBox" row="0" column="1">
<property name="name">
<cstring>m_enablePlugins</cstring>
</property>
@ -396,7 +396,7 @@
<string>Alt+P</string>
</property>
</widget>
<widget class="QCheckBox" row="1" column="0">
<widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>m_enableJava</cstring>
</property>
@ -407,7 +407,7 @@
<string>Alt+J</string>
</property>
</widget>
<widget class="QCheckBox" row="1" column="1">
<widget class="TQCheckBox" row="1" column="1">
<property name="name">
<cstring>m_enableRefresh</cstring>
</property>
@ -424,7 +424,7 @@
</widget>
</vbox>
</widget>
<widget class="QWidget">
<widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
@ -435,7 +435,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QButtonGroup">
<widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup7</cstring>
</property>
@ -446,7 +446,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QRadioButton">
<widget class="TQRadioButton">
<property name="name">
<cstring>m_advViewSourceInternal</cstring>
</property>
@ -457,7 +457,7 @@
<string></string>
</property>
</widget>
<widget class="QRadioButton">
<widget class="TQRadioButton">
<property name="name">
<cstring>m_advViewSourceExternal</cstring>
</property>
@ -468,15 +468,15 @@
<string>Alt+X</string>
</property>
</widget>
<widget class="QLayoutWidget">
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout4</cstring>
<cstring>tqlayout4</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_3</cstring>
</property>
@ -484,7 +484,7 @@
<string>External program:</string>
</property>
</widget>
<widget class="QLineEdit">
<widget class="TQLineEdit">
<property name="name">
<cstring>m_advExternalProgramName</cstring>
</property>
@ -493,7 +493,7 @@
</widget>
</vbox>
</widget>
<widget class="QButtonGroup">
<widget class="TQButtonGroup">
<property name="name">
<cstring>groupBox6</cstring>
</property>
@ -504,7 +504,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QRadioButton" row="1" column="0">
<widget class="TQRadioButton" row="1" column="0">
<property name="name">
<cstring>m_useSearchEngineInternal</cstring>
</property>
@ -512,7 +512,7 @@
<string></string>
</property>
</widget>
<widget class="QLabel" row="1" column="1">
<widget class="TQLabel" row="1" column="1">
<property name="name">
<cstring>m_labelUseSearchEngineInternal</cstring>
</property>
@ -527,11 +527,11 @@
<property name="text">
<string>Use the search based on internal CHM index. This engine cannot search for any symbols except underscode, does not support multibyte languages, and is not always available.</string>
</property>
<property name="alignment">
<property name="tqalignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
<widget class="QRadioButton" row="0" column="0">
<widget class="TQRadioButton" row="0" column="0">
<property name="name">
<cstring>m_useSearchEngineNew</cstring>
</property>
@ -539,7 +539,7 @@
<string></string>
</property>
</widget>
<widget class="QLabel" row="0" column="1">
<widget class="TQLabel" row="0" column="1">
<property name="name">
<cstring>m_labelUseSearchEngineNew</cstring>
</property>
@ -554,7 +554,7 @@
<property name="text">
<string>Use new kchmviewer internal search engine (recommended). This engine indexes symbols, so it is possible to search for special symbols (like "C++"). All languages are supported. The index will be generated before the first search.</string>
m_contextMenuLink->insertItem("&Open this link in a new tab",::mainWindow, SLOT(slotOpenPageInNewTab()), QKeySequence("Shift+Enter"));
m_contextMenuLink->insertItem("&Open this link in a new tab",::mainWindow,TQT_SLOT(slotOpenPageInNewTab()),TQKeySequence("Shift+Enter"));
m_contextMenuLink->insertItem("&Open this link in a new background tab",::mainWindow, SLOT(slotOpenPageInNewBackgroundTab()), QKeySequence("Ctrl+Enter"));
m_contextMenuLink->insertItem("&Open this link in a new background tab",::mainWindow,TQT_SLOT(slotOpenPageInNewBackgroundTab()),TQKeySequence("Ctrl+Enter"));