diff options
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" ); |
