diff options
Diffstat (limited to 'karbon/commands/vreplacingcmd.cc')
-rw-r--r-- | karbon/commands/vreplacingcmd.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/karbon/commands/vreplacingcmd.cc b/karbon/commands/vreplacingcmd.cc index c14ffa1d..d99fe313 100644 --- a/karbon/commands/vreplacingcmd.cc +++ b/karbon/commands/vreplacingcmd.cc @@ -22,7 +22,7 @@ #include "vselection.h" #include "vdocument.h" -VReplacingCmd::VReplacingCmd( VDocument* doc, const QString& name ) +VReplacingCmd::VReplacingCmd( VDocument* doc, const TQString& name ) : VCommand( doc, name ) { // Set members. @@ -44,7 +44,7 @@ VReplacingCmd::execute() bool successful = false; - // Create new shapes if they don't exist yet. + // Create new tqshapes if they don't exist yet. if( !m_newObjects ) { m_newObjects = new VSelection(); @@ -65,11 +65,11 @@ VReplacingCmd::execute() { successful = true; - // Insert new shape right before old shape. - itr.current()->parent()->insertInfrontOf( + // Insert new tqshape right before old tqshape. + itr.current()->tqparent()->insertInfrontOf( newObject, itr.current() ); - // Add new shape to list of new objects. + // Add new tqshape to list of new objects. m_newObjects->append( newObject ); } // No success. |