summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils/kexidisplayutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/utils/kexidisplayutils.cpp')
-rw-r--r--kexi/widget/utils/kexidisplayutils.cpp6
1 files changed, 3 insertions, 3 deletions
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);
}