diff options
author | Thomas Groman <tgroman@nuegia.net> | 2020-09-21 15:08:56 -0700 |
---|---|---|
committer | Thomas Groman <tgroman@nuegia.net> | 2020-09-21 15:08:56 -0700 |
commit | 4aa31001bae125293466d582c2ed1dca441c1103 (patch) | |
tree | 5a2bdfc6d6b0ea1f94c53e7c7108d7108940f8c5 /src/gui/gui.h | |
parent | effdcc9b1cf185f24e67d9e627a77d823bcfef8f (diff) | |
parent | b7965d023cb68bce6d9495eb6afbc73206c1afef (diff) | |
download | twinkle-4aa31001bae125293466d582c2ed1dca441c1103.tar twinkle-4aa31001bae125293466d582c2ed1dca441c1103.tar.gz twinkle-4aa31001bae125293466d582c2ed1dca441c1103.tar.lz twinkle-4aa31001bae125293466d582c2ed1dca441c1103.tar.xz twinkle-4aa31001bae125293466d582c2ed1dca441c1103.zip |
Merge branch 'master' into jackaudiojackaudio
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r-- | src/gui/gui.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h index 3538afb..63f2cc9 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -43,6 +43,7 @@ using namespace std; // Forward declaration class MphoneForm; +class IdleSessionManager; // Length of redial list in combo boxes #define SIZE_REDIAL_LIST 10 @@ -65,6 +66,8 @@ class t_gui : public QObject, public t_userintf { Q_OBJECT private: MphoneForm *mainWindow; + + IdleSessionManager *m_idle_session_manager; // List of active instant messaging session. list<im::t_msg_session *> messageSessions; @@ -426,6 +429,10 @@ signals: void mw_update_call_history(); void mw_update_missed_call_status(int num_missed_calls); +public slots: + // Apply the current "inhibit_idle_session" setting + void updateInhibitIdleSession(); + private slots: /** * Update timers associated with message sessions. This @@ -433,6 +440,9 @@ private slots: */ void updateTimersMessageSessions(); + // Update the current idle/busy state + void updateIdleSessionState(); + bool do_cb_ask_user_to_redirect_invite(t_user *user_config, const t_url &destination, const string &display); bool do_cb_ask_user_to_redirect_request(t_user *user_config, const t_url &destination, |