diff options
Diffstat (limited to 'compat/qt-signal.hpp')
-rw-r--r-- | compat/qt-signal.hpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/compat/qt-signal.hpp b/compat/qt-signal.hpp index f74de642..92ab7e6f 100644 --- a/compat/qt-signal.hpp +++ b/compat/qt-signal.hpp @@ -3,9 +3,10 @@ // this is to avoid dealing with QMetaObject for the time being -sh 20190203 #include "export.hpp" -namespace options { class slider_value; } #include <QObject> #include <QList> +#include <QPointF> +#include <QVariant> namespace _qt_sig_impl { @@ -52,14 +53,11 @@ template<> struct sig<void> { using t = sig_void; }; template<> struct sig<type> { using t = sig_##type; }; \ template<> struct sig<qlist##type> { using t = qlist##type; } -using slider_value = options::slider_value; - OTR_GENERATE_SIGNAL(int); OTR_GENERATE_SIGNAL(double); OTR_GENERATE_SIGNAL(float); OTR_GENERATE_SIGNAL(bool); OTR_GENERATE_SIGNAL(QString); -OTR_GENERATE_SIGNAL(slider_value); OTR_GENERATE_SIGNAL(QPointF); OTR_GENERATE_SIGNAL(QVariant); @@ -69,4 +67,3 @@ OTR_GENERATE_SIGNAL(QVariant); #undef OTR_GENERATE_SIGNAL template<typename t> using qt_signal = typename _qt_sig_impl::sig<t>::t; - |