From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksysguard/gui/SensorDisplayLib/DummyDisplay.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'ksysguard/gui/SensorDisplayLib/DummyDisplay.cc') diff --git a/ksysguard/gui/SensorDisplayLib/DummyDisplay.cc b/ksysguard/gui/SensorDisplayLib/DummyDisplay.cc index a4ea6afb4..2e499e852 100644 --- a/ksysguard/gui/SensorDisplayLib/DummyDisplay.cc +++ b/ksysguard/gui/SensorDisplayLib/DummyDisplay.cc @@ -24,35 +24,35 @@ #include #include -#include +#include #include "DummyDisplay.h" -DummyDisplay::DummyDisplay( QWidget* parent, const char* name, - const QString&, double, double ) +DummyDisplay::DummyDisplay( TQWidget* parent, const char* name, + const TQString&, double, double ) : KSGRD::SensorDisplay( parent, name, i18n( "Drop Sensor Here" ) ) { setMinimumSize( 16, 16 ); - QWhatsThis::add( this, i18n( + TQWhatsThis::add( this, i18n( "This is an empty space in a worksheet. Drag a sensor from " "the Sensor Browser and drop it here. A sensor display will " "appear that allows you to monitor the values of the sensor " "over time." ) ); } -void DummyDisplay::resizeEvent( QResizeEvent* ) +void DummyDisplay::resizeEvent( TQResizeEvent* ) { frame()->setGeometry( 0, 0, width(), height() ); } -bool DummyDisplay::eventFilter( QObject* object, QEvent* event ) +bool DummyDisplay::eventFilter( TQObject* object, TQEvent* event ) { - if ( event->type() == QEvent::MouseButtonRelease && - ( (QMouseEvent*)event)->button() == LeftButton ) + if ( event->type() == TQEvent::MouseButtonRelease && + ( (TQMouseEvent*)event)->button() == LeftButton ) setFocus(); - return QWidget::eventFilter( object, event ); + return TQWidget::eventFilter( object, event ); } #include "DummyDisplay.moc" -- cgit v1.2.1