diff options
Diffstat (limited to 'kpercentage/kpercentage/ksplashscreen.cpp')
-rw-r--r-- | kpercentage/kpercentage/ksplashscreen.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kpercentage/kpercentage/ksplashscreen.cpp b/kpercentage/kpercentage/ksplashscreen.cpp index bd0adea1..4eb43959 100644 --- a/kpercentage/kpercentage/ksplashscreen.cpp +++ b/kpercentage/kpercentage/ksplashscreen.cpp @@ -20,8 +20,8 @@ ***************************************************************************/ // Qt includes -#include <qcanvas.h> -#include <qtimer.h> +#include <tqcanvas.h> +#include <tqtimer.h> // KDE includes #include <kstandarddirs.h> @@ -32,30 +32,30 @@ /* creates the splash window without titlebar and border */ KSplashScreen::KSplashScreen( KPercentage *percentage, const char *name ) : - KDialog( 0L, name, FALSE, QWidget::WStyle_Customize | QWidget::WStyle_NoBorder ) + KDialog( 0L, name, FALSE, TQWidget::WStyle_Customize | TQWidget::WStyle_NoBorder ) { percentage_window = percentage; resize( 380, 300 ); /* load the background pixmap */ - QPixmap bgp( locate( "data", "kpercentage/pics/splash.png" ) ); + TQPixmap bgp( locate( "data", "kpercentage/pics/splash.png" ) ); /* wait some time and start the main window */ - QCanvas *canvas = new QCanvas( this ); + TQCanvas *canvas = new TQCanvas( this ); canvas->resize( 400, 300 ); /* set the background pixmap */ canvas->setBackgroundPixmap( bgp ); //remove version number from splash annma 14/02/2005 - //QCanvasText *t = new QCanvasText( KPERCENTAGE_VERSION, canvas ); + //TQCanvasText *t = new TQCanvasText( KPERCENTAGE_VERSION, canvas ); //t->move( 330.0, 260.0 ); //t->show(); canvas->setAllChanged(); canvas->update(); - QCanvasView *view = new QCanvasView( canvas, this, "", QCanvasView::WStyle_Customize | QCanvasView::WStyle_NoBorder ); + TQCanvasView *view = new TQCanvasView( canvas, this, "", TQCanvasView::WStyle_Customize | TQCanvasView::WStyle_NoBorder ); view->resize( 380, 300 ); - view->setVScrollBarMode( QCanvasView::AlwaysOff ); - view->setHScrollBarMode( QCanvasView::AlwaysOff ); - view->setFrameStyle( QCanvasView::NoFrame ); + view->setVScrollBarMode( TQCanvasView::AlwaysOff ); + view->setHScrollBarMode( TQCanvasView::AlwaysOff ); + view->setFrameStyle( TQCanvasView::NoFrame ); view->show(); - QTimer::singleShot( 2000, this, SLOT( showPercentage() ) ); + TQTimer::singleShot( 2000, this, TQT_SLOT( showPercentage() ) ); } /* show the main window and close the splah window */ |