Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Usage of QCoreApplication::removePostedEvents()

Usage of QCoreApplication::removePostedEvents()

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
removepostedeveqcoreapplicatioqobject
2 Posts 2 Posters 781 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hariprasasth
    wrote on 11 Mar 2019, 15:28 last edited by
    #1

    Hello,
    In my case, I have to remove custom events posted to specific QObject. I thought of using removePostedEvents(QObject*). But in doc it says, "killing events may cause receiver to break one or more invariants".
    Does calling removePostedevents() harmful?

    Thanks,
    Hari

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 11 Mar 2019, 22:21 last edited by
      #2

      Hi,

      Why do you have to remove these events ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      2/2

      11 Mar 2019, 22:21

      • Login

      • Login or register to search.
      2 out of 2
      • First post
        2/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved