blob: 6db60d374c75476d0627d5374d5239bc0683d7a2 (
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
|
// Copyright 2005-2016 The Mumble Developers. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
#ifndef MUMBLE_MUMBLE_PTTBUTTONWIDGET_H_
#define MUMBLE_MUMBLE_PTTBUTTONWIDGET_H_
#include "ui_PTTButtonWidget.h"
class PTTButtonWidget : public QWidget, public Ui::qwPTTButtonWidget {
Q_OBJECT
Q_DISABLE_COPY(PTTButtonWidget)
protected:
void closeEvent(QCloseEvent *e) Q_DECL_OVERRIDE;
public:
PTTButtonWidget(QWidget *p = 0);
public slots:
void on_qpbPushToTalk_pressed();
void on_qpbPushToTalk_released();
signals:
void triggered(bool checked, QVariant);
};
#endif // PTTBUTTONWIDGET_H_
|