summaryrefslogtreecommitdiffstats
path: root/kpercentage
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:30:46 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-04 04:35:55 +0200
commitb142e177fd839801f225b2694b98095a59869772 (patch)
treee5f615fa20356b9335d4cb76bb5f96aa5d7a334d /kpercentage
parenta44a56fdf9ce1b7cc987f18c93b505adb9f24297 (diff)
downloadtdeedu-b142e177fd839801f225b2694b98095a59869772.tar.gz
tdeedu-b142e177fd839801f225b2694b98095a59869772.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 999f961ff5278b84c8ffd8a91addb9343e589cf0)
Diffstat (limited to 'kpercentage')
-rw-r--r--kpercentage/kpercentage/kanswer.cpp2
-rw-r--r--kpercentage/kpercentage/kpercentmain.cpp6
-rw-r--r--kpercentage/kpercentage/ksplashscreen.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/kpercentage/kpercentage/kanswer.cpp b/kpercentage/kpercentage/kanswer.cpp
index 51d5c8d5..538af052 100644
--- a/kpercentage/kpercentage/kanswer.cpp
+++ b/kpercentage/kpercentage/kanswer.cpp
@@ -63,7 +63,7 @@ KAnswer::KAnswer( TQWidget *parent ): KDialog( parent, "answer", TRUE )
TextLabelAnswer->setBackgroundOrigin( TQLabel::ParentOrigin );
TextLabelAnswer->setBackgroundPixmap( bgp );
- canvas->tqsetBackgroundPixmap( bgp );
+ canvas->setBackgroundPixmap( bgp );
canvas_view->setBackgroundOrigin( TQCanvasView::ParentOrigin );
canvas_view->setBackgroundPixmap( bgp );
diff --git a/kpercentage/kpercentage/kpercentmain.cpp b/kpercentage/kpercentage/kpercentmain.cpp
index d02b57fd..4cf2972f 100644
--- a/kpercentage/kpercentage/kpercentmain.cpp
+++ b/kpercentage/kpercentage/kpercentmain.cpp
@@ -55,15 +55,15 @@ KPercentMain::KPercentMain( TQWidget *parent, const char *name ) :
KIntValidator *validLine = new KIntValidator( this );
line_edit_percentage = new TQLineEdit( this, "line_edit_percentage" );
- line_edit_percentage->tqsetAlignment( int( TQLineEdit::AlignHCenter ) );
+ line_edit_percentage->setAlignment( int( TQLineEdit::AlignHCenter ) );
line_edit_percentage->setValidator( validLine );
line_edit_basevalue = new TQLineEdit( this, "line_edit_basevalue" );
- line_edit_basevalue->tqsetAlignment( int( TQLineEdit::AlignHCenter ) );
+ line_edit_basevalue->setAlignment( int( TQLineEdit::AlignHCenter ) );
line_edit_basevalue->setValidator( validLine );
line_edit_percentvalue = new TQLineEdit( this, "line_edit_percentvalue" );
- line_edit_percentvalue->tqsetAlignment( int( TQLineEdit::AlignHCenter ) );
+ line_edit_percentvalue->setAlignment( int( TQLineEdit::AlignHCenter ) );
line_edit_percentvalue->setValidator( validLine );
progress_bar_count = new TQProgressBar( this, "progress_bar_count" );
diff --git a/kpercentage/kpercentage/ksplashscreen.cpp b/kpercentage/kpercentage/ksplashscreen.cpp
index 226fa881..07c5b0d7 100644
--- a/kpercentage/kpercentage/ksplashscreen.cpp
+++ b/kpercentage/kpercentage/ksplashscreen.cpp
@@ -42,7 +42,7 @@ KSplashScreen::KSplashScreen( KPercentage *percentage, const char *name ) :
TQCanvas *canvas = new TQCanvas( TQT_TQOBJECT(this) );
canvas->resize( 400, 300 );
/* set the background pixmap */
- canvas->tqsetBackgroundPixmap( bgp );
+ canvas->setBackgroundPixmap( bgp );
//remove version number from splash annma 14/02/2005
//TQCanvasText *t = new TQCanvasText( KPERCENTAGE_VERSION, canvas );
//t->move( 330.0, 260.0 );