From 1fffbdafa12271a1a635caf46777fb8acfb6f31b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 10:00:36 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 2b0e1de2ffcca7bb93f1fd8ddd32f74041d0d076. --- kfilereplace/kfilereplaceview.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kfilereplace/kfilereplaceview.cpp') diff --git a/kfilereplace/kfilereplaceview.cpp b/kfilereplace/kfilereplaceview.cpp index 2de52edd..9800f119 100644 --- a/kfilereplace/kfilereplaceview.cpp +++ b/kfilereplace/kfilereplaceview.cpp @@ -117,7 +117,7 @@ void KFileReplaceView::stringsInvert(bool invertAll) // Cannot invert the string when search string is empty if (replaceText.isEmpty()) { - KMessageBox::error(0, i18n("Cannot invert string %1, because the search string would be empty.").arg(searchText)); + KMessageBox::error(0, i18n("Cannot invert string %1, because the search string would be empty.").tqarg(searchText)); return; } @@ -256,7 +256,7 @@ void KFileReplaceView::slotResultEdit() if(!success) { - TQString message = i18n("File %1 cannot be opened. Might be a DCOP problem.").arg(path); + TQString message = i18n("File %1 cannot be opened. Might be a DCOP problem.").tqarg(path); KMessageBox::error(parentWidget(), message); } } @@ -278,7 +278,7 @@ void KFileReplaceView::slotResultDelete() if (!currItem.isEmpty()) { TQFile fi; - int answer = KMessageBox::warningContinueCancel(this, i18n("Do you really want to delete %1?").arg(currItem), + int answer = KMessageBox::warningContinueCancel(this, i18n("Do you really want to delete %1?").tqarg(currItem), TQString(),KStdGuiItem::del()); if(answer == KMessageBox::Continue) @@ -417,7 +417,7 @@ void KFileReplaceView::slotStringsSave() body += TQString("\n\t" "\n\t\t" "\n\t\t" - "\n\t").arg(lvi->text(0)).arg(lvi->text(1)); + "\n\t").tqarg(lvi->text(0)).tqarg(lvi->text(1)); lvi = lvi->nextSibling(); } @@ -434,7 +434,7 @@ void KFileReplaceView::slotStringsSave() TQFile file( fileName ); if(!file.open( IO_WriteOnly )) { - KMessageBox::error(0, i18n("File %1 cannot be saved.").arg(fileName)); + KMessageBox::error(0, i18n("File %1 cannot be saved.").tqarg(fileName)); return ; } TQTextStream oTStream( &file ); @@ -498,7 +498,7 @@ void KFileReplaceView::initGUI() - m_menuResult->insertItem(SmallIconSet(TQString::fromLatin1("fileopen")), + m_menuResult->insertItem(SmallIconSet(TQString::tqfromLatin1("fileopen")), i18n("&Open"), this, TQT_SLOT(slotResultOpen())); @@ -517,16 +517,16 @@ void KFileReplaceView::initGUI() TQT_SLOT(slotResultEdit())); } - m_menuResult->insertItem(SmallIconSet(TQString::fromLatin1("up")), + m_menuResult->insertItem(SmallIconSet(TQString::tqfromLatin1("up")), i18n("Open Parent &Folder"), this, TQT_SLOT(slotResultDirOpen())); - m_menuResult->insertItem(SmallIconSet(TQString::fromLatin1("editdelete")), + m_menuResult->insertItem(SmallIconSet(TQString::tqfromLatin1("editdelete")), i18n("&Delete"), this, TQT_SLOT(slotResultDelete())); m_menuResult->insertSeparator(); - m_menuResult->insertItem(SmallIconSet(TQString::fromLatin1("info")), + m_menuResult->insertItem(SmallIconSet(TQString::tqfromLatin1("info")), i18n("&Properties"), this, TQT_SLOT(slotResultProperties())); -- cgit v1.2.3