diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
commit | 0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch) | |
tree | 2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kig/modes/moving.cc | |
parent | 83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff) | |
download | tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kig/modes/moving.cc')
-rw-r--r-- | kig/modes/moving.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kig/modes/moving.cc b/kig/modes/moving.cc index e628a7ce..533b15d4 100644 --- a/kig/modes/moving.cc +++ b/kig/modes/moving.cc @@ -29,7 +29,7 @@ #include "../misc/calcpaths.h" #include "../misc/coordinate_system.h" -#include <qevent.h> +#include <tqevent.h> #include <functional> #include <algorithm> @@ -65,7 +65,7 @@ void MovingModeBase::initScreen( const std::vector<ObjectCalcer*>& in ) p2.drawObjects( drawableset.begin(), drawableset.end(), true ); } -void MovingModeBase::leftReleased( QMouseEvent*, KigWidget* v ) +void MovingModeBase::leftReleased( TQMouseEvent*, KigWidget* v ) { // clean up after ourselves: for ( std::vector<ObjectCalcer*>::iterator i = mcalcable.begin(); @@ -81,7 +81,7 @@ void MovingModeBase::leftReleased( QMouseEvent*, KigWidget* v ) mdoc.doneMode( this ); } -void MovingModeBase::mouseMoved( QMouseEvent* e, KigWidget* v ) +void MovingModeBase::mouseMoved( TQMouseEvent* e, KigWidget* v ) { v->updateCurPix(); Coordinate c = v->fromScreen( e->pos() ); @@ -152,7 +152,7 @@ MovingMode::MovingMode( const std::vector<ObjectHolder*>& os, const Coordinate& void MovingMode::stopMove() { - QString text = d->emo.size() == 1 ? + TQString text = d->emo.size() == 1 ? d->emo[0]->imp()->type()->moveAStatement() : i18n( "Move %1 Objects" ).arg( d->emo.size() ); KigCommand* mc = new KigCommand( mdoc, text ); @@ -208,7 +208,7 @@ MovingModeBase::~MovingModeBase() { } -void MovingModeBase::leftMouseMoved( QMouseEvent* e, KigWidget* v ) +void MovingModeBase::leftMouseMoved( TQMouseEvent* e, KigWidget* v ) { mouseMoved( e, v ); } |