summaryrefslogtreecommitdiffstats
path: root/kig/misc/common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kig/misc/common.cpp')
-rw-r--r--kig/misc/common.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kig/misc/common.cpp b/kig/misc/common.cpp
index 275170ef..b41b9284 100644
--- a/kig/misc/common.cpp
+++ b/kig/misc/common.cpp
@@ -347,7 +347,7 @@ Coordinate calcCircleRadicalStartPoint( const Coordinate& ca, const Coordinate&
}
double getDoubleFromUser( const TQString& caption, const TQString& label, double value,
- TQWidget* tqparent, bool* ok, double min, double max, int decimals )
+ TQWidget* parent, bool* ok, double min, double max, int decimals )
{
#ifdef KIG_USE_KDOUBLEVALIDATOR
KDoubleValidator vtor( min, max, decimals, 0, 0 );
@@ -357,12 +357,12 @@ double getDoubleFromUser( const TQString& caption, const TQString& label, double
#if KDE_IS_VERSION( 3, 1, 90 )
TQString input = KInputDialog::getText(
caption, label, KGlobal::locale()->formatNumber( value, decimals ),
- ok, tqparent, "getDoubleFromUserDialog", &vtor );
+ ok, parent, "getDoubleFromUserDialog", &vtor );
#else
TQString input =
KLineEditDlg::getText( caption, label,
KGlobal::locale()->formatNumber( value, decimals ),
- ok, tqparent, &vtor );
+ ok, parent, &vtor );
#endif
bool myok = true;