summaryrefslogtreecommitdiffstats
path: root/src/ksensorssplash.cpp
diff options
context:
space:
mode:
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();
}