summaryrefslogtreecommitdiffstats
path: root/src/gui/dtmfform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dtmfform.h')
-rw-r--r--src/gui/dtmfform.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/gui/dtmfform.h b/src/gui/dtmfform.h
new file mode 100644
index 0000000..a9c6b45
--- /dev/null
+++ b/src/gui/dtmfform.h
@@ -0,0 +1,39 @@
+#ifndef DTMFFORM_H
+#define DTMFFORM_H
+
+#include <QDialog>
+#include <QKeyEvent>
+#include "ui_dtmfform.h"
+
+class DtmfForm : public QDialog, private Ui::DtmfForm
+{
+ Q_OBJECT
+
+public:
+ explicit DtmfForm(QWidget *parent = 0);
+ ~DtmfForm();
+
+public slots:
+ void dtmf1();
+ void dtmf2();
+ void dtmf3();
+ void dtmf4();
+ void dtmf5();
+ void dtmf6();
+ void dtmf7();
+ void dtmf8();
+ void dtmf9();
+ void dtmf0();
+ void dtmfStar();
+ void dtmfPound();
+ void dtmfA();
+ void dtmfB();
+ void dtmfC();
+ void dtmfD();
+ void keyPressEvent(QKeyEvent* e);
+
+signals:
+ void digits(const QString&);
+};
+
+#endif // DTMFFORM_H