diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 10:00:14 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 10:00:14 -0600 |
commit | 4d75f93557ba631d97a56e288a34ca27f4507653 (patch) | |
tree | 9c6aa673bd4900debf335044852a99b4d9f67133 /fifteenapplet/fifteenapplet.cpp | |
parent | 6cdf35ab11c322f33feca5baf090ef56068b6049 (diff) | |
download | tdetoys-4d75f93557ba631d97a56e288a34ca27f4507653.tar.gz tdetoys-4d75f93557ba631d97a56e288a34ca27f4507653.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 6cdf35ab11c322f33feca5baf090ef56068b6049.
Diffstat (limited to 'fifteenapplet/fifteenapplet.cpp')
-rw-r--r-- | fifteenapplet/fifteenapplet.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fifteenapplet/fifteenapplet.cpp b/fifteenapplet/fifteenapplet.cpp index 1409c4f..498f93d 100644 --- a/fifteenapplet/fifteenapplet.cpp +++ b/fifteenapplet/fifteenapplet.cpp @@ -24,7 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include <stdlib.h> #include <time.h> -#include <layout.h> +#include <tqlayout.h> #include <tqpainter.h> #include <tqpopupmenu.h> @@ -54,7 +54,7 @@ FifteenApplet::FifteenApplet(const TQString& configFile, Type type, int actions, _table = new PiecesTable(this); setCustomMenu(_table->popup()); - // setup layout + // setup tqlayout TQHBoxLayout *_layout = new TQHBoxLayout(this); _layout->add(_table); @@ -120,7 +120,7 @@ void PiecesTable::paintCell(TQPainter *p, int row, int col) // draw cell background if(number == 16) - p->setBrush(colorGroup().background()); + p->setBrush(tqcolorGroup().background()); else p->setBrush(_colors[number-1]); p->setPen(NoPen); @@ -128,7 +128,7 @@ void PiecesTable::paintCell(TQPainter *p, int row, int col) // draw borders if (height() > 40) { - p->setPen(colorGroup().text()); + p->setPen(tqcolorGroup().text()); if(col < numCols()-1) p->drawLine(x2, 0, x2, y2); // right border line @@ -198,14 +198,14 @@ void PiecesTable::randomizeMap() } } } - repaint(); + tqrepaint(); _randomized = true; } void PiecesTable::resetMap() { initMap(); - repaint(); + tqrepaint(); } void PiecesTable::chectwin() |