summaryrefslogtreecommitdiffstats
path: root/kmines/field.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmines/field.cpp')
-rw-r--r--kmines/field.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmines/field.cpp b/kmines/field.cpp
index d1831df5..035b3708 100644
--- a/kmines/field.cpp
+++ b/kmines/field.cpp
@@ -21,7 +21,7 @@
#include <math.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqtimer.h>
#include <tqpainter.h>
@@ -57,7 +57,7 @@ void Field::readSettings()
if ( Settings::magicReveal() ) emit setCheating();
}
-TQSize Field::sizeHint() const
+TQSize Field::tqsizeHint() const
{
return TQSize(2*frameWidth() + _level.width()*Settings::caseSize(),
2*frameWidth() + _level.height()*Settings::caseSize());
@@ -117,7 +117,7 @@ void Field::changeCase(const Coord &p, CaseState newState)
BaseField::changeCase(p, newState);
TQPainter painter(this);
drawCase(painter, p);
- if ( isActive() ) emit updateStatus( hasMine(p) );
+ if ( isActive() ) emit updatetqStatus( hasMine(p) );
}
TQPoint Field::toPoint(const Coord &p) const