diff options
Diffstat (limited to 'knights/splash.cpp')
-rw-r--r-- | knights/splash.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/knights/splash.cpp b/knights/splash.cpp index cfccb62..e372008 100644 --- a/knights/splash.cpp +++ b/knights/splash.cpp @@ -16,24 +16,24 @@ ***************************************************************************/ #include "splash.moc" -#include <qpixmap.h> +#include <tqpixmap.h> #include <kstddirs.h> #include <kwin.h> -#include <qapplication.h> +#include <tqapplication.h> splash::splash() : - QWidget( 0, "splash", Qt::WStyle_Customize | Qt::WStyle_NoBorder ) + TQWidget( 0, "splash", TQt::WStyle_Customize | TQt::WStyle_NoBorder ) { - QPixmap SplashImage( locate("data", "knights/splash.png" ) ); + TQPixmap SplashImage( locate("data", "knights/splash.png" ) ); setPaletteBackgroundPixmap( SplashImage ); - QSize Hint = SplashImage.size(); + TQSize Hint = SplashImage.size(); setFixedSize( Hint ); - move( ( QApplication::desktop()->width() - Hint.width() ) / 2, - ( QApplication::desktop()->height() - Hint.height() ) / 2 ); + move( ( TQApplication::desktop()->width() - Hint.width() ) / 2, + ( TQApplication::desktop()->height() - Hint.height() ) / 2 ); show(); - repaint( FALSE ); + tqrepaint( FALSE ); } splash::~splash() { |