QTfrontend/ui/widget/qpushbuttonwithsound.h
author bovi
Sun, 15 Jan 2012 22:57:49 +0100
changeset 6572 0d0af531c1c7
child 6577 9e49e6a8585b
permissions -rw-r--r--
GCI task: ping
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6572
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
     1
#ifndef QPUSHBUTTONWITHSOUND_H
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
     2
#define QPUSHBUTTONWITHSOUND_H
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
     3
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
     4
#include <QPushButton>
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
     5
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
     6
class QPushButtonWithSound : public QPushButton
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
     7
{
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
     8
    Q_OBJECT
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
     9
public:
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
    10
    explicit QPushButtonWithSound(QWidget *parent = 0);
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
    11
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
    12
signals:
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
    13
    
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
    14
public slots:
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
    15
private slots:
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
    16
    void buttonClicked();
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
    17
    
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
    18
};
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
    19
0d0af531c1c7 GCI task: ping
bovi
parents:
diff changeset
    20
#endif // QPUSHBUTTONWITHSOUND_H