Results 1 to 8 of 8

Thread: Emiting signal, which NOT connected to any slots

  1. #1
    Join Date
    Jan 2006
    Posts
    36
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Emiting signal, which NOT connected to any slots

    What happens in this case?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Emiting signal, which NOT connected to any slots

    Nothing. Qt checks that no slots are connected to the signal and continues the main flow ignoring the signal.

  3. #3
    Join Date
    Jan 2006
    Posts
    36
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Emiting signal, which NOT connected to any slots

    Quote Originally Posted by wysota
    Nothing. Qt checks that no slots are connected to the signal and continues the main flow ignoring the signal.
    Maybe I find one of many QT's bugs

  4. #4
    Join Date
    Jan 2006
    Location
    India
    Posts
    115
    Thanks
    3
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Emiting signal, which NOT connected to any slots

    Quote Originally Posted by krivenok
    Maybe I find one of many QT's bugs
    What is the bug in this case?

  5. #5
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: Emiting signal, which NOT connected to any slots

    Quote Originally Posted by krivenok
    Maybe I find one of many QT's bugs
    What other bugs have you find ?
    a life without programming is like an empty bottle

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Emiting signal, which NOT connected to any slots

    Quote Originally Posted by krivenok
    Maybe I find one of many QT's bugs
    I just wonder what QT bugs are doing in Qt.

  7. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Emiting signal, which NOT connected to any slots

    Quote Originally Posted by jacek
    I just wonder what QT bugs are doing in Qt.
    Eating Apples, maybe?

  8. #8
    Join Date
    Jan 2006
    Location
    Mountain View, CA
    Posts
    279
    Thanked 42 Times in 37 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Emiting signal, which NOT connected to any slots

    Quote Originally Posted by krivenok
    Maybe I find one of many QT's bugs
    ...or maybe not. What is it that you believe to be a bug?
    Save yourself some pain. Learn C++ before learning Qt.

Similar Threads

  1. problem with emiting a signal
    By msmihai in forum Newbie
    Replies: 2
    Last Post: 3rd January 2009, 14:32
  2. pthread instead QThread
    By brevleq in forum Qt Programming
    Replies: 8
    Last Post: 23rd December 2008, 07:16
  3. Connection of custon signals/slots
    By brevleq in forum Qt Programming
    Replies: 2
    Last Post: 23rd December 2008, 07:04
  4. how can i know how many slots connected to a signal?
    By yj_yulin in forum Qt Programming
    Replies: 6
    Last Post: 1st December 2008, 10:24
  5. Signal and slots
    By villy in forum Qt Programming
    Replies: 1
    Last Post: 12th January 2007, 10:10

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.