summaryrefslogtreecommitdiffstats
path: root/src/ksensorssplash.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 09:59:06 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 09:59:06 -0500
commit24857cad8e92c27bc7d7377549ae887adbeccc58 (patch)
treee8aa2577506c17c68286ec1b65ae31b89ea0556b /src/ksensorssplash.cpp
parentea3a9effca9bebfe18bfb7546da619ecbbb121f3 (diff)
downloadksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.tar.gz
ksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.zip
Convert to TDE R14 API
Diffstat (limited to 'src/ksensorssplash.cpp')
-rw-r--r--src/ksensorssplash.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ksensorssplash.cpp b/src/ksensorssplash.cpp
index 0c65203..7736d2d 100644
--- a/src/ksensorssplash.cpp
+++ b/src/ksensorssplash.cpp
@@ -20,14 +20,14 @@
#include <kapp.h>
#include <kstandarddirs.h>
-KSensorsSplash::KSensorsSplash(QWidget *parent, const char *name ) :
- QWidget(parent,name, WStyle_NoBorder | WStyle_Customize | WDestructiveClose | WStyle_StaysOnTop )
+KSensorsSplash::KSensorsSplash(TQWidget *parent, const char *name ) :
+ TQWidget(parent,name, WStyle_NoBorder | WStyle_Customize | WDestructiveClose | WStyle_StaysOnTop )
{
- QPixmap pm;
+ TQPixmap pm;
pm.load( locate("appdata", "pics/ksensorssplash.png") );
setBackgroundPixmap(pm);
- setGeometry( QApplication::desktop()->width ()/2-pm.width()/2,
- QApplication::desktop()->height()/2-pm.height()/2,
+ setGeometry( TQApplication::desktop()->width ()/2-pm.width()/2,
+ TQApplication::desktop()->height()/2-pm.height()/2,
pm.width(),pm.height()
);
show();
@@ -37,7 +37,7 @@ KSensorsSplash::KSensorsSplash(QWidget *parent, const char *name ) :
KSensorsSplash::~KSensorsSplash(){
}
-void KSensorsSplash::timerEvent( QTimerEvent * )
+void KSensorsSplash::timerEvent( TQTimerEvent * )
{
close();
}