diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /ksysguard/gui/SensorDisplayLib/DummyDisplay.cc | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib/DummyDisplay.cc')
-rw-r--r-- | ksysguard/gui/SensorDisplayLib/DummyDisplay.cc | 18 |
1 files changed, 9 insertions, 9 deletions
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 <klocale.h> #include <ksgrd/SensorManager.h> -#include <qwhatsthis.h> +#include <tqwhatsthis.h> #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" |