From 94844816550ad672ccfcdc25659c625546239998 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:32:11 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kexi/widget/utils/kexidisplayutils.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kexi/widget/utils/kexidisplayutils.cpp') diff --git a/kexi/widget/utils/kexidisplayutils.cpp b/kexi/widget/utils/kexidisplayutils.cpp index 1943b086..11b1d742 100644 --- a/kexi/widget/utils/kexidisplayutils.cpp +++ b/kexi/widget/utils/kexidisplayutils.cpp @@ -92,8 +92,8 @@ KexiDisplayUtils::DisplayParameters::DisplayParameters() KexiDisplayUtils::DisplayParameters::DisplayParameters(TQWidget *w) { - textColor = w->tqpalette().active().foreground(); - selectedTextColor = w->tqpalette().active().highlightedText(); + textColor = w->palette().active().foreground(); + selectedTextColor = w->palette().active().highlightedText(); font = w->font(); } @@ -113,7 +113,7 @@ void KexiDisplayUtils::initDisplayForAutonumberSign(DisplayParameters& par, TQWi void KexiDisplayUtils::initDisplayForDefaultValue(DisplayParameters& par, TQWidget *widget) { par.textColor = SPECIAL_TEXT_COLOR; - par.selectedTextColor = widget->tqpalette().active().highlightedText(); + par.selectedTextColor = widget->palette().active().highlightedText(); par.font = widget->font(); par.font.setItalic(true); } -- cgit v1.2.1