summaryrefslogtreecommitdiffstats
path: root/src/gui/dtmfform.h
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2015-04-16 14:47:27 +0200
committerMichal Kubecek <mkubecek@suse.cz>2015-04-16 14:47:27 +0200
commit77446a6745c112c8a0ce5b1ad66e365bf227cb38 (patch)
treef244a254be66af0a8e1a919e8fdce1ff2eb607a8 /src/gui/dtmfform.h
parent2118caeaca6fd26c7b323352f3a9bd735cdca4b1 (diff)
downloadtwinkle-77446a6745c112c8a0ce5b1ad66e365bf227cb38.tar
twinkle-77446a6745c112c8a0ce5b1ad66e365bf227cb38.tar.gz
twinkle-77446a6745c112c8a0ce5b1ad66e365bf227cb38.tar.lz
twinkle-77446a6745c112c8a0ce5b1ad66e365bf227cb38.tar.xz
twinkle-77446a6745c112c8a0ce5b1ad66e365bf227cb38.zip
automatic conversion of dtmfform.ui
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