summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/kstartuplogo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/kstartuplogo.cpp')
-rw-r--r--umbrello/umbrello/kstartuplogo.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/umbrello/umbrello/kstartuplogo.cpp b/umbrello/umbrello/kstartuplogo.cpp
index 5cefe463..7f768260 100644
--- a/umbrello/umbrello/kstartuplogo.cpp
+++ b/umbrello/umbrello/kstartuplogo.cpp
@@ -15,23 +15,23 @@
#include "kstartuplogo.h"
#include <kapplication.h>
#include <kstandarddirs.h>
-#include <qtimer.h>
+#include <tqtimer.h>
-KStartupLogo::KStartupLogo(QWidget * parent, const char *name)
- : QWidget(parent,name, Qt::WStyle_NoBorder | Qt::WStyle_Customize | Qt::WDestructiveClose )
+KStartupLogo::KStartupLogo(TQWidget * parent, const char *name)
+ : TQWidget(parent,name, Qt::WStyle_NoBorder | Qt::WStyle_Customize | Qt::WDestructiveClose )
,m_bReadyToHide(false) {
//pm.load(locate("appdata", "pics/startlogo.png"));
KStandardDirs * dirs = KGlobal::dirs();
- QString dataDir = dirs -> findResourceDir("data", "umbrello/pics/object.png");
+ TQString dataDir = dirs -> findResourceDir("data", "umbrello/pics/object.png");
dataDir += "/umbrello/pics/";
- QPixmap pm(dataDir + "startlogo.png");
+ TQPixmap pm(dataDir + "startlogo.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());
- timer = new QTimer(this);
- connect( timer, SIGNAL(timeout()), this, SLOT(timerDone()) );
+ timer = new TQTimer(this);
+ connect( timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(timerDone()) );
timer->start(2000, true);
}
@@ -39,7 +39,7 @@ KStartupLogo::~KStartupLogo() {
delete timer;
}
-void KStartupLogo::mousePressEvent( QMouseEvent*) {
+void KStartupLogo::mousePressEvent( TQMouseEvent*) {
// for the haters of raising startlogos
if (m_bReadyToHide)
hide();