summaryrefslogtreecommitdiffstats
path: root/libksirtet/lib/defines.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commita13e26c2f1eb3c5be81acf4f571dd4bafac10199 (patch)
tree1f1d3e407ae668b1448847970b2f1b626083faf6 /libksirtet/lib/defines.cpp
parent24c5cdc2737fe0044b11a12359606973eb93fc0b (diff)
downloadtdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.tar.gz
tdegames-a13e26c2f1eb3c5be81acf4f571dd4bafac10199.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libksirtet/lib/defines.cpp')
-rw-r--r--libksirtet/lib/defines.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libksirtet/lib/defines.cpp b/libksirtet/lib/defines.cpp
index 3b3ec229..7eef441e 100644
--- a/libksirtet/lib/defines.cpp
+++ b/libksirtet/lib/defines.cpp
@@ -2,12 +2,12 @@
#include <klocale.h>
-void errorBox(const TQString &msg1, const TQString &msg2, TQWidget *tqparent)
+void errorBox(const TQString &msg1, const TQString &msg2, TQWidget *parent)
{
TQString str;
if ( msg2.isNull() ) str = msg1;
else str = i18n("%1:\n%2").tqarg(msg1).tqarg(msg2);
- KMessageBox::error(tqparent, str);
+ KMessageBox::error(parent, str);
}
TQString socketError(const KExtendedSocket *socket)
@@ -16,9 +16,9 @@ TQString socketError(const KExtendedSocket *socket)
}
bool checkSocket(int res, const KExtendedSocket *socket,
- const TQString &msg, TQWidget *tqparent)
+ const TQString &msg, TQWidget *parent)
{
if ( res==0 ) return false;
- errorBox(msg, socketError(socket), tqparent);
+ errorBox(msg, socketError(socket), parent);
return true;
}