QTfrontend/ui/widget/qpushbuttonwithsound.h
author nemo
Sat, 02 Jun 2012 16:25:13 -0400
changeset 7165 aad1aea05f1e
parent 6700 e04da46ee43c
child 7793 3c21da93db9f
permissions -rw-r--r--
add onGameTick20 to basic training, extend laser sight out way more (it was visible at top when completely zoomed out), move call of new turn to after AfterSwitchHedgehog to avoid lua issues in onNewTurn - if this causes problems, lua can do delayed actions in onGameTick

#ifndef QPUSHBUTTONWITHSOUND_H
#define QPUSHBUTTONWITHSOUND_H

#include <QPushButton>

class QPushButtonWithSound : public QPushButton
{
        Q_OBJECT
    public:
        explicit QPushButtonWithSound(QWidget *parent = 0);
        bool isSoundEnabled;
    signals:

    public slots:
    private slots:
        void buttonClicked();

};

#endif // QPUSHBUTTONWITHSOUND_H