Results 1 to 3 of 3

Thread: kde pid from window id and vice versa

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: kde pid from window id and vice versa

    The other way is to implement what you said manually. That is, to check the state of a process you need to execute a short kernel code to search through kernel process table and extract the process you are looking for. For the other purpose, that is to get the pid, read about fork() wait_pid().

  2. The following user says thank you to saman_artorious for this useful post:


Similar Threads

  1. reinterpretcast help . from struct to stream and vice-versa
    By tonnot in forum General Programming
    Replies: 4
    Last Post: 27th June 2011, 13:21
  2. Replies: 3
    Last Post: 13th May 2011, 13:46
  3. Replies: 0
    Last Post: 25th March 2010, 12:10
  4. conversion between string to hex and vice versa
    By mohanakrishnan in forum Newbie
    Replies: 2
    Last Post: 5th December 2009, 11:25
  5. Convert QByteArray to object and vice versa
    By DiamonDogX in forum Qt Programming
    Replies: 4
    Last Post: 20th July 2009, 20:07

Tags for this Thread

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.