diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /examples/dragdrop | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/dragdrop')
-rw-r--r-- | examples/dragdrop/dropsite.cpp | 2 | ||||
-rw-r--r-- | examples/dragdrop/main.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/dragdrop/dropsite.cpp b/examples/dragdrop/dropsite.cpp index 18c5b60ca..7257e6ed0 100644 --- a/examples/dragdrop/dropsite.cpp +++ b/examples/dragdrop/dropsite.cpp @@ -122,7 +122,7 @@ DragMoviePlayer::DragMoviePlayer( TQDragObject* p ) : dobj(p), movie("trolltech.gif" ) { - movie.connectUpdate(this,SLOT(updatePixmap(const TQRect&))); + movie.connectUpdate(this,TQ_SLOT(updatePixmap(const TQRect&))); } void DragMoviePlayer::updatePixmap( const TQRect& ) diff --git a/examples/dragdrop/main.cpp b/examples/dragdrop/main.cpp index 2af77d594..3a618b60f 100644 --- a/examples/dragdrop/main.cpp +++ b/examples/dragdrop/main.cpp @@ -44,8 +44,8 @@ static void addStuff( TQWidget * parent, bool image, bool secret = FALSE ) tll->activate(); parent->resize( parent->sizeHint() ); - TQObject::connect( d, SIGNAL(message(const TQString&)), - format, SLOT(setText(const TQString&)) ); + TQObject::connect( d, TQ_SIGNAL(message(const TQString&)), + format, TQ_SLOT(setText(const TQString&)) ); } @@ -68,6 +68,6 @@ int main( int argc, char ** argv ) mw3.setCaption( "TQt Example - Drag and Drop" ); mw3.show(); - TQObject::connect(tqApp,SIGNAL(lastWindowClosed()),tqApp,SLOT(quit())); + TQObject::connect(tqApp,TQ_SIGNAL(lastWindowClosed()),tqApp,TQ_SLOT(quit())); return a.exec(); } |