diff options
Diffstat (limited to 'qt/org.eclipse.cdt.qt.core/templates/project/Qt4/DateTime.hh')
-rw-r--r-- | qt/org.eclipse.cdt.qt.core/templates/project/Qt4/DateTime.hh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/qt/org.eclipse.cdt.qt.core/templates/project/Qt4/DateTime.hh b/qt/org.eclipse.cdt.qt.core/templates/project/Qt4/DateTime.hh new file mode 100644 index 00000000000..c3959b41178 --- /dev/null +++ b/qt/org.eclipse.cdt.qt.core/templates/project/Qt4/DateTime.hh @@ -0,0 +1,22 @@ + +#ifndef DATETIME_H +#define DATETIME_H + +#include <QObject> + +class DateTime : public QObject +{ +Q_OBJECT + +public: + DateTime(); + virtual ~DateTime(); + +protected: + virtual void timerEvent( QTimerEvent * ); + +private: + Q_SIGNAL void changed( QString now ); +}; + +#endif |