summaryrefslogtreecommitdiffstats
path: root/kpercentage
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 11:49:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-19 10:25:42 +0900
commit69e4de2f4cee257151ca13b207dc677b2d958fed (patch)
tree01cb14d87074092f48260fe4db758dcb89917d98 /kpercentage
parent0d9cc39b25fa93369504fbbf3ea91f01fb376aab (diff)
downloadtdeedu-69e4de2f4cee257151ca13b207dc677b2d958fed.tar.gz
tdeedu-69e4de2f4cee257151ca13b207dc677b2d958fed.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kpercentage')
-rw-r--r--kpercentage/kpercentage/kanswer.cpp2
-rw-r--r--kpercentage/kpercentage/kpercentage.cpp12
-rw-r--r--kpercentage/kpercentage/kpercentmain.cpp4
-rw-r--r--kpercentage/kpercentage/ksplashscreen.cpp2
4 files changed, 10 insertions, 10 deletions
diff --git a/kpercentage/kpercentage/kanswer.cpp b/kpercentage/kpercentage/kanswer.cpp
index d809b79e..93270322 100644
--- a/kpercentage/kpercentage/kanswer.cpp
+++ b/kpercentage/kpercentage/kanswer.cpp
@@ -106,7 +106,7 @@ KAnswer::KAnswer( TQWidget *parent ): KDialog( parent, "answer", TRUE )
// end layouting
///////
- connect( ButtonOK, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
+ connect( ButtonOK, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
loadAnswers();
}
diff --git a/kpercentage/kpercentage/kpercentage.cpp b/kpercentage/kpercentage/kpercentage.cpp
index 0a61aff8..32b4101a 100644
--- a/kpercentage/kpercentage/kpercentage.cpp
+++ b/kpercentage/kpercentage/kpercentage.cpp
@@ -100,12 +100,12 @@ KPercentage::KPercentage( const char *name ) :
spin_box_number->setValue( 5 );
// connecting all the slots
- connect( button_basevalue, TQT_SIGNAL( clicked() ), this, TQT_SLOT( selBasevalue() ) );
- connect( button_percentvalue, TQT_SIGNAL( clicked() ), this, TQT_SLOT( selPercentvalue() ) );
- connect( button_percentage, TQT_SIGNAL( clicked() ), this, TQT_SLOT( selPercentage() ) );
- connect( button_random, TQT_SIGNAL( clicked() ), this, TQT_SLOT( selRandom() ) );
- connect( button_help, TQT_SIGNAL( clicked() ), this, TQT_SLOT( needHelp() ) );
- connect( button_close, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
+ connect( button_basevalue, TQ_SIGNAL( clicked() ), this, TQ_SLOT( selBasevalue() ) );
+ connect( button_percentvalue, TQ_SIGNAL( clicked() ), this, TQ_SLOT( selPercentvalue() ) );
+ connect( button_percentage, TQ_SIGNAL( clicked() ), this, TQ_SLOT( selPercentage() ) );
+ connect( button_random, TQ_SIGNAL( clicked() ), this, TQ_SLOT( selRandom() ) );
+ connect( button_help, TQ_SIGNAL( clicked() ), this, TQ_SLOT( needHelp() ) );
+ connect( button_close, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
////////
// begin layouting
diff --git a/kpercentage/kpercentage/kpercentmain.cpp b/kpercentage/kpercentage/kpercentmain.cpp
index b686a096..1035381e 100644
--- a/kpercentage/kpercentage/kpercentmain.cpp
+++ b/kpercentage/kpercentage/kpercentmain.cpp
@@ -181,8 +181,8 @@ KPercentMain::KPercentMain( TQWidget *parent, const char *name ) :
TQToolTip::add( push_button_cancel, i18n( "Back to the main window" ) );
// signals and slots connections
- connect( push_button_apply, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotApplyInput() ) );
- connect( push_button_cancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
+ connect( push_button_apply, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotApplyInput() ) );
+ connect( push_button_cancel, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
// build up the answer window
answer = new KAnswer( this );
diff --git a/kpercentage/kpercentage/ksplashscreen.cpp b/kpercentage/kpercentage/ksplashscreen.cpp
index 54848104..a97c85e2 100644
--- a/kpercentage/kpercentage/ksplashscreen.cpp
+++ b/kpercentage/kpercentage/ksplashscreen.cpp
@@ -55,7 +55,7 @@ KSplashScreen::KSplashScreen( KPercentage *percentage, const char *name ) :
view->setHScrollBarMode( TQCanvasView::AlwaysOff );
view->setFrameStyle( TQCanvasView::NoFrame );
view->show();
- TQTimer::singleShot( 2000, this, TQT_SLOT( showPercentage() ) );
+ TQTimer::singleShot( 2000, this, TQ_SLOT( showPercentage() ) );
}
/* show the main window and close the splah window */