Results 1 to 3 of 3

Thread: Determining Logged In State

  1. #1
    Join Date
    May 2007
    Posts
    90
    Thanks
    40
    Qt products
    Qt4
    Platforms
    Windows

    Post Determining Logged In State

    I am getting ready to use QService for running a program, but I don't want the GUI to display unless someone is logged into the machine. I was wondering if there is a mechanism for determining the state of the computer? Specifically whether or not a user is logged in.

    Thank You

  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: Determining Logged In State

    I don't think Qt has such a mechanism. You'll have to dive into WinAPI and search there.

  3. The following user says thank you to wysota for this useful post:

    TheGrimace (22nd October 2007)

  4. #3
    Join Date
    May 2007
    Posts
    90
    Thanks
    40
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Determining Logged In State

    Great Googly Moogly!

    Thank You For the Response.

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.