diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:58:08 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:58:08 -0600 |
commit | 1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98 (patch) | |
tree | e24fdc0514249de1233dd5dc07f09d07a35f4269 /kdict/queryview.cpp | |
parent | 089118c18533dfa3e6ce5065dbebdd4db94051f1 (diff) | |
download | tdenetwork-1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98.tar.gz tdenetwork-1de96857f5b0ed5d4a36e9486ffc8c7f8c802f98.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kdict/queryview.cpp')
-rw-r--r-- | kdict/queryview.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kdict/queryview.cpp b/kdict/queryview.cpp index 3b0cf9e3..81761e2e 100644 --- a/kdict/queryview.cpp +++ b/kdict/queryview.cpp @@ -74,7 +74,7 @@ TQFile* SaveHelper::getFile(const TQString &dialogTitle) if (url.isLocalFile()) { if (TQFileInfo(url.path()).exists() && (KMessageBox::warningContinueCancel(global->topLevel, - i18n("A file named %1 already exists.\nDo you want to replace it?").tqarg(url.path()), + i18n("A file named %1 already exists.\nDo you want to replace it?").arg(url.path()), dialogTitle, i18n("&Replace")) != KMessageBox::Continue)) { return 0; } @@ -184,11 +184,11 @@ void QueryView::optionsChanged() saveCurrentResultPos(); currentHTMLHeader = TQString("<html><head><style type=\"text/css\">\n"); - currentHTMLHeader += TQString("body { background-color:%1; color:%2; }\n").tqarg(global->backgroundColor().name()).tqarg(global->textColor().name()); - currentHTMLHeader += TQString("a:link, a:active { color:%1; text-decoration:none; }\n").tqarg(global->linksColor().name()); - currentHTMLHeader += TQString("a:visited { color:%1; text-decoration:none; }\n").tqarg(global->visitedLinksColor().name()); - currentHTMLHeader += TQString("a:hover { color:%1; text-decoration:underline; }\n").tqarg(global->linksColor().name()); - currentHTMLHeader += TQString("p.heading { margin-left:0mm; margin-top:2mm; margin-bottom:2mm; padding:1mm; background-color:%1; color:%2; font-family:%3; font-size:%4pt; ").tqarg(global->headingsBackgroundColor().name()).tqarg(global->headingsTextColor().name()).tqarg(global->headingsFont().family()).tqarg(global->headingsFont().pointSize()); + currentHTMLHeader += TQString("body { background-color:%1; color:%2; }\n").arg(global->backgroundColor().name()).arg(global->textColor().name()); + currentHTMLHeader += TQString("a:link, a:active { color:%1; text-decoration:none; }\n").arg(global->linksColor().name()); + currentHTMLHeader += TQString("a:visited { color:%1; text-decoration:none; }\n").arg(global->visitedLinksColor().name()); + currentHTMLHeader += TQString("a:hover { color:%1; text-decoration:underline; }\n").arg(global->linksColor().name()); + currentHTMLHeader += TQString("p.heading { margin-left:0mm; margin-top:2mm; margin-bottom:2mm; padding:1mm; background-color:%1; color:%2; font-family:%3; font-size:%4pt; ").arg(global->headingsBackgroundColor().name()).arg(global->headingsTextColor().name()).arg(global->headingsFont().family()).arg(global->headingsFont().pointSize()); if (global->headingsFont().italic()) currentHTMLHeader += TQString("font-style:italic; "); if (global->headingsFont().bold()) @@ -196,7 +196,7 @@ void QueryView::optionsChanged() currentHTMLHeader += TQString("}\n"); currentHTMLHeader += TQString("p.definition { margin-left:1.5mm; margin-top:2mm; margin-bottom:2mm;}\n"); currentHTMLHeader += TQString("table { margin-left:1.5mm; margin-top:2mm; margin-bottom:2mm;}\n"); - currentHTMLHeader += TQString("pre { font-family:%1; font-size:%2pt; ").tqarg(global->textFont().family()).tqarg(global->textFont().pointSize()); + currentHTMLHeader += TQString("pre { font-family:%1; font-size:%2pt; ").arg(global->textFont().family()).arg(global->textFont().pointSize()); if (global->textFont().italic()) currentHTMLHeader += TQString("font-style:italic; "); if (global->textFont().bold()) @@ -467,7 +467,7 @@ void QueryView::buildPopupMenu(const TQString &url, const TQPoint &point) this,TQT_SLOT(browseBack())); else rightBtnMenu->insertItem(SmallIcon("back"), - i18n("&Back: '%1'").tqarg(getShortString(browseList.at(browsePos-1)->queryText,25)), + i18n("&Back: '%1'").arg(getShortString(browseList.at(browsePos-1)->queryText,25)), this,TQT_SLOT(browseBack())); } else { ID = rightBtnMenu->insertItem(SmallIcon("back"), i18n("&Back"), this, TQT_SLOT(browseBack())); @@ -481,7 +481,7 @@ void QueryView::buildPopupMenu(const TQString &url, const TQPoint &point) this,TQT_SLOT(browseForward())); else rightBtnMenu->insertItem(SmallIcon("forward"), - i18n("&Forward: '%1'").tqarg(getShortString(browseList.at(browsePos+1)->queryText,25)), + i18n("&Forward: '%1'").arg(getShortString(browseList.at(browsePos+1)->queryText,25)), this,TQT_SLOT(browseForward())); } else { ID = rightBtnMenu->insertItem(SmallIcon("forward"),i18n("&Forward"),this,TQT_SLOT(browseForward())); @@ -569,7 +569,7 @@ void QueryView::updateBrowseActions() if (browseList.at(browsePos-1)->queryText.isEmpty()) actBack->setText(i18n("&Back: Information")); else - actBack->setText(i18n("&Back: '%1'").tqarg(getShortString(browseList.at(browsePos-1)->queryText,25))); + actBack->setText(i18n("&Back: '%1'").arg(getShortString(browseList.at(browsePos-1)->queryText,25))); actBack->popupMenu()->clear(); int i = browsePos-1; @@ -593,7 +593,7 @@ void QueryView::updateBrowseActions() if (browseList.at(browsePos+1)->queryText.isEmpty()) actForward->setText(i18n("&Forward: Information")); else - actForward->setText(i18n("&Forward: '%1'").tqarg(getShortString(browseList.at(browsePos+1)->queryText,25))); + actForward->setText(i18n("&Forward: '%1'").arg(getShortString(browseList.at(browsePos+1)->queryText,25))); actForward->popupMenu()->clear(); int i = browsePos+1; |