Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/6/head
Michele Calgaro 1 year ago
parent 466ddc1b6e
commit 33954bde55
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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);

@ -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());
}

@ -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);

Loading…
Cancel
Save