Results 1 to 2 of 2

Thread: How to use Signal through direct connection

  1. #1
    Join Date
    May 2007
    Posts
    110
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X

    Default How to use Signal through direct connection

    hi

    I have Four classes
    first Class : GUI Thread
    Second Class : class 2
    Third Class : class 3
    Fourth Class: Thread Class.

    Gui Thread class call First Class, First Class call Second Class, Second class call Third class and Third class call Fourth Class..

    Third class starts the thread and call Fourth Class. Fourth class emit the signal , I want to receive direct in First Gui Thread class. But it is not connected direct to First class..
    This signal is bypassed to all classes then SLOT is used in used First GUI class,....

    Can I use other method to connect First Class SLOT to Thread class SIGNAL directly...

    if any body knows plz help me...

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: How to use Signal through direct connection

    Quote Originally Posted by santosh.kumar View Post
    Can I use other method to connect First Class SLOT to Thread class SIGNAL directly...
    Yes of course, as long as you have pointers to both, sender and receiver available. Then, how and where to do it, is more an architectural question.
    J-P Nurmi

Similar Threads

  1. Signal and slot connection graph
    By fahlen in forum General Discussion
    Replies: 4
    Last Post: 27th November 2007, 14:47
  2. Client/Server Error: BadIDChoice
    By 3nc31 in forum Qt Programming
    Replies: 5
    Last Post: 27th November 2007, 11:22
  3. Error signal connection between 2 classes
    By mattia in forum Newbie
    Replies: 6
    Last Post: 31st October 2007, 10:36
  4. signal slot connection
    By Big Duck in forum Newbie
    Replies: 2
    Last Post: 4th July 2006, 14:31
  5. Replies: 2
    Last Post: 17th May 2006, 22:01

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.