summaryrefslogtreecommitdiffstats
path: root/libkscan/kscanoption.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commite7366c97c998679efa80cf61c88e64a11a3d3c33 (patch)
treea161d2940165f6cc47c05f0271ad8e5f64ffe6e8 /libkscan/kscanoption.cpp
parentda4be7880ff1de6415ab6256afd2514e64f5fa2e (diff)
downloadtdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.tar.gz
tdegraphics-e7366c97c998679efa80cf61c88e64a11a3d3c33.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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)));