summaryrefslogtreecommitdiffstats
path: root/src/gui/kdeext/KStartupLogo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kdeext/KStartupLogo.cpp')
-rw-r--r--src/gui/kdeext/KStartupLogo.cpp20
1 files changed, 8 insertions, 12 deletions
diff --git a/src/gui/kdeext/KStartupLogo.cpp b/src/gui/kdeext/KStartupLogo.cpp
index 821ebb1..e3edd9d 100644
--- a/src/gui/kdeext/KStartupLogo.cpp
+++ b/src/gui/kdeext/KStartupLogo.cpp
@@ -36,14 +36,10 @@
#include "KStartupLogo.h"
#include "misc/Debug.h"
-KStartupLogo::KStartupLogo(TQWidget * parent, const char *name)
- : TQWidget(parent, name,
+KStartupLogo::KStartupLogo(TQWidget * tqparent, const char *name)
+ : TQWidget(tqparent, name,
WStyle_Customize |
-#if QT_VERSION >= 0x030100
WStyle_Splash
-#else
- WStyle_NoBorder | WStyle_StaysOnTop | WStyle_Tool | WX11BypassWM | WWinOwnDC
-#endif
),
m_readyToHide(false),
m_showTip(true)
@@ -88,15 +84,15 @@ void KStartupLogo::paintEvent(TQPaintEvent*)
paint.drawRect(TQRect(m_pixmap.width() - 220, m_pixmap.height() - 43,
220, (y + 8) - (m_pixmap.height() - 43)));
- // paint.setPen(Qt::black);
- // paint.setBrush(Qt::black);
- paint.setPen(Qt::white);
- paint.setBrush(Qt::white);
+ // paint.setPen(TQt::black);
+ // paint.setBrush(TQt::black);
+ paint.setPen(TQt::white);
+ paint.setBrush(TQt::white);
//TQString version(VERSION);
- //int sepIdx = version.find("-");
+ //int sepIdx = version.tqfind("-");
TQString versionLabel(VERSION);
- //TQString("R%1 v%2").arg(version.left(sepIdx)).arg(version.mid(sepIdx + 1));
+ //TQString("R%1 v%2").tqarg(version.left(sepIdx)).tqarg(version.mid(sepIdx + 1));
int versionWidth = metrics.width(versionLabel);
paint.drawText(m_pixmap.width() - versionWidth - 18,