diff options
Diffstat (limited to 'kexi/widget/kexiscrollview.cpp')
-rw-r--r-- | kexi/widget/kexiscrollview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/widget/kexiscrollview.cpp b/kexi/widget/kexiscrollview.cpp index 04beace6..ba4c8f9e 100644 --- a/kexi/widget/kexiscrollview.cpp +++ b/kexi/widget/kexiscrollview.cpp @@ -53,7 +53,7 @@ KexiScrollView::KexiScrollView(TQWidget *parent, bool preview) { setFrameStyle(TQFrame::WinPanel | TQFrame::Sunken); viewport()->setPaletteBackgroundColor(colorGroup().mid()); - TQColor fc = tqpalette().active().foreground(), + TQColor fc = palette().active().foreground(), bc = viewport()->paletteBackgroundColor(); m_helpColor = KexiUtils::blendedColors(fc, bc, 1, 2); // m_helpColor = TQColor((fc.red()+bc.red()*2)/3, (fc.green()+bc.green()*2)/3, @@ -345,7 +345,7 @@ KexiScrollView::drawContents( TQPainter * p, int clipx, int clipy, int clipw, in //draw right and bottom borders const int wx = childX(m_widget); const int wy = childY(m_widget); - p->setPen(tqpalette().active().foreground()); + p->setPen(palette().active().foreground()); p->drawLine(wx+m_widget->width(), wy, wx+m_widget->width(), wy+m_widget->height()); p->drawLine(wx, wy+m_widget->height(), wx+m_widget->width(), wy+m_widget->height()); //kdDebug() << "KexiScrollView::drawContents() " << wy+m_widget->height() << endl; |