Results 1 to 2 of 2

Thread: Usage of the QDBusPendingCallWatcher

  1. #1
    Join Date
    Sep 2010
    Posts
    62
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Usage of the QDBusPendingCallWatcher

    Hello,

    Is it allowed to:
    - disconnect the QDBusPendingCallWatcher instance and its signal from the slot method in the slot method self, when triggered by the QDBusPendingCallWatcher instance?
    - delete the QDBusPendingCallWatcher instance in the according slot method self, when triggered by the QDBusPendingCallWatcher instance?

    If not - how to do the above operations?

  2. #2
    Join Date
    Sep 2010
    Posts
    62
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Solved: Usage of the QDBusPendingCallWatcher

    QObject::disconnect is legal within the SLOT method

    for deletion of the QDBusPendingCallWatcher the deleteLater() shall be used.

    Thank you Thiago Maciera !!!

Similar Threads

  1. QEffects.cpp usage.....
    By Naveen in forum Qt Programming
    Replies: 6
    Last Post: 11th January 2011, 11:07
  2. QML usage
    By icek in forum Qt Programming
    Replies: 0
    Last Post: 5th August 2010, 17:02
  3. QButtonGroup usage?
    By Caius Aérobus in forum Qt Programming
    Replies: 4
    Last Post: 22nd April 2008, 07:38
  4. QSqlDatabase usage
    By goes2bob in forum Newbie
    Replies: 4
    Last Post: 10th February 2008, 15:03
  5. Qt4 XML usage
    By kandalf in forum Qt Programming
    Replies: 1
    Last Post: 21st November 2006, 20:18

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.