From 1a51ee5152a5bf8fbe77b1997a4ba167582fda69 Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Thu, 5 Mar 2026 18:58:59 +0900
Subject: Remove use of KDE_IS_VERSION

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 src/kxsldbgpart/kxsldbg_part.cpp | 27 ---------------------------
 1 file changed, 27 deletions(-)

diff --git a/src/kxsldbgpart/kxsldbg_part.cpp b/src/kxsldbgpart/kxsldbg_part.cpp
index 194faa5..d0008db 100644
--- a/src/kxsldbgpart/kxsldbg_part.cpp
+++ b/src/kxsldbgpart/kxsldbg_part.cpp
@@ -24,11 +24,7 @@
 #include <tqmessagebox.h>
 #include <tdelocale.h>
 #include <tdeversion.h>
-#if KDE_IS_VERSION(3,1,90)
 #include <kinputdialog.h>
-#else
-#include <klineeditdlg.h>
-#endif
 
 // Qxsldbg specific includes
 #include "qxsldbgdoc.h"
@@ -371,19 +367,11 @@ void KXsldbgPart::lookupSystemID( TQString systemID)
      return;
 
    if (systemID.isEmpty()){
-#if KDE_IS_VERSION(3, 1, 90)
      systemID = KInputDialog::getText(
 			      i18n( "Lookup SystemID" ),
 			      i18n( "Please enter SystemID to find:" ),
 			      TQString(), &ok,
 			      mainView);
-#else
-     systemID = TQInputDialog::getText(
-			      i18n( "Lookup SystemID" ),
-			      i18n( "Please enter SystemID to find:" ),
-			      TQLineEdit::Normal, TQString(), &ok,
-			      mainView);
-#endif
    }else{
      ok = true;
    }
@@ -403,17 +391,10 @@ void KXsldbgPart::lookupPublicID(TQString publicID)
      return;
 
    if (publicID.isEmpty()){
-#if KDE_IS_VERSION(3, 1, 90)
      publicID = KInputDialog::getText(
 			      i18n( "Lookup PublicID" ),
 			      i18n( "Please enter PublicID to find:" ),
 			      TQString(), &ok, mainView );
-#else
-     publicID = TQInputDialog::getText(
-			      i18n( "Lookup PublicID" ),
-			      i18n( "Please enter PublicID to find:" ),
-			      TQLineEdit::Normal, TQString(), &ok, mainView );
-#endif
    }else{
      ok = true;
    }
@@ -618,11 +599,7 @@ void KXsldbgPart::breakCmd_activated()
 
 void KXsldbgPart::evaluateCmd_activated()
 {
-#if KDE_IS_VERSION(3,1,90)
   TQString expression = KInputDialog::getText(i18n("Evalute Expression"), i18n("XPath:"));
-#else
-  TQString expression = KLineEditDlg::getText(i18n("Evalute Expression"), i18n("XPath:"));
-#endif
   if (checkDebugger()  && (expression.length() > 0)){
     debugger->slotCatCmd( expression);
   }
@@ -630,11 +607,7 @@ void KXsldbgPart::evaluateCmd_activated()
 
 void KXsldbgPart::gotoXPathCmd_activated()
 {
-#if KDE_IS_VERSION(3,1,90)
   TQString xpath = KInputDialog::getText(i18n("Goto XPath"), i18n("XPath:"));
-#else
-  TQString xpath = KLineEditDlg::getText(i18n("Goto XPath"), i18n("XPath:"));
-#endif
   if (checkDebugger() && xpath.length() > 0){
     debugger->slotCdCmd( xpath );
   }
-- 
cgit v1.2.3

