diff options
Diffstat (limited to 'kenolaba/EvalScheme.h')
-rw-r--r-- | kenolaba/EvalScheme.h | 14 |
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_ |