Results 1 to 2 of 2

Thread: signals and return type

  1. #1
    Join Date
    Nov 2007
    Posts
    291
    Thanks
    85
    Thanked 1 Time in 1 Post

    Default signals and return type

    hi
    Can signals have return type or should they always be void.

  2. #2
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: signals and return type

    From the Qt docs

    Signals are automatically generated by the moc and must not be implemented in the .cpp file. They can never have return types (i.e. use void).

  3. The following user says thank you to munna for this useful post:

    babu198649 (13th December 2008)

Similar Threads

  1. Exception type loss
    By azdruid in forum Qt Programming
    Replies: 3
    Last Post: 6th November 2007, 20:06

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.