1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-22 18:22:10 +02:00
falkonOfficial/src/tools/buttonbox.h

27 lines
420 B
C
Raw Normal View History

#ifndef BUTTONBOX_H
#define BUTTONBOX_H
#include <QDialogButtonBox>
#include <QAbstractButton>
class ButtonBox : public QDialogButtonBox
{
Q_OBJECT
public:
explicit ButtonBox(QWidget *parent = 0);
ButtonRole clickedButtonRole();
signals:
public slots:
private slots:
void buttonClicked(QAbstractButton* button);
private:
QDialogButtonBox::ButtonRole m_clickedButton;
};
#endif // BUTTONBOX_H