Results 1 to 9 of 9

Thread: reflection and qmetaobject

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: reflection and qmetaobject

    SIGNAL and SLOT macros are a little hack Use this instead:
    Qt Code:
    1. QObject::connect(si, (QString("2")+signalSignature).toAscii().data(),
    2. sl, (QString("1")+slotSignature).toAscii().data());
    To copy to clipboard, switch view to plain text mode 

  2. The following user says thank you to wysota for this useful post:

    KShots (16th May 2007)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.