diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 15:26:39 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 15:26:39 +0900 |
commit | 33954bde55f26ed7a4434682e6889aa59a65fb42 (patch) | |
tree | 6dbc6279de0f998106ba09f225f3c19d047d5fea /src/knutanalog.cpp | |
parent | 466ddc1b6e1fe9652bfe3f6078965060916dbe6c (diff) | |
download | knutclient-33954bde55f26ed7a4434682e6889aa59a65fb42.tar.gz knutclient-33954bde55f26ed7a4434682e6889aa59a65fb42.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/knutanalog.cpp')
-rw-r--r-- | src/knutanalog.cpp | 6 |
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); |