summaryrefslogtreecommitdiffstats
path: root/src/knutanalog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 15:26:39 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 22:42:52 +0900
commitb3f56562024a97c026d82f02fdd2d27eee16498d (patch)
tree066dcf80d4a89e68a0ad3596bb96459d08b279f3 /src/knutanalog.cpp
parent55b950ea52f8ed0a514634b6dc7f9518f97aaa40 (diff)
downloadknutclient-b3f56562.tar.gz
knutclient-b3f56562.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 33954bde55f26ed7a4434682e6889aa59a65fb42)
Diffstat (limited to 'src/knutanalog.cpp')
-rw-r--r--src/knutanalog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/knutanalog.cpp b/src/knutanalog.cpp
index 574cd10..8786e71 100644
--- a/src/knutanalog.cpp
+++ b/src/knutanalog.cpp
@@ -396,7 +396,7 @@ void KNutAnalog::paintBackGround ( void ) {
m_scaleLayerBig->fill( this,0,0); //color if background
paint.begin ( m_scaleLayerBig );
- paint.setBackgroundMode(Qt::OpaqueMode);
+ paint.setBackgroundMode(TQt::OpaqueMode);
paint.setBackgroundColor(backgroundColor());
paintPartOfCircle(&paint, m_centerX*3, m_centerY*3,m_widthOfScale*3); //CMK pro inter
paintScale(&paint, m_centerX*3, m_centerY*3,m_widthOfScale*3); // Scale
@@ -442,7 +442,7 @@ void KNutAnalog::paintPointerSlowly ( double position, int centerX , int centerY
m_pointerLayerBig->fill( TQt::white ); //color if beckground
paint.begin( m_pointerLayerBig ); // paints of pointer
- paint.setBackgroundMode(Qt::TransparentMode);
+ paint.setBackgroundMode(TQt::TransparentMode);
paint.setBrush( m_pointerColor ); // sets color
paint.setPen ( m_pointerColor );
@@ -479,7 +479,7 @@ void KNutAnalog::paintPointerFastly (double position) {
//m_pointerMutex.lock();
m_pointerLayerSmall->fill( TQt::white ); //background color
paint.begin( m_pointerLayerSmall ); // kreslime na plochu rucicky
- paint.setBackgroundMode(Qt::TransparentMode);
+ paint.setBackgroundMode(TQt::TransparentMode);
paintValueOfPointer ( &paint, m_valueOfPointer);