QTfrontend/ui/widget/qpushbuttonwithsound.h
changeset 6616 f77bb02b669f
parent 6577 9e49e6a8585b
child 6700 e04da46ee43c
equal deleted inserted replaced
6615:65602f1ef0f8 6616:f77bb02b669f
     3 
     3 
     4 #include <QPushButton>
     4 #include <QPushButton>
     5 
     5 
     6 class QPushButtonWithSound : public QPushButton
     6 class QPushButtonWithSound : public QPushButton
     7 {
     7 {
     8     Q_OBJECT
     8         Q_OBJECT
     9 public:
     9     public:
    10     explicit QPushButtonWithSound(QWidget *parent = 0);
    10         explicit QPushButtonWithSound(QWidget *parent = 0);
    11     bool isSoundEnabled;
    11         bool isSoundEnabled;
    12 signals:
    12     signals:
    13     
    13 
    14 public slots:
    14     public slots:
    15 private slots:
    15     private slots:
    16     void buttonClicked();
    16         void buttonClicked();
    17     
    17 
    18 };
    18 };
    19 
    19 
    20 #endif // QPUSHBUTTONWITHSOUND_H
    20 #endif // QPUSHBUTTONWITHSOUND_H