summaryrefslogtreecommitdiffstats
path: root/kommander/pluginmanager
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 /kommander/pluginmanager
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 'kommander/pluginmanager')
-rw-r--r--kommander/pluginmanager/main.cpp4
-rw-r--r--kommander/pluginmanager/mainwindow.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/kommander/pluginmanager/main.cpp b/kommander/pluginmanager/main.cpp
index b1dbe8dd..7de3eb27 100644
--- a/kommander/pluginmanager/main.cpp
+++ b/kommander/pluginmanager/main.cpp
@@ -77,12 +77,12 @@ int main(int argc, char *argv[])
QCStringList items = args->getOptionList("add");
for (QCStringList::ConstIterator it = items.begin(); it != items.end(); ++it)
if (!P.add(*it))
- cerr << i18n("Error adding plugin '%1'").arg((*it).data()).local8Bit().data();
+ cerr << i18n("Error adding plugin '%1'").tqarg((*it).data()).local8Bit().data();
items = args->getOptionList("remove");
for (QCStringList::ConstIterator it = items.begin(); it != items.end(); ++it)
if (!P.remove(*it))
- cerr << i18n("Error removing plugin '%1'").arg((*it).data()).local8Bit().data();
+ cerr << i18n("Error removing plugin '%1'").tqarg((*it).data()).local8Bit().data();
if (args->isSet("list"))
{
diff --git a/kommander/pluginmanager/mainwindow.cpp b/kommander/pluginmanager/mainwindow.cpp
index 94d365f5..6148296b 100644
--- a/kommander/pluginmanager/mainwindow.cpp
+++ b/kommander/pluginmanager/mainwindow.cpp
@@ -77,7 +77,7 @@ void MainWindow::add(const TQString &plugin)
{
if (!m_pluginManager->add(plugin))
{
- TQString errMsg = i18n("<qt>Unable to load Kommander plugin<br><b>%1</b></qt>").arg(plugin);
+ TQString errMsg = i18n("<qt>Unable to load Kommander plugin<br><b>%1</b></qt>").tqarg(plugin);
KMessageBox::error(this, errMsg, i18n("Cannot add plugin"));
}
else