diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:47:36 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:47:36 -0600 |
commit | 97d1732e257f8700488d7ca1660ae7eba8fc6065 (patch) | |
tree | 4c6397ed2c1dd6f7c3354b5b87f313547d92a35f /kmines/field.cpp | |
parent | 9c27a1a03e02fd53aedc1a182444b35fd8e14967 (diff) | |
download | tdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.tar.gz tdegames-97d1732e257f8700488d7ca1660ae7eba8fc6065.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kmines/field.cpp')
-rw-r--r-- | kmines/field.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kmines/field.cpp b/kmines/field.cpp index 035b3708..d1831df5 100644 --- a/kmines/field.cpp +++ b/kmines/field.cpp @@ -21,7 +21,7 @@ #include <math.h> -#include <tqlayout.h> +#include <layout.h> #include <tqtimer.h> #include <tqpainter.h> @@ -57,7 +57,7 @@ void Field::readSettings() if ( Settings::magicReveal() ) emit setCheating(); } -TQSize Field::tqsizeHint() const +TQSize Field::sizeHint() 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 updatetqStatus( hasMine(p) ); + if ( isActive() ) emit updateStatus( hasMine(p) ); } TQPoint Field::toPoint(const Coord &p) const |