summaryrefslogtreecommitdiffstats
path: root/ksquirrel/sq_splashscreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksquirrel/sq_splashscreen.cpp')
-rw-r--r--ksquirrel/sq_splashscreen.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/ksquirrel/sq_splashscreen.cpp b/ksquirrel/sq_splashscreen.cpp
index 3d0e66f..fc02b7f 100644
--- a/ksquirrel/sq_splashscreen.cpp
+++ b/ksquirrel/sq_splashscreen.cpp
@@ -48,23 +48,23 @@
SQ_SplashScreen * SQ_SplashScreen::m_inst = 0;
-SQ_SplashScreen::SQ_SplashScreen(QWidget * parent, const char *name)
- : QWidget(parent, name,
- Qt::WStyle_Customize |
- Qt::WStyle_NoBorder |
- Qt::WStyle_StaysOnTop |
- Qt::WDestructiveClose |
- Qt::WX11BypassWM)
+SQ_SplashScreen::SQ_SplashScreen(TQWidget * tqparent, const char *name)
+ : TQWidget(tqparent, name,
+ TQt::WStyle_Customize |
+ TQt::WStyle_NoBorder |
+ TQt::WStyle_StaysOnTop |
+ TQt::WDestructiveClose |
+ TQt::WX11BypassWM)
{
kdDebug() << "+SQ_SplashScreen" << endl;
m_inst = this;
- QPixmap pix = QPixmap(locate("data", "images/splash.png"));
+ TQPixmap pix = TQPixmap(locate("data", "images/splash.png"));
setPaletteBackgroundPixmap(pix);
- QRect rc = KGlobalSettings::splashScreenDesktopGeometry();
+ TQRect rc = KGlobalSettings::splashScreenDesktopGeometry();
move(rc.center().x() - pix.width()/2, rc.center().y() - pix.height()/2);
setFixedWidth(pix.width());
@@ -73,7 +73,7 @@ SQ_SplashScreen::SQ_SplashScreen(QWidget * parent, const char *name)
pr = new SQ_Progress(this);
pr->setGeometry(201, 255, 162, 14);
pr->setShowText(false);
- pr->setColor(QColor(170,100,110));
+ pr->setColor(TQColor(170,100,110));
pr->setTotalSteps(10);
}
@@ -93,7 +93,7 @@ void SQ_SplashScreen::finish()
}
}
-void SQ_SplashScreen::mousePressEvent(QMouseEvent *e)
+void SQ_SplashScreen::mousePressEvent(TQMouseEvent *e)
{
e->accept();