diff options
Diffstat (limited to 'kimagemapeditor/kimecommands.cpp')
-rw-r--r-- | kimagemapeditor/kimecommands.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kimagemapeditor/kimecommands.cpp b/kimagemapeditor/kimecommands.cpp index 59157f9d..1d2b08ee 100644 --- a/kimagemapeditor/kimecommands.cpp +++ b/kimagemapeditor/kimecommands.cpp @@ -30,7 +30,7 @@ KCommand #else KNamedCommand #endif - (i18n( "Cut %1" ).arg( a.typeString() )) + (i18n( "Cut %1" ).tqarg( a.typeString() )) { _document=document; _cutAreaSelection=new AreaSelection(); @@ -74,7 +74,7 @@ void CutCommand::unexecute() DeleteCommand::DeleteCommand(KImageMapEditor * document, const AreaSelection & a) : CutCommand(document,a) { - setName(i18n( "Delete %1" ).arg( a.typeString() )); + setName(i18n( "Delete %1" ).tqarg( a.typeString() )); } PasteCommand::PasteCommand(KImageMapEditor *document, const AreaSelection & a) @@ -84,7 +84,7 @@ KCommand #else KNamedCommand #endif - (i18n( "Paste %1" ).arg( a.typeString() )) + (i18n( "Paste %1" ).tqarg( a.typeString() )) { _document=document; _pasteAreaSelection=new AreaSelection(); @@ -129,7 +129,7 @@ KCommand #else KNamedCommand #endif -(i18n( "Move %1" ).arg( a->typeString() )) +(i18n( "Move %1" ).tqarg( a->typeString() )) { _document=document; _areaSelection=new AreaSelection(); @@ -147,7 +147,7 @@ MoveCommand::~MoveCommand () { void MoveCommand::execute() { - // only for repainting reasons + // only for tqrepainting reasons Area* tempArea = _areaSelection->clone(); _areaSelection->moveTo( _newPoint.x(), _newPoint.y() ); @@ -155,7 +155,7 @@ void MoveCommand::execute() if (!_areaSelection->allAreasWithin(_document->getDrawZone()->getImageRect())) _areaSelection->moveTo( _oldPoint.x(), _oldPoint.y() ); - _document->selected()->invalidate(); + _document->selected()->tqinvalidate(); _document->slotAreaChanged( tempArea ); @@ -174,7 +174,7 @@ void MoveCommand::unexecute() _areaSelection->moveTo( _oldPoint.x(), _oldPoint.y() ); _areaSelection->setMoving(false); - _document->selected()->invalidate(); + _document->selected()->tqinvalidate(); _document->slotAreaChanged( tempArea ); _document->slotAreaChanged( _areaSelection ); @@ -191,7 +191,7 @@ KCommand #else KNamedCommand #endif -(i18n( "Resize %1" ).arg( a->typeString() )) +(i18n( "Resize %1" ).tqarg( a->typeString() )) { _areaSelection=new AreaSelection(); _areaSelection->setAreaList( a->getAreaList() ); @@ -238,7 +238,7 @@ KCommand #else KNamedCommand #endif -(i18n( "Add point to %1" ).arg( a->typeString() )) +(i18n( "Add point to %1" ).tqarg( a->typeString() )) { if (a->type()!=Area::Polygon) { @@ -269,15 +269,15 @@ void AddPointCommand::execute() void AddPointCommand::unexecute() { // TQRect *selectionPoint = _areaSelection->onSelectionPoint(_point); - Area* repaintArea = _areaSelection->clone(); + Area* tqrepaintArea = _areaSelection->clone(); _areaSelection->removeCoord(_coordpos); _areaSelection->setMoving(false); _document->slotAreaChanged( _areaSelection ); - _document->slotAreaChanged( repaintArea ); + _document->slotAreaChanged( tqrepaintArea ); - delete repaintArea; + delete tqrepaintArea; } RemovePointCommand::RemovePointCommand (KImageMapEditor *document, AreaSelection *a, Area *oldArea) @@ -287,7 +287,7 @@ KCommand #else KNamedCommand #endif -(i18n( "Remove point from %1" ).arg( a->typeString() )) +(i18n( "Remove point from %1" ).tqarg( a->typeString() )) { if (a->type()!=Area::Polygon) { @@ -340,7 +340,7 @@ KCommand #else KNamedCommand #endif -(i18n( "Create %1" ).arg( area->typeString() )) +(i18n( "Create %1" ).tqarg( area->typeString() )) { _document=document; _area=area; |