diff options
Diffstat (limited to 'kpercentage/kpercentage/ksplashscreen.cpp')
-rw-r--r-- | kpercentage/kpercentage/ksplashscreen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kpercentage/kpercentage/ksplashscreen.cpp b/kpercentage/kpercentage/ksplashscreen.cpp index 4eb43959..226fa881 100644 --- a/kpercentage/kpercentage/ksplashscreen.cpp +++ b/kpercentage/kpercentage/ksplashscreen.cpp @@ -19,7 +19,7 @@ * * ***************************************************************************/ -// Qt includes +// TQt includes #include <tqcanvas.h> #include <tqtimer.h> @@ -39,10 +39,10 @@ KSplashScreen::KSplashScreen( KPercentage *percentage, const char *name ) : /* load the background pixmap */ TQPixmap bgp( locate( "data", "kpercentage/pics/splash.png" ) ); /* wait some time and start the main window */ - TQCanvas *canvas = new TQCanvas( this ); + TQCanvas *canvas = new TQCanvas( TQT_TQOBJECT(this) ); canvas->resize( 400, 300 ); /* set the background pixmap */ - canvas->setBackgroundPixmap( bgp ); + canvas->tqsetBackgroundPixmap( bgp ); //remove version number from splash annma 14/02/2005 //TQCanvasText *t = new TQCanvasText( KPERCENTAGE_VERSION, canvas ); //t->move( 330.0, 260.0 ); |