From 6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:47:17 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kgeography/src/answer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kgeography/src/answer.cpp') diff --git a/kgeography/src/answer.cpp b/kgeography/src/answer.cpp index 428ceb20..30afa989 100644 --- a/kgeography/src/answer.cpp +++ b/kgeography/src/answer.cpp @@ -10,7 +10,7 @@ #include #include -#include +#include #include @@ -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 -> tqsetAlignment(TQt::AlignHCenter); + l -> setAlignment(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] -> tqcolorGroup().highlight(); - fore = widgets[0] -> tqcolorGroup().highlightedText(); + back = widgets[0] -> colorGroup().highlight(); + fore = widgets[0] -> colorGroup().highlightedText(); for (int i = 0; i < 3; i++) { widgets[i] -> setPaletteBackgroundColor(back); -- cgit v1.2.3