From b965cbac5b21345e9dfc768a7e4f660ffa4aa72f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 13 Nov 2023 21:03:36 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- ksysguard/gui/SensorDisplayLib/SensorDisplay.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ksysguard/gui/SensorDisplayLib/SensorDisplay.cpp') diff --git a/ksysguard/gui/SensorDisplayLib/SensorDisplay.cpp b/ksysguard/gui/SensorDisplayLib/SensorDisplay.cpp index 4dfff7957..ac029e5e2 100644 --- a/ksysguard/gui/SensorDisplayLib/SensorDisplay.cpp +++ b/ksysguard/gui/SensorDisplayLib/SensorDisplay.cpp @@ -64,9 +64,9 @@ SensorDisplay::SensorDisplay( TQWidget *parent, const char *name, TQWhatsThis::add( this, "dummy" ); if(!nf) { - mFrame = new TQGroupBox( 2, Qt::Vertical, "", this, "displayFrame"); + mFrame = new TQGroupBox( 2, TQt::Vertical, "", this, "displayFrame"); mFrame->setFlat(true); - mFrame->setAlignment(Qt::AlignHCenter); + mFrame->setAlignment(TQt::AlignHCenter); mFrame->setInsideMargin(2); setTitle( title ); @@ -156,7 +156,7 @@ void SensorDisplay::resizeEvent( TQResizeEvent* ) bool SensorDisplay::eventFilter( TQObject *object, TQEvent *event ) { if ( event->type() == TQEvent::MouseButtonPress && - ( (TQMouseEvent*)event)->button() == Qt::RightButton ) { + ( (TQMouseEvent*)event)->button() == TQt::RightButton ) { TQPopupMenu pm; if ( mIsApplet ) { pm.insertItem( i18n( "Launch &System Guard"), 1 ); @@ -200,7 +200,7 @@ bool SensorDisplay::eventFilter( TQObject *object, TQEvent *event ) return true; } else if ( event->type() == TQEvent::MouseButtonRelease && - ( ( TQMouseEvent*)event)->button() == Qt::LeftButton ) { + ( ( TQMouseEvent*)event)->button() == TQt::LeftButton ) { setFocus(); } -- cgit v1.2.3