• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

qmwatchdog.h

Go to the documentation of this file.
00001 
00028 #ifndef QMWATCHDOG_H
00029 #define QMWATCHDOG_H
00030 
00031 #include <QtCore/qobject.h>
00032 #include "system_global.h"
00033 
00034 QT_BEGIN_HEADER
00035 
00036 namespace MeeGo {
00037 
00038     class QmProcessWatchdogPrivate;
00039 
00046     class QmProcessWatchdog : public QObject {
00047     Q_OBJECT;
00048 
00049     public:
00050         QmProcessWatchdog(QObject *parent = NULL);
00051         ~QmProcessWatchdog();
00052 
00060         bool start();
00061 
00067         bool stop();
00068 
00069     public Q_SLOTS:
00070 
00077         bool pong();
00078 
00079     Q_SIGNALS:
00083         void ping();
00084 
00085     private:
00086         Q_DISABLE_COPY(QmProcessWatchdog)
00087         MEEGO_DECLARE_PRIVATE(QmProcessWatchdog)
00088     };
00089 
00090 }
00091 
00092 QT_END_HEADER
00093 
00094 #endif // QMWATCHDOG_H

Generated on Mon Jul 4 2011 14:27:35 for QmSystem by  doxygen 1.7.1