diff options
Diffstat (limited to 'karbon/tools/vsheartool.cc')
-rw-r--r-- | karbon/tools/vsheartool.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/karbon/tools/vsheartool.cc b/karbon/tools/vsheartool.cc index e38336b1..59315cd8 100644 --- a/karbon/tools/vsheartool.cc +++ b/karbon/tools/vsheartool.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> @@ -47,13 +47,13 @@ VShearTool::~VShearTool() void VShearTool::activate() { - view()->setCursor( QCursor( Qt::arrowCursor ) ); + view()->setCursor( TQCursor( TQt::arrowCursor ) ); view()->part()->document().selection()->showHandle( true ); view()->part()->document().selection()->setState( VObject::selected ); VTool::activate(); } -QString +TQString VShearTool::statusText() { return i18n( "Shear" ); @@ -63,7 +63,7 @@ void VShearTool::draw() { VPainter* painter = view()->painterFactory()->editpainter(); - painter->setRasterOp( Qt::NotROP ); + painter->setRasterOp( TQt::NotROP ); VObjectListIterator itr = m_objects; for( ; itr.current(); ++itr ) @@ -78,22 +78,22 @@ VShearTool::setCursor() const { case node_lt: case node_rb: - view()->setCursor( QCursor( Qt::SizeFDiagCursor ) ); + view()->setCursor( TQCursor( TQt::SizeFDiagCursor ) ); break; case node_rt: case node_lb: - view()->setCursor( QCursor( Qt::SizeBDiagCursor ) ); + view()->setCursor( TQCursor( TQt::SizeBDiagCursor ) ); break; case node_lm: case node_rm: - view()->setCursor( QCursor( Qt::SizeHorCursor ) ); + view()->setCursor( TQCursor( TQt::SizeHorCursor ) ); break; case node_mt: case node_mb: - view()->setCursor( QCursor( Qt::SizeVerCursor ) ); + view()->setCursor( TQCursor( TQt::SizeVerCursor ) ); break; default: - view()->setCursor( QCursor( Qt::arrowCursor ) ); + view()->setCursor( TQCursor( TQt::arrowCursor ) ); } } @@ -136,7 +136,7 @@ VShearTool::cancel() if ( isDragging() ) { draw(); - view()->repaintAll( view()->part()->document().selection()->boundingBox() ); + view()->tqrepaintAll( view()->part()->document().selection()->boundingBox() ); } } @@ -210,7 +210,7 @@ VShearTool::setup( KActionCollection *collection ) if( m_action == 0 ) { - m_action = new KRadioAction( i18n( "Shear Tool" ), "14_shear", Qt::SHIFT+Qt::Key_H, this, SLOT( activate() ), collection, name() ); + m_action = new KRadioAction( i18n( "Shear Tool" ), "14_shear", TQt::SHIFT+TQt::Key_H, this, TQT_SLOT( activate() ), collection, name() ); m_action->setToolTip( i18n( "Shear" ) ); m_action->setExclusiveGroup( "manipulation" ); //m_ownAction = true; |