From 77cd1f7ee4fd1b9a9223f38b2e30174c6c3dd138 Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Thu, 12 Mar 2026 15:06:27 +0900
Subject: Remove use of TDE_VERSION

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 domino/domino.cpp      | 8 --------
 domino/eventfilter.cpp | 2 --
 2 files changed, 10 deletions(-)

diff --git a/domino/domino.cpp b/domino/domino.cpp
index a92de05..60a6ae2 100644
--- a/domino/domino.cpp
+++ b/domino/domino.cpp
@@ -78,7 +78,6 @@
 #include <tqspinbox.h>
 #include <tqcursor.h>
 #include <tqtextedit.h>
-#include <tdeversion.h>
 #include <kimageeffect.h>
 
 #include <X11/Xlib.h>
@@ -276,9 +275,6 @@ TDE_EXPORT_PLUGIN( DominoStylePlugin )
 	oldRubberRect = TQRect();
 	rubber = 0;
 	ignoreNextFocusRect = false;
-#if TDE_VERSION < 0x30506
-	compositeManagerRunning = true;
-#endif
 	configMode = "0"; // temporaly to avoid cache problems between the configs previewStyle and this style
 	spinWidgetDown = false;
 	
@@ -4365,11 +4361,7 @@ void DominoStyle::drawPrimitive(PrimitiveElement pe,
 		
 		case PE_RubberBand: {
 			
-#if TDE_VERSION >= 0x30506
 			if(rubberBandType != ArgbRubber || !compositeManagerRunning) {
-#else
-			if(rubberBandType != ArgbRubber) {
-#endif
 				if(rubberBandType == LineRubber) {
 					p->save();
 					p->setPen(TQPen(black, 1, TQt::SolidLine));
diff --git a/domino/eventfilter.cpp b/domino/eventfilter.cpp
index 1169f55..9ce4f83 100644
--- a/domino/eventfilter.cpp
+++ b/domino/eventfilter.cpp
@@ -518,7 +518,6 @@ bool DominoStyle::objectEventHandler( const TQStyleControlElementData &ceData,
 					rubber->destroy();
 				}
 				
-#if TDE_VERSION >= 0x30506
 			case TQEvent::Show: {
 				char selectionName[64];
 				snprintf(selectionName, 64, "_NET_WM_CM_S%d", DefaultScreen(tqt_xdisplay()));
@@ -530,7 +529,6 @@ bool DominoStyle::objectEventHandler( const TQStyleControlElementData &ceData,
 					compositeManagerRunning = false;
 				}
 			}
-#endif
 			default:
 				break;
 		}
-- 
cgit v1.2.3

