From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- examples/dragdrop/dropsite.cpp | 2 +- examples/dragdrop/main.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/dragdrop') 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(); } -- cgit v1.2.1