From f59dfa08651a47f21d004e8e4cb5020b8035287e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:25 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 83fbc82a101309e171089f0d5ed080f82a367345. --- arts/tools/environmentview.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'arts/tools/environmentview.cpp') diff --git a/arts/tools/environmentview.cpp b/arts/tools/environmentview.cpp index 447cdce7..f62a5c06 100644 --- a/arts/tools/environmentview.cpp +++ b/arts/tools/environmentview.cpp @@ -34,7 +34,7 @@ #include #include -#include +#include #define DEFAULT_ENV_FILENAME "~/default.arts-env" @@ -57,7 +57,7 @@ public: printf("~ItemView()\n"); } TQString text() const { - return TQString::fromLatin1(item._interfaceName().c_str()); + return TQString::tqfromLatin1(item._interfaceName().c_str()); } }; @@ -84,11 +84,11 @@ EnvironmentView::EnvironmentView( Container container, TQWidget* parent, const c connect(delButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(delItem())); TQPushButton *loadButton = new - TQPushButton(i18n("Load %1").arg(DEFAULT_ENV_FILENAME), this); + TQPushButton(i18n("Load %1").tqarg(DEFAULT_ENV_FILENAME), this); connect(loadButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(load())); TQPushButton *saveButton = new - TQPushButton(i18n("Save %1").arg(DEFAULT_ENV_FILENAME), this); + TQPushButton(i18n("Save %1").tqarg(DEFAULT_ENV_FILENAME), this); connect(saveButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(save())); show(); } -- cgit v1.2.1