diff options
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(); } |