QTfrontend/ui/widget/qpushbuttonwithsound.h
author nemo
Sun, 10 Jun 2012 14:36:40 -0400
changeset 7218 9ecd5bc9810b
parent 6700 e04da46ee43c
child 7793 3c21da93db9f
permissions -rw-r--r--
Ensure that Clan ammo always takes precedence over Per Hog Ammo in the flags. It'd be best for the user sake if these buttons acted more like radio buttons.

#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