summaryrefslogtreecommitdiffstats
path: root/kenolaba/EvalScheme.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /kenolaba/EvalScheme.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kenolaba/EvalScheme.h')
-rw-r--r--kenolaba/EvalScheme.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/kenolaba/EvalScheme.h b/kenolaba/EvalScheme.h
index 0efcafb8..3a9982c5 100644
--- a/kenolaba/EvalScheme.h
+++ b/kenolaba/EvalScheme.h
@@ -10,7 +10,7 @@
#ifndef _EVALSCHEME_H_
#define _EVALSCHEME_H_
-#include <qstring.h>
+#include <tqstring.h>
#include "Move.h"
@@ -25,7 +25,7 @@ class KConfig;
class EvalScheme
{
public:
- EvalScheme(QString);
+ EvalScheme(TQString);
EvalScheme(EvalScheme&);
~EvalScheme() {}
@@ -33,17 +33,17 @@ class EvalScheme
void read(KConfig*);
void save(KConfig*);
- static EvalScheme* create(QString);
- QString ascii();
+ static EvalScheme* create(TQString);
+ TQString ascii();
- void setName(QString n) { _name = n; }
+ void setName(TQString n) { _name = n; }
void setRingValue(int ring, int value);
void setRingDiff(int ring, int value);
void setStoneValue(int stoneDiff, int value);
void setMoveValue(int type, int value);
void setInARowValue(int stones, int value);
- QString name() { return _name; }
+ TQString name() { return _name; }
int ringValue(int r) { return (r>=0 && r<5) ? _ringValue[r] : 0; }
int ringDiff(int r) { return (r>0 && r<5) ? _ringDiff[r] : 0; }
int stoneValue(int s) { return (s>0 && s<6) ? _stoneValue[s] : 0; }
@@ -55,7 +55,7 @@ class EvalScheme
int _stoneValue[6], _moveValue[Move::none];
int _inARowValue[InARowCounter::inARowCount];
- QString _name;
+ TQString _name;
};
#endif // _EVALSCHEME_H_