~ubuntu-branches/ubuntu/quantal/psi/quantal

« back to all changes in this revision

Viewing changes to src/tools/systemwatch/systemwatch_mac.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2008-04-14 18:57:30 UTC
  • mfrom: (2.1.9 hardy)
  • Revision ID: james.westby@ubuntu.com-20080414185730-528re3zp0m2hdlhi
Tags: 0.11-8
* added CONFIG -= link_prl to .pro files and removed dependencies
  which are made unnecessary by this change
* Fix segfault when closing last chat tab with qt4.4
  (This is from upstream svn, rev. 1101) (Closes: Bug#476122)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include "systemwatch.h"
25
25
 
26
 
class MacSystemWatch : public SystemWatchImpl
 
26
class MacSystemWatch : public SystemWatch
27
27
{
28
 
        Q_OBJECT
29
 
 
30
28
public:
31
 
        static MacSystemWatch* instance();
32
 
        
 
29
        MacSystemWatch();
 
30
 
33
31
        // These shouldn't be called from outside, but i can't hide them atm.
34
32
        void emitSleep() { emit sleep(); }
35
33
        void emitIdleSleep() { emit idleSleep(); }
36
34
        void emitWakeup() { emit wakeup(); }
37
 
 
38
 
private:
39
 
        MacSystemWatch();
40
 
        
41
 
        static MacSystemWatch* instance_;
42
35
};
43
36
 
44
37
#endif