00001 #ifndef IRCTRL_H 00002 #define IRCTRL_H 00003 00004 #include <QObject> 00005 #include <QString> 00006 00007 class IrCtrlPrivate; 00008 00009 class IrCtrl : public QObject 00010 { 00011 Q_OBJECT 00012 00013 public: 00014 explicit IrCtrl(QObject *parent = 0); 00015 ~IrCtrl(); 00016 00017 public slots: 00018 void sendCmd0(); 00019 void sendCmd1(); 00020 void sendCmd2(); 00021 void sendCmd3(); 00022 void sendCmd4(); 00023 void sendCmd5(); 00024 00025 protected: 00026 IrCtrlPrivate *const d_ptr; 00027 IrCtrl(IrCtrlPrivate &dd, QObject *parent); 00028 00029 private: 00030 Q_DECLARE_PRIVATE(IrCtrl); 00031 }; 00032 00033 #endif 00034