summaryrefslogtreecommitdiffstats
path: root/libkscan/kscanoption.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkscan/kscanoption.cpp')
-rw-r--r--libkscan/kscanoption.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/libkscan/kscanoption.cpp b/libkscan/kscanoption.cpp
index 247ed05c..43b35d0b 100644
--- a/libkscan/kscanoption.cpp
+++ b/libkscan/kscanoption.cpp
@@ -317,15 +317,15 @@ void KScanOption::slRedrawWidget( KScanOption *so )
break;
case GAMMA_TABLE:
/* Widget Type is GammaTable */
- // w = new TQSlider( tqparent, "AUTO_GAMMA" );
+ // w = new TQSlider( parent, "AUTO_GAMMA" );
break;
case STR_LIST:
- // w = comboBox( tqparent, text );
+ // w = comboBox( parent, text );
((KScanCombo*)w)->slSetEntry( so->get() );
/* Widget Type is Selection Box */
break;
case STRING:
- // w = entryField( tqparent, text );
+ // w = entryField( parent, text );
((KScanEntry*)w)->slSetEntry( so->get() );
/* Widget Type is Selection Box */
break;
@@ -1059,7 +1059,7 @@ bool KScanOption::getRange( double *min, double *max, double *q ) const
return( ret );
}
-TQWidget *KScanOption::createWidget( TQWidget *tqparent, const TQString& w_desc,
+TQWidget *KScanOption::createWidget( TQWidget *parent, const TQString& w_desc,
const TQString& tooltip )
{
TQStrList list;
@@ -1084,7 +1084,7 @@ TQWidget *KScanOption::createWidget( TQWidget *tqparent, const TQString& w_desc,
{
case BOOL:
/* Widget Type is ToggleButton */
- w = new TQCheckBox( text, tqparent, "AUTO_TOGGLE_BUTTON" );
+ w = new TQCheckBox( text, parent, "AUTO_TOGGLE_BUTTON" );
connect( w, TQT_SIGNAL(clicked()), this,
TQT_SLOT(slWidgetChange()));
break;
@@ -1095,20 +1095,20 @@ TQWidget *KScanOption::createWidget( TQWidget *tqparent, const TQString& w_desc,
break;
case RANGE:
/* Widget Type is Slider */
- w = KSaneSlider( tqparent, text );
+ w = KSaneSlider( parent, text );
break;
case GAMMA_TABLE:
/* Widget Type is Slider */
- // w = KSaneSlider( tqparent, text );
+ // w = KSaneSlider( parent, text );
kdDebug(29000) << "can not create widget for GAMMA_TABLE!" << endl;
w = 0; // No widget, needs to be a set !
break;
case STR_LIST:
- w = comboBox( tqparent, text );
+ w = comboBox( parent, text );
/* Widget Type is Selection Box */
break;
case STRING:
- w = entryField( tqparent, text );
+ w = entryField( parent, text );
/* Widget Type is Selection Box */
break;
default:
@@ -1137,11 +1137,11 @@ TQWidget *KScanOption::createWidget( TQWidget *tqparent, const TQString& w_desc,
}
-TQWidget *KScanOption::comboBox( TQWidget *tqparent, const TQString& text )
+TQWidget *KScanOption::comboBox( TQWidget *parent, const TQString& text )
{
TQStrList list = getList();
- KScanCombo *cb = new KScanCombo( tqparent, text, list);
+ KScanCombo *cb = new KScanCombo( parent, text, list);
connect( cb, TQT_SIGNAL( valueChanged( const TQCString& )), this,
TQT_SLOT( slWidgetChange( const TQCString& )));
@@ -1150,9 +1150,9 @@ TQWidget *KScanOption::comboBox( TQWidget *tqparent, const TQString& text )
}
-TQWidget *KScanOption::entryField( TQWidget *tqparent, const TQString& text )
+TQWidget *KScanOption::entryField( TQWidget *parent, const TQString& text )
{
- KScanEntry *ent = new KScanEntry( tqparent, text );
+ KScanEntry *ent = new KScanEntry( parent, text );
connect( ent, TQT_SIGNAL( valueChanged( TQCString )), this,
TQT_SLOT( slWidgetChange( TQCString )));
@@ -1160,12 +1160,12 @@ TQWidget *KScanOption::entryField( TQWidget *tqparent, const TQString& text )
}
-TQWidget *KScanOption::KSaneSlider( TQWidget *tqparent, const TQString& text )
+TQWidget *KScanOption::KSaneSlider( TQWidget *parent, const TQString& text )
{
double min, max, quant;
getRange( &min, &max, &quant );
- KScanSlider *slider = new KScanSlider( tqparent, text, min, max );
+ 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)));