summaryrefslogtreecommitdiffstats
path: root/kimagemapeditor/kimagemapeditor.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-03-23 11:59:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-03-23 11:59:03 +0900
commitc2f28aadde2e2e12594c4d0b8d334254dc76a712 (patch)
treebbf33f8184e5906621b424f3b91ab0ca7b4b2772 /kimagemapeditor/kimagemapeditor.cpp
parente5595fbfda5ebe3973b90d7d56f5ee46561f948f (diff)
downloadtdewebdev-c2f28aadde2e2e12594c4d0b8d334254dc76a712.tar.gz
tdewebdev-c2f28aadde2e2e12594c4d0b8d334254dc76a712.zip
Remove use of TDE_VERSIONHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kimagemapeditor/kimagemapeditor.cpp')
-rw-r--r--kimagemapeditor/kimagemapeditor.cpp21
1 files changed, 1 insertions, 20 deletions
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" );