summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/SensorDisplayLib/SensorDisplay.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-13 21:03:36 +0900
committerMichele Calgaro <[email protected]>2023-11-14 12:59:42 +0900
commita49b0e2c531c81e420dc103b5130e2fa8643f46d (patch)
tree42ee6213b300c2366208f6c122bee39845b5a89c /ksysguard/gui/SensorDisplayLib/SensorDisplay.cpp
parent36eda89f538b610db9dbda129d7c8e81089caf1a (diff)
downloadtdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.tar.gz
tdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib/SensorDisplay.cpp')
-rw-r--r--ksysguard/gui/SensorDisplayLib/SensorDisplay.cpp8
1 files changed, 4 insertions, 4 deletions
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();
}