Results 1 to 2 of 2

Thread: slot issue

  1. #1
    Join Date
    Jan 2011
    Posts
    212
    Thanks
    24
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default slot issue

    hello forum,

    The manual says that slot is also normal member functions.

    Does it mean that it can be called directly without the connection with the signal?


    Regards
    Sajjad

  2. #2
    Join Date
    Oct 2010
    Location
    Berlin, Germany
    Posts
    358
    Thanks
    18
    Thanked 68 Times in 66 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: slot issue

    Quote Originally Posted by sajis997 View Post
    Does it mean that it can be called directly without the connection with the signal?
    yes. a slot is a member function that has the additional(!) functionality that it can be connected with a signal.

    felix

Similar Threads

  1. slot issue
    By stef13013 in forum Qt Programming
    Replies: 4
    Last Post: 17th September 2010, 21:49
  2. QFileDialog Signal / Class Slot issue
    By Wasabi in forum Newbie
    Replies: 5
    Last Post: 7th August 2010, 23:48
  3. QSlider slot trigger issue
    By depsch in forum Newbie
    Replies: 1
    Last Post: 18th September 2009, 05:25
  4. qt signal/slot auto-connect issue
    By parnedo in forum Qt Programming
    Replies: 9
    Last Post: 16th July 2009, 12:55
  5. Signal and Slot Issue
    By dlrlsqa1 in forum Newbie
    Replies: 5
    Last Post: 23rd March 2009, 12:44

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.