diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /karbon/commands/vreplacingcmd.cc | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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. |