Results 1 to 5 of 5

Thread: Can we connect QTimer::SingleShot with a slot taking arguments?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    May 2007
    Location
    Lublin, Poland
    Posts
    345
    Thanks
    40
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Can we connect QTimer::SingleShot with a slot taking arguments?

    Thanks.

    I just forgot that using QTimer::singleShot(..) the signal sent is "timeout(...) taking no arguments and using the timeout interval". I was lucking this information.

    Clear enough.
    Last edited by maverick_pol; 17th September 2008 at 18:11.
    Qt allows you to use everything you want
    wysota
    --------------------------------------------------------------------------------
    #if defined(Q_OS_UNIX) && defined(QT_DEBUG)
    abort(); // trap; generates core dump
    #else
    exit(1); // goodbye cruel world
    #endif

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.