From 068bbc2bcf9e167af026c11f16dceb4ba81e46fc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 7 Mar 2026 23:17:53 +0900 Subject: Remove use of KDE_IS_VERSION Signed-off-by: Michele Calgaro --- kig/misc/common.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'kig/misc/common.cpp') 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 #include #include -#if KDE_IS_VERSION( 3, 1, 90 ) #include -#else -#include -#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 ); -- cgit v1.2.3