summaryrefslogtreecommitdiffstats
path: root/kig/misc/common.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-07 23:17:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-08 11:40:07 +0900
commit068bbc2bcf9e167af026c11f16dceb4ba81e46fc (patch)
treefee1c2c7bd30680e36a1d70e98b06b209167c785 /kig/misc/common.cpp
parentb4a9a4a5a86fe9a52e9916c2f32c1a77433293d8 (diff)
downloadtdeedu-remove/kde-is-version.tar.gz
tdeedu-remove/kde-is-version.zip
Remove use of KDE_IS_VERSIONremove/kde-is-version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kig/misc/common.cpp')
-rw-r--r--kig/misc/common.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/kig/misc/common.cpp b/kig/misc/common.cpp
index 5e82d564..9553b14f 100644
--- a/kig/misc/common.cpp
+++ b/kig/misc/common.cpp
@@ -28,11 +28,7 @@
#include <kdebug.h>
#include <knumvalidator.h>
#include <tdelocale.h>
-#if KDE_IS_VERSION( 3, 1, 90 )
#include <kinputdialog.h>
-#else
-#include <klineeditdlg.h>
-#endif
Coordinate calcPointOnPerpend( const LineData& l, const Coordinate& t )
{
@@ -349,21 +345,10 @@ Coordinate calcCircleRadicalStartPoint( const Coordinate& ca, const Coordinate&
double getDoubleFromUser( const TQString& caption, const TQString& label, double value,
TQWidget* parent, bool* ok, double min, double max, int decimals )
{
-#ifdef KIG_USE_KDOUBLEVALIDATOR
KDoubleValidator vtor( min, max, decimals, 0, 0 );
-#else
- KFloatValidator vtor( min, max, (TQWidget*) 0, 0 );
-#endif
-#if KDE_IS_VERSION( 3, 1, 90 )
TQString input = KInputDialog::getText(
caption, label, TDEGlobal::locale()->formatNumber( value, decimals ),
ok, parent, "getDoubleFromUserDialog", &vtor );
-#else
- TQString input =
- KLineEditDlg::getText( caption, label,
- TDEGlobal::locale()->formatNumber( value, decimals ),
- ok, parent, &vtor );
-#endif
bool myok = true;
double ret = TDEGlobal::locale()->readNumber( input, &myok );