diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-23 11:59:03 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-23 11:59:03 +0900 |
| commit | c2f28aadde2e2e12594c4d0b8d334254dc76a712 (patch) | |
| tree | bbf33f8184e5906621b424f3b91ab0ca7b4b2772 /kimagemapeditor/kimagemapeditor.cpp | |
| parent | e5595fbfda5ebe3973b90d7d56f5ee46561f948f (diff) | |
| download | tdewebdev-c2f28aadde2e2e12594c4d0b8d334254dc76a712.tar.gz tdewebdev-c2f28aadde2e2e12594c4d0b8d334254dc76a712.zip | |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kimagemapeditor/kimagemapeditor.cpp')
| -rw-r--r-- | kimagemapeditor/kimagemapeditor.cpp | 21 |
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" ); |
