diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 15:26:39 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 15:26:39 +0900 |
commit | 33954bde55f26ed7a4434682e6889aa59a65fb42 (patch) | |
tree | 6dbc6279de0f998106ba09f225f3c19d047d5fea | |
parent | 466ddc1b6e1fe9652bfe3f6078965060916dbe6c (diff) | |
download | knutclient-33954bde55f26ed7a4434682e6889aa59a65fb42.tar.gz knutclient-33954bde55f26ed7a4434682e6889aa59a65fb42.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | src/knutanalog.cpp | 6 | ||||
-rw-r--r-- | src/knutdock.cpp | 4 | ||||
-rw-r--r-- | src/knutmainwindow.cpp | 2 |
3 files changed, 6 insertions, 6 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); diff --git a/src/knutdock.cpp b/src/knutdock.cpp index fc248f5..4fee99b 100644 --- a/src/knutdock.cpp +++ b/src/knutdock.cpp @@ -567,8 +567,8 @@ void KNutDock::slotRefreshConnection(void) { void KNutDock::mousePressEvent(TQMouseEvent *e) { //tqDebug("KNutDock::mousePressEvent"); - if( e->button()==Qt::LeftButton ) emit activeMainWindow(); - if( e->button()==Qt::RightButton ) m_menu->popup(e->globalPos()); + if( e->button()==TQt::LeftButton ) emit activeMainWindow(); + if( e->button()==TQt::RightButton ) m_menu->popup(e->globalPos()); } diff --git a/src/knutmainwindow.cpp b/src/knutmainwindow.cpp index a043c4e..e9ebfec 100644 --- a/src/knutmainwindow.cpp +++ b/src/knutmainwindow.cpp @@ -102,7 +102,7 @@ KNutMainWindow::KNutMainWindow(TQStringList *tListKNutEvent, KNutVarData::upsInf setCentralWidget (m_area); TQHBoxLayout* mainLayout = new TQHBoxLayout(m_area); - m_mainSplit = new TQSplitter(Qt::Horizontal,m_area); + m_mainSplit = new TQSplitter(TQt::Horizontal,m_area); m_mainSplit->setOpaqueResize(true); mainLayout->addWidget(m_mainSplit); |