diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:56:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:56:05 -0600 |
commit | 74c05bbf9d92e43a6cf3799355b5f3598884409e (patch) | |
tree | 9371e52e1564e08fd280f28e49981ffeb881b9d2 /kviewshell/kmultipage.cpp | |
parent | 45f529de247fc4b3662f6b474abe03fe904306ec (diff) | |
download | tdegraphics-74c05bbf9d92e43a6cf3799355b5f3598884409e.tar.gz tdegraphics-74c05bbf9d92e43a6cf3799355b5f3598884409e.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kviewshell/kmultipage.cpp')
-rw-r--r-- | kviewshell/kmultipage.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kviewshell/kmultipage.cpp b/kviewshell/kmultipage.cpp index ca6d569b..a2ba1b31 100644 --- a/kviewshell/kmultipage.cpp +++ b/kviewshell/kmultipage.cpp @@ -166,7 +166,7 @@ void KMultiPage::slotSave() fileName = fileName+ending; if (TQFile(fileName).exists()) { - int r = KMessageBox::warningContinueCancel (0, i18n("The file %1\nexists. Shall I overwrite that file?").tqarg(fileName), + int r = KMessageBox::warningContinueCancel (0, i18n("The file %1\nexists. Shall I overwrite that file?").arg(fileName), i18n("Overwrite File"), i18n("Overwrite")); if (r == KMessageBox::Cancel) return; @@ -767,7 +767,7 @@ void KMultiPage::print() return; // initialize the printer using the print dialog - if ( printer->setup(parentWdg, i18n("Print %1").tqarg(m_file.section('/', -1))) ) { + if ( printer->setup(parentWdg, i18n("Print %1").arg(m_file.section('/', -1))) ) { // Now do the printing. TQValueList<int> pageList = printer->pageList(); if (pageList.isEmpty()) @@ -1427,7 +1427,7 @@ void KMultiPage::findNextText() if (i != 0) { - setStatusBarText(i18n("Search page %1 of %2").tqarg(pageNumber).tqarg(numberOfPages())); + setStatusBarText(i18n("Search page %1 of %2").arg(pageNumber).arg(numberOfPages())); kapp->processEvents(); } @@ -1474,7 +1474,7 @@ void KMultiPage::findNextText() int answ = KMessageBox::questionYesNo(scrollView(), i18n("<qt>The search string <strong>%1</strong> could not be found by the " "end of the document. Should the search be restarted from the beginning " - "of the document?</qt>").tqarg(searchText), + "of the document?</qt>").arg(searchText), i18n("Text Not Found"), KStdGuiItem::cont(), KStdGuiItem::cancel()); if (answ != KMessageBox::Yes) @@ -1499,7 +1499,7 @@ void KMultiPage::findNextText() } } - KMessageBox::sorry(scrollView(), i18n("<qt>The search string <strong>%1</strong> could not be found.</qt>").tqarg(searchText)); + KMessageBox::sorry(scrollView(), i18n("<qt>The search string <strong>%1</strong> could not be found.</qt>").arg(searchText)); setStatusBarText(TQString()); searchInProgress = false; if (!cachedPage) @@ -1569,7 +1569,7 @@ void KMultiPage::findPrevText() if (i != 0) { - setStatusBarText(i18n("Search page %1 of %2").tqarg(pageNumber).tqarg(numberOfPages())); + setStatusBarText(i18n("Search page %1 of %2").arg(pageNumber).arg(numberOfPages())); kapp->processEvents(); } @@ -1616,7 +1616,7 @@ void KMultiPage::findPrevText() int answ = KMessageBox::questionYesNo(scrollView(), i18n("<qt>The search string <strong>%1</strong> could not be found by the " "beginning of the document. Should the search be restarted from the end " - "of the document?</qt>").tqarg(searchText), + "of the document?</qt>").arg(searchText), i18n("Text Not Found"), KStdGuiItem::cont(), KStdGuiItem::cancel()); if (answ != KMessageBox::Yes) @@ -1641,7 +1641,7 @@ void KMultiPage::findPrevText() } } - KMessageBox::sorry(scrollView(), i18n("<qt>The search string <strong>%1</strong> could not be found.</qt>").tqarg(searchText)); + KMessageBox::sorry(scrollView(), i18n("<qt>The search string <strong>%1</strong> could not be found.</qt>").arg(searchText)); setStatusBarText(TQString()); searchInProgress = false; if (!cachedPage) @@ -1710,7 +1710,7 @@ void KMultiPage::reload() pageCache->clear(); pageCache->deselectText(); document_history.clear(); - emit setStatusBarText(i18n("Reloading file %1").tqarg(m_file)); + emit setStatusBarText(i18n("Reloading file %1").arg(m_file)); TQ_INT32 pg = currentPageNumber(); killTimer(timer_id); @@ -1746,7 +1746,7 @@ bool KMultiPage::openFile() pageCache->deselectText(); document_history.clear(); pageCache->clear(); - emit setStatusBarText(i18n("Loading file %1").tqarg(m_file)); + emit setStatusBarText(i18n("Loading file %1").arg(m_file)); bool r = renderer->setFile(m_file, m_url); @@ -1887,9 +1887,9 @@ KPrinter *KMultiPage::getPrinter(bool enablePageSizeFeatures) } else it++; if (endval == val) - range += TQString("%1").tqarg(val); + range += TQString("%1").arg(val); else - range += TQString("%1-%2").tqarg(val).tqarg(endval); + range += TQString("%1-%2").arg(val).arg(endval); } while (it != selectedPageNo.end() ); printer->setOption( "kde-range", range ); } @@ -1912,7 +1912,7 @@ void KMultiPage::doExportText() if (finfo.exists()) { int r = KMessageBox::warningContinueCancel (scrollView(), - i18n("The file %1\nexists. Do you want to overwrite that file?").tqarg(fileName), + i18n("The file %1\nexists. Do you want to overwrite that file?").arg(fileName), i18n("Overwrite File"), i18n("Overwrite")); if (r == KMessageBox::Cancel) |