summaryrefslogtreecommitdiffstats
path: root/kmines/solver/bfield.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmines/solver/bfield.cpp')
-rw-r--r--kmines/solver/bfield.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmines/solver/bfield.cpp b/kmines/solver/bfield.cpp
index d6c03643..24f5221f 100644
--- a/kmines/solver/bfield.cpp
+++ b/kmines/solver/bfield.cpp
@@ -58,7 +58,7 @@ void BaseField::reset(uint width, uint height, uint nbMines)
fill(tmp);
}
-bool BaseField::checkField(uint w, uint h, uint nb, const QString &s)
+bool BaseField::checkField(uint w, uint h, uint nb, const TQString &s)
{
if ( s.length()!=w*h ) return false;
uint n = 0;
@@ -69,7 +69,7 @@ bool BaseField::checkField(uint w, uint h, uint nb, const QString &s)
return ( n==nb );
}
-void BaseField::initReplay(const QString &s)
+void BaseField::initReplay(const TQString &s)
{
Q_ASSERT( checkField(width(), height(), _nbMines, s) );
@@ -212,9 +212,9 @@ void BaseField::doMark(const Coord &c)
changeCase(c, Marked);
}
-QCString BaseField::string() const
+TQCString BaseField::string() const
{
- QCString s(size());
+ TQCString s(size());
for (uint i=0; i<size(); i++)
s[i] = (hasMine(coord(i)) ? '1' : '0');
return s;