summaryrefslogtreecommitdiff
path: root/src/ui/fqterm_tool_button.h
blob: e2b927660d38d903180d57ef3ba305a1b1fe9073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// SPDX-License-Identifier: GPL-2.0-or-later

#ifndef FQTERM_TOOL_BUTTON_H
#define FQTERM_TOOL_BUTTON_H

#include <QToolButton>

namespace FQTerm {

class FQTermToolButton: public QToolButton {
  Q_OBJECT;
 public:
  FQTermToolButton(QWidget *parent_, int id, QString name = "");
  ~FQTermToolButton();

 signals:
  void buttonClicked(int);

 protected slots:
  void slotClicked();

 protected:
  int id_;
};

}  // namespace FQTerm

#endif // FQTERM_TOOL_BUTTON_H