summaryrefslogtreecommitdiffstats
path: root/libkscan/kscanoption.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 12:34:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 12:43:12 +0900
commitc616fab9053b07ed30508ab714de876409d82653 (patch)
tree02b8b0fd20d25a2607a2173186a5e4acd016cb62 /libkscan/kscanoption.cpp
parent7cf662aaa0828773212e35d6842cffd0aa2c509f (diff)
downloadtdegraphics-c616fab9053b07ed30508ab714de876409d82653.tar.gz
tdegraphics-c616fab9053b07ed30508ab714de876409d82653.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libkscan/kscanoption.cpp')
-rw-r--r--libkscan/kscanoption.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkscan/kscanoption.cpp b/libkscan/kscanoption.cpp
index 4a820ee9..db116203 100644
--- a/libkscan/kscanoption.cpp
+++ b/libkscan/kscanoption.cpp
@@ -1085,8 +1085,8 @@ TQWidget *KScanOption::createWidget( TQWidget *parent, const TQString& w_desc,
case BOOL:
/* Widget Type is ToggleButton */
w = new TQCheckBox( text, parent, "AUTO_TOGGLE_BUTTON" );
- connect( w, TQT_SIGNAL(clicked()), this,
- TQT_SLOT(slWidgetChange()));
+ connect( w, TQ_SIGNAL(clicked()), this,
+ TQ_SLOT(slWidgetChange()));
break;
case SINGLE_VAL:
/* Widget Type is Entry-Field */
@@ -1120,8 +1120,8 @@ TQWidget *KScanOption::createWidget( TQWidget *parent, const TQString& w_desc,
if( w )
{
internal_widget = w;
- connect( this, TQT_SIGNAL( optionChanged( KScanOption*)),
- TQT_SLOT( slRedrawWidget( KScanOption* )));
+ connect( this, TQ_SIGNAL( optionChanged( KScanOption*)),
+ TQ_SLOT( slRedrawWidget( KScanOption* )));
TQString tt = tooltip;
if( tt.isEmpty() && desc )
tt = TQString::fromLocal8Bit( desc->desc );
@@ -1143,8 +1143,8 @@ TQWidget *KScanOption::comboBox( TQWidget *parent, const TQString& text )
KScanCombo *cb = new KScanCombo( parent, text, list);
- connect( cb, TQT_SIGNAL( valueChanged( const TQCString& )), this,
- TQT_SLOT( slWidgetChange( const TQCString& )));
+ connect( cb, TQ_SIGNAL( valueChanged( const TQCString& )), this,
+ TQ_SLOT( slWidgetChange( const TQCString& )));
return( cb );
}
@@ -1153,8 +1153,8 @@ TQWidget *KScanOption::comboBox( TQWidget *parent, const TQString& text )
TQWidget *KScanOption::entryField( TQWidget *parent, const TQString& text )
{
KScanEntry *ent = new KScanEntry( parent, text );
- connect( ent, TQT_SIGNAL( valueChanged( TQCString )), this,
- TQT_SLOT( slWidgetChange( TQCString )));
+ connect( ent, TQ_SIGNAL( valueChanged( TQCString )), this,
+ TQ_SLOT( slWidgetChange( TQCString )));
return( ent );
}
@@ -1167,8 +1167,8 @@ TQWidget *KScanOption::KSaneSlider( TQWidget *parent, const TQString& text )
KScanSlider *slider = new KScanSlider( parent, text, min, max );
/* Connect to the options change Slot */
- connect( slider, TQT_SIGNAL( valueChanged(int)), this,
- TQT_SLOT( slWidgetChange(int)));
+ connect( slider, TQ_SIGNAL( valueChanged(int)), this,
+ TQ_SLOT( slWidgetChange(int)));
return( slider );
}