summaryrefslogtreecommitdiffstats
path: root/kuickshow/src/defaultswidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 12:34:35 +0900
committerMichele Calgaro <[email protected]>2024-01-13 12:43:12 +0900
commitc616fab9053b07ed30508ab714de876409d82653 (patch)
tree02b8b0fd20d25a2607a2173186a5e4acd016cb62 /kuickshow/src/defaultswidget.cpp
parent7cf662aaa0828773212e35d6842cffd0aa2c509f (diff)
downloadtdegraphics-c616fab9053b07ed30508ab714de876409d82653.tar.gz
tdegraphics-c616fab9053b07ed30508ab714de876409d82653.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kuickshow/src/defaultswidget.cpp')
-rw-r--r--kuickshow/src/defaultswidget.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kuickshow/src/defaultswidget.cpp b/kuickshow/src/defaultswidget.cpp
index 734241ca..fc483c45 100644
--- a/kuickshow/src/defaultswidget.cpp
+++ b/kuickshow/src/defaultswidget.cpp
@@ -37,7 +37,7 @@ DefaultsWidget::DefaultsWidget( TQWidget *parent, const char *name)
imFiltered = 0L;
cbEnableMods = new TQCheckBox( i18n("Apply default image modifications"), this );
- connect( cbEnableMods, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( enableWidgets(bool) ));
+ connect( cbEnableMods, TQ_SIGNAL( toggled(bool) ), TQ_SLOT( enableWidgets(bool) ));
// create all the widgets
@@ -52,8 +52,8 @@ DefaultsWidget::DefaultsWidget( TQWidget *parent, const char *name)
sbMaxUpScaleFactor = new KIntNumInput( gbScale, "upscale factor" );
sbMaxUpScaleFactor->setRange( 1, 100, 1, false );
- connect(cbUpScale, TQT_SIGNAL( toggled(bool)), sbMaxUpScaleFactor,
- TQT_SLOT( setEnabled(bool) ));
+ connect(cbUpScale, TQ_SIGNAL( toggled(bool)), sbMaxUpScaleFactor,
+ TQ_SLOT( setEnabled(bool) ));
// --
@@ -99,7 +99,7 @@ DefaultsWidget::DefaultsWidget( TQWidget *parent, const char *name)
lbImFiltered = new TQLabel( i18n("Modified"), gbPreview );
imFiltered = new ImlibWidget( 0L, imOrig->getImlibData(), gbPreview, "" );
- connect( imFiltered, TQT_SIGNAL( destroyed() ), TQT_SLOT( slotNoImage() ));
+ connect( imFiltered, TQ_SIGNAL( destroyed() ), TQ_SLOT( slotNoImage() ));
////
////////////////
@@ -159,16 +159,16 @@ DefaultsWidget::DefaultsWidget( TQWidget *parent, const char *name)
////////////////
// connect them all to the update slot
- connect( cbDownScale, TQT_SIGNAL( clicked() ), TQT_SLOT( updatePreview() ));
- connect( cbUpScale, TQT_SIGNAL( clicked() ), TQT_SLOT( updatePreview() ));
- connect( cbFlipVertically, TQT_SIGNAL( clicked() ), TQT_SLOT( updatePreview() ));
- connect( cbFlipHorizontally, TQT_SIGNAL( clicked() ), TQT_SLOT( updatePreview() ));
- connect( sbMaxUpScaleFactor, TQT_SIGNAL( valueChanged(int) ), TQT_SLOT( updatePreview() ));
- connect( sbBrightness, TQT_SIGNAL( valueChanged(int) ), TQT_SLOT( updatePreview() ));
- connect( sbContrast, TQT_SIGNAL( valueChanged(int) ), TQT_SLOT( updatePreview() ));
- connect( sbGamma, TQT_SIGNAL( valueChanged(int) ), TQT_SLOT( updatePreview() ));
-
- connect( comboRotate, TQT_SIGNAL( activated(int) ), TQT_SLOT( updatePreview() ));
+ connect( cbDownScale, TQ_SIGNAL( clicked() ), TQ_SLOT( updatePreview() ));
+ connect( cbUpScale, TQ_SIGNAL( clicked() ), TQ_SLOT( updatePreview() ));
+ connect( cbFlipVertically, TQ_SIGNAL( clicked() ), TQ_SLOT( updatePreview() ));
+ connect( cbFlipHorizontally, TQ_SIGNAL( clicked() ), TQ_SLOT( updatePreview() ));
+ connect( sbMaxUpScaleFactor, TQ_SIGNAL( valueChanged(int) ), TQ_SLOT( updatePreview() ));
+ connect( sbBrightness, TQ_SIGNAL( valueChanged(int) ), TQ_SLOT( updatePreview() ));
+ connect( sbContrast, TQ_SIGNAL( valueChanged(int) ), TQ_SLOT( updatePreview() ));
+ connect( sbGamma, TQ_SIGNAL( valueChanged(int) ), TQ_SLOT( updatePreview() ));
+
+ connect( comboRotate, TQ_SIGNAL( activated(int) ), TQ_SLOT( updatePreview() ));
TQString filename = locate( "data", "kuickshow/pics/calibrate.png" );