From c2f28aadde2e2e12594c4d0b8d334254dc76a712 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 23 Mar 2026 11:59:03 +0900 Subject: Remove use of TDE_VERSION Signed-off-by: Michele Calgaro --- kimagemapeditor/kimagemapeditor.cpp | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'kimagemapeditor/kimagemapeditor.cpp') diff --git a/kimagemapeditor/kimagemapeditor.cpp b/kimagemapeditor/kimagemapeditor.cpp index 20bb4bb7..79febb57 100644 --- a/kimagemapeditor/kimagemapeditor.cpp +++ b/kimagemapeditor/kimagemapeditor.cpp @@ -197,11 +197,7 @@ KImageMapEditor::KImageMapEditor(TQWidget *parentWidget, const char *, KImageMapEditor::~KImageMapEditor() { writeConfig(); - #if TDE_VERSION < 300 - delete accel; - #endif delete areas; - delete currentSelected; delete copyArea; delete defaultArea; @@ -622,10 +618,7 @@ void KImageMapEditor::setupActions() "Click this to remove points from a polygon.")); removePointAction->setExclusiveGroup("drawing"); -#if TDE_VERSION < 300 - TDEAction *cancelAction = -#endif - new TDEAction(i18n("Cancel Drawing"), Key_Escape, this, TQ_SLOT( slotCancelDrawing() ), + new TDEAction(i18n("Cancel Drawing"), Key_Escape, this, TQ_SLOT( slotCancelDrawing() ), actionCollection(), "canceldrawing" ); moveLeftAction = new TDEAction(i18n("Move Left"), Key_Left, this, TQ_SLOT( slotMoveLeft() ), @@ -651,18 +644,6 @@ void KImageMapEditor::setupActions() decreaseHeightAction = new TDEAction(i18n("Decrease Height"), Key_Down + SHIFT, this, TQ_SLOT( slotDecreaseHeight() ), actionCollection() , "decreaseheight" ); -#if TDE_VERSION < 300 - accel = new TDEAccel(widget()); - cancelAction->plugAccel(accel, true); - moveLeftAction->plugAccel(accel, true); - moveRightAction->plugAccel(accel, true); - moveUpAction->plugAccel(accel, true); - moveDownAction->plugAccel(accel, true); - increaseWidthAction->plugAccel(accel, true); - decreaseWidthAction->plugAccel(accel, true); - increaseHeightAction->plugAccel(accel, true); - decreaseHeightAction->plugAccel(accel, true); -#endif toFrontAction = new TDEAction(i18n("Bring to Front"), 0 , this, TQ_SLOT( slotToFront() ), actionCollection() , "tofront" ); -- cgit v1.2.3