summaryrefslogtreecommitdiffhomepage
path: root/compat/qt-signal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/qt-signal.cpp')
-rw-r--r--compat/qt-signal.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/compat/qt-signal.cpp b/compat/qt-signal.cpp
new file mode 100644
index 00000000..8c23866b
--- /dev/null
+++ b/compat/qt-signal.cpp
@@ -0,0 +1,7 @@
+#define OTR_GENERATE_SIGNAL3(type) void sig_##type::operator()(const type& x) const { notify(x); }
+#include "qt-signal.hpp"
+namespace _qt_sig_impl {
+
+sig_void::sig_void(QObject* parent) : QObject(parent) {}
+
+}