diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:56:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-25 15:15:54 +0900 |
commit | 22da7013fff03b0a938a6048633369d1b2041a52 (patch) | |
tree | 25c501c5d441f3fc2b752c2961f8fc9cc43ef9cf /kdgantt | |
parent | 6efcb28ef7795906d41c8bff80b0ef3dd57ae102 (diff) | |
download | tdepim-22da7013fff03b0a938a6048633369d1b2041a52.tar.gz tdepim-22da7013fff03b0a938a6048633369d1b2041a52.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3b66617d9d5f343c30a87381720db2fc835ce52b)
Diffstat (limited to 'kdgantt')
-rw-r--r-- | kdgantt/KDGanttMinimizeSplitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdgantt/KDGanttMinimizeSplitter.cpp b/kdgantt/KDGanttMinimizeSplitter.cpp index 22eace451..2339d1ce5 100644 --- a/kdgantt/KDGanttMinimizeSplitter.cpp +++ b/kdgantt/KDGanttMinimizeSplitter.cpp @@ -241,7 +241,7 @@ void KDGanttSplitterHandle::paintEvent( TQPaintEvent * ) p.setBrush( colorGroup().background() ); p.setPen( colorGroup().foreground() ); p.drawRect( rect() ); - parentWidget()->style().tqdrawPrimitive( TQStyle::PE_Panel, &p, rect(), + parentWidget()->style().drawPrimitive( TQStyle::PE_Panel, &p, rect(), parentWidget()->colorGroup()); int sw = 8; // Hardcoded, given I didn't use styles anymore, I didn't like to use their size @@ -601,7 +601,7 @@ bool KDGanttMinimizeSplitter::event( TQEvent *e ) void KDGanttMinimizeSplitter::drawSplitter( TQPainter *p, TQCOORD x, TQCOORD y, TQCOORD w, TQCOORD h ) { - style().tqdrawPrimitive(TQStyle::PE_Splitter, p, TQRect(x, y, w, h), colorGroup(), + style().drawPrimitive(TQStyle::PE_Splitter, p, TQRect(x, y, w, h), colorGroup(), (orientation() == TQt::Horizontal ? TQStyle::Style_Horizontal : 0)); } |