summaryrefslogtreecommitdiffstats
path: root/kfilereplace/kfilereplaceview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 10:00:36 -0600
committerTimothy Pearson <[email protected]>2011-12-16 10:00:36 -0600
commit1fffbdafa12271a1a635caf46777fb8acfb6f31b (patch)
tree707785bd058e254fd865ca30ed35f37f206aebbc /kfilereplace/kfilereplaceview.cpp
parent2b0e1de2ffcca7bb93f1fd8ddd32f74041d0d076 (diff)
downloadtdewebdev-1fffbdafa12271a1a635caf46777fb8acfb6f31b.tar.gz
tdewebdev-1fffbdafa12271a1a635caf46777fb8acfb6f31b.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 2b0e1de2ffcca7bb93f1fd8ddd32f74041d0d076.
Diffstat (limited to 'kfilereplace/kfilereplaceview.cpp')
-rw-r--r--kfilereplace/kfilereplaceview.cpp18
1 files changed, 9 insertions, 9 deletions
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("<qt>Cannot invert string <b>%1</b>, because the search string would be empty.</qt>").arg(searchText));
+ KMessageBox::error(0, i18n("<qt>Cannot invert string <b>%1</b>, because the search string would be empty.</qt>").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<replacement>"
"\n\t\t<oldstring><![CDATA[%1]]></oldstring>"
"\n\t\t<newstring><![CDATA[%2]]></newstring>"
- "\n\t</replacement>").arg(lvi->text(0)).arg(lvi->text(1));
+ "\n\t</replacement>").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()));