diff options
author | Timothy Pearson <[email protected]> | 2011-12-21 14:21:13 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-21 14:21:13 -0600 |
commit | ebbee358abafa1b5166404c6fe5cc44ae2837a57 (patch) | |
tree | 268d36bbf4de9fb4007a1419b132b8b95251b99d /kcoloredit/paletteviewscrolledarea.cpp | |
parent | 74c05bbf9d92e43a6cf3799355b5f3598884409e (diff) | |
download | tdegraphics-ebbee358abafa1b5166404c6fe5cc44ae2837a57.tar.gz tdegraphics-ebbee358abafa1b5166404c6fe5cc44ae2837a57.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'kcoloredit/paletteviewscrolledarea.cpp')
-rw-r--r-- | kcoloredit/paletteviewscrolledarea.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kcoloredit/paletteviewscrolledarea.cpp b/kcoloredit/paletteviewscrolledarea.cpp index 12c637cd..d529b8d7 100644 --- a/kcoloredit/paletteviewscrolledarea.cpp +++ b/kcoloredit/paletteviewscrolledarea.cpp @@ -249,12 +249,12 @@ void PaletteViewScrolledArea::paintEvent(TQPaintEvent* /*event*/) { int lastRow = (posY + height() - 1 + rowHeight - 1)/rowHeight; if(viewColorNames) painter.fillRect(0, 0, rowWidth, height(), - TQBrush( TQFrame::tqpalette().active().base() )); - TQBrush normalBackgroundBrush(TQFrame::tqpalette().active().background()); + TQBrush( TQFrame::palette().active().base() )); + TQBrush normalBackgroundBrush(TQFrame::palette().active().background()); TQBrush selectedBackgroundBrush(TQFrame::tqpalette().active().highlight()); TQBrush foregroundBrush; - TQBrush cursorBrush(TQFrame::tqpalette().active().foreground()); - TQPen backgroundPen(TQFrame::tqpalette().active().foreground()); + TQBrush cursorBrush(TQFrame::palette().active().foreground()); + TQPen backgroundPen(TQFrame::palette().active().foreground()); int min = selectionMin(); int max = selectionMax(); int fontAscent = fontMetrics.ascent(); |