summaryrefslogtreecommitdiffstats
path: root/karbon/tools/vrotatetool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/tools/vrotatetool.cc')
-rw-r--r--karbon/tools/vrotatetool.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/karbon/tools/vrotatetool.cc b/karbon/tools/vrotatetool.cc
index 987a7b60..cc0a8c73 100644
--- a/karbon/tools/vrotatetool.cc
+++ b/karbon/tools/vrotatetool.cc
@@ -19,8 +19,8 @@
#include <math.h>
-#include <qcursor.h>
-#include <qlabel.h>
+#include <tqcursor.h>
+#include <tqlabel.h>
#include <klocale.h>
#include <KoRect.h>
@@ -50,13 +50,13 @@ VRotateTool::~VRotateTool()
void
VRotateTool::activate()
{
- view()->setCursor( QCursor( Qt::arrowCursor ) );
+ view()->setCursor( TQCursor( TQt::arrowCursor ) );
view()->part()->document().selection()->setState( VObject::selected );
view()->part()->document().selection()->showHandle( false );
VTool::activate();
}
-QString
+TQString
VRotateTool::statusText()
{
return i18n( "Rotate" );
@@ -67,7 +67,7 @@ VRotateTool::draw()
{
VPainter* painter = view()->painterFactory()->editpainter();
//painter->setZoomFactor( view()->zoom() );
- painter->setRasterOp( Qt::NotROP );
+ painter->setRasterOp( TQt::NotROP );
VObjectListIterator itr = m_objects;
for( ; itr.current(); ++itr )
@@ -117,7 +117,7 @@ VRotateTool::cancel()
if ( isDragging() )
{
draw();
- view()->repaintAll( view()->part()->document().selection()->boundingBox() );
+ view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() );
}
}
@@ -166,7 +166,7 @@ VRotateTool::setup( KActionCollection *collection )
if( m_action == 0 )
{
- m_action = new KRadioAction( i18n( "Rotate Tool" ), "14_rotate", Qt::SHIFT+Qt::Key_H, this, SLOT( activate() ), collection, name() );
+ m_action = new KRadioAction( i18n( "Rotate Tool" ), "14_rotate", TQt::SHIFT+TQt::Key_H, this, TQT_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Rotate" ) );
m_action->setExclusiveGroup( "manipulation" );
//m_ownAction = true;