summaryrefslogtreecommitdiffstats
path: root/kgeography/src/answer.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:58:43 -0600
commit2d7b541a4e0095d40e37aaefbf9c4a9b9d149302 (patch)
tree628c1676b27475e583cfd0c2105bb41b646654bf /kgeography/src/answer.cpp
parent6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3 (diff)
downloadtdeedu-2d7b541a4e0095d40e37aaefbf9c4a9b9d149302.tar.gz
tdeedu-2d7b541a4e0095d40e37aaefbf9c4a9b9d149302.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.
Diffstat (limited to 'kgeography/src/answer.cpp')
-rw-r--r--kgeography/src/answer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kgeography/src/answer.cpp b/kgeography/src/answer.cpp
index 30afa989..428ceb20 100644
--- a/kgeography/src/answer.cpp
+++ b/kgeography/src/answer.cpp
@@ -10,7 +10,7 @@
#include <tqimage.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <kdialog.h>
@@ -93,7 +93,7 @@ void userAnswer::putWidgets(TQWidget *w, TQGridLayout *lay, int row) const
TQLabel *l;
l = new TQLabel(w);
l -> setPixmap(v -> toImage());
- l -> setAlignment(TQt::AlignHCenter);
+ l -> tqsetAlignment(TQt::AlignHCenter);
l -> setMargin(KDialog::marginHint() / 2);
widgets[i] = l;
}
@@ -104,8 +104,8 @@ void userAnswer::putWidgets(TQWidget *w, TQGridLayout *lay, int row) const
if (!p_correct)
{
TQColor back, fore;
- back = widgets[0] -> colorGroup().highlight();
- fore = widgets[0] -> colorGroup().highlightedText();
+ back = widgets[0] -> tqcolorGroup().highlight();
+ fore = widgets[0] -> tqcolorGroup().highlightedText();
for (int i = 0; i < 3; i++)
{
widgets[i] -> setPaletteBackgroundColor(back);