~ubuntu-branches/ubuntu/wily/ktp-kded-integration-module/wily

« back to all changes in this revision

Viewing changes to telepathy-module.h

  • Committer: Package Import Robot
  • Author(s): Rohan Garg
  • Date: 2014-02-18 00:14:58 UTC
  • mfrom: (1.2.13)
  • Revision ID: package-import@ubuntu.com-20140218001458-mta8ewgg9qtd0hzb
Tags: 0.7.80-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
    void settingsChanged();
56
56
 
57
57
private Q_SLOTS:
58
 
    void onAccountManagerReady(Tp::PendingOperation*);
 
58
    void onAccountManagerReady(Tp::PendingOperation *op);
59
59
    void onRequestedPresenceChanged(const KTp::Presence &presence);
60
60
    void onPluginActivated(bool);
61
61
 
62
62
private:
63
63
    /** Returns the presence we think we should be in. Either from the highest priority plugin, or if none are active, the last user set.*/
64
64
    KTp::Presence currentPluginPresence() const;
 
65
    QString currentPluginStatusMessage();
 
66
    KTp::Presence presenceThrottle();
 
67
    const QString statusMessageStack();
 
68
    bool activePlugin();
 
69
    bool activeStatusMessagePlugin();
65
70
    void setPresence(const KTp::Presence &presence);
66
71
 
67
72
private:
68
 
    Tp::AccountManagerPtr    m_accountManager;
69
73
    AutoAway                *m_autoAway;
70
74
    TelepathyMPRIS          *m_mpris;
71
75
    AutoConnect             *m_autoConnect;
76
80
    ScreenSaverAway         *m_screenSaverAway;
77
81
 
78
82
    QList<TelepathyKDEDModulePlugin*> m_pluginStack;
 
83
    QList<TelepathyKDEDModulePlugin*> m_statusMessagePluginStack;
79
84
    KTp::Presence m_lastUserPresence;
80
85
};
81
86