~ubuntu-branches/ubuntu/oneiric/kde4libs/oneiric-proposed

« back to all changes in this revision

Viewing changes to solid/solid/powermanagement_p.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-07-08 00:08:34 UTC
  • mto: This revision was merged to the branch mainline in revision 247.
  • Revision ID: package-import@ubuntu.com-20110708000834-dr9a8my4iml90qe5
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include "powermanagementinterface.h"
28
28
#include "policyagentinterface.h"
29
29
 
 
30
#include <QtDBus/QDBusServiceWatcher>
 
31
 
30
32
namespace Solid
31
33
{
32
34
    class PowerManagementPrivate : public PowerManagement::Notifier
47
49
        void slotCanSuspendChanged(bool newState);
48
50
        void slotCanHibernateChanged(bool newState);
49
51
        void slotPowerSaveStatusChanged(bool newState);
 
52
        void slotServiceRegistered(const QString &serviceName);
50
53
 
51
54
    public:
52
55
        OrgFreedesktopPowerManagementInterface managerIface;
53
56
        OrgKdeSolidPowerManagementPolicyAgentInterface policyAgentIface;
54
57
        OrgFreedesktopPowerManagementInhibitInterface inhibitIface;
 
58
        QDBusServiceWatcher serviceWatcher;
55
59
 
56
60
        bool powerSaveStatus;
57
61
        QSet<Solid::PowerManagement::SleepState> supportedSleepStates;