QTfrontend/ui/widget/qpushbuttonwithsound.h
author nemo
Mon, 30 Jan 2012 17:32:18 -0500
changeset 6616 f77bb02b669f
parent 6577 9e49e6a8585b
child 6700 e04da46ee43c
permissions -rw-r--r--
astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
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
{
6616
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6577
diff changeset
     8
        Q_OBJECT
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6577
diff changeset
     9
    public:
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6577
diff changeset
    10
        explicit QPushButtonWithSound(QWidget *parent = 0);
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6577
diff changeset
    11
        bool isSoundEnabled;
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6577
diff changeset
    12
    signals:
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6577
diff changeset
    13
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6577
diff changeset
    14
    public slots:
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6577
diff changeset
    15
    private slots:
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6577
diff changeset
    16
        void buttonClicked();
f77bb02b669f astyle -C -S -L -N --style=allman --recursive "QTfrontend/*.cpp" "QTfrontend/*.h"
nemo
parents: 6577
diff changeset
    17
6572
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