summaryrefslogtreecommitdiffstats
path: root/kenolaba/EvalDlgImpl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /kenolaba/EvalDlgImpl.cpp
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kenolaba/EvalDlgImpl.cpp')
-rw-r--r--kenolaba/EvalDlgImpl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kenolaba/EvalDlgImpl.cpp b/kenolaba/EvalDlgImpl.cpp
index 70662629..e0ab3006 100644
--- a/kenolaba/EvalDlgImpl.cpp
+++ b/kenolaba/EvalDlgImpl.cpp
@@ -19,8 +19,8 @@
#include "Board.h"
#include "EvalScheme.h"
-EvalDlgImpl::EvalDlgImpl(TQWidget* parent, Board* board)
- :EvalDlg(parent)
+EvalDlgImpl::EvalDlgImpl(TQWidget* tqparent, Board* board)
+ :EvalDlg(tqparent)
{
_board = board;
_origScheme = board->evalScheme();
@@ -246,7 +246,7 @@ void EvalDlgImpl::deleteEntry()
void EvalDlgImpl::saveas()
{
- KLineEditDlg dlg(i18n("Name for scheme:"), TQString::null, this);
+ KLineEditDlg dlg(i18n("Name for scheme:"), TQString(), this);
dlg.setCaption(i18n("Save Scheme"));
if (dlg.exec()) {
@@ -254,10 +254,10 @@ void EvalDlgImpl::saveas()
KConfig* config = kapp->config();
config->setGroup("General");
TQStringList list = config->readListEntry("EvalSchemes");
- TQListBoxItem *it = evalList->findItem(name);
+ TQListBoxItem *it = evalList->tqfindItem(name);
if (!it) {
evalList->insertItem(name);
- it = evalList->findItem(name);
+ it = evalList->tqfindItem(name);
list << name;
config->writeEntry("EvalSchemes", list);
}