QSlowPushButton.hpp

00001 #include <qpushbutton.h>
00002 #include <time.h>
00003 
00006 class QSlowPushButton : public QPushButton {
00007    Q_OBJECT
00008 public:
00009    QSlowPushButton ( int timeSec, const QString & text, QWidget * parent = 0, const char * name = 0) ;
00011    int delay() const;
00013    void delay(int delay);
00014 private:
00015    int delay_;
00016    time_t lastPressed_;
00017 signals:
00018    void slowClicked();   
00019 private slots:
00020    void localPressed();
00021    void localReleased();
00022 };

Generated on Sat Oct 27 09:21:03 2007 for QastroCam by  doxygen 1.5.1