Results 1 to 5 of 5

Thread: <SOLVED> How to use QGuiApplication::applicationStateChanged in normal application

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2011
    Posts
    51
    Thanks
    5
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default <SOLVED> How to use QGuiApplication::applicationStateChanged in normal application

    I'm creating an application for android device, and I want to use android activities "signals" (onPause etc.). I read that I can use QGuiApplication::applicationStateChanged() signal to check my application state, but I don't know how (and if it's possible) to use this signal in 'normal' QApplication app, not QML. Or maybe if there is some other way of getting those signals in my application?
    Last edited by cszawisza; 27th May 2014 at 21:24.

Similar Threads

  1. How to block the normal buttons of a QWidget
    By Momergil in forum Qt Programming
    Replies: 3
    Last Post: 4th January 2012, 12:32
  2. Replies: 3
    Last Post: 4th September 2010, 22:48
  3. Replies: 1
    Last Post: 28th May 2010, 23:01
  4. Start application minimized or normal
    By matze in forum Qt Programming
    Replies: 3
    Last Post: 12th January 2010, 14:57
  5. Difference between normal socket and QTcpSocket
    By ShaChris23 in forum Newbie
    Replies: 1
    Last Post: 16th June 2007, 04:38

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.