summaryrefslogtreecommitdiffstats
path: root/examples/dragdrop
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-31 22:16:03 +0900
commitecca365daf06c711cf30f93f4c773dabf5642790 (patch)
tree0b2f6780f60fd7eb35c84cc899e7d51db189d67d /examples/dragdrop
parent1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff)
downloadtqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz
tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'examples/dragdrop')
-rw-r--r--examples/dragdrop/dropsite.cpp2
-rw-r--r--examples/dragdrop/main.cpp6
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();
}