diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-28 00:28:18 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-28 00:28:18 +0200 |
commit | 13ff773a47552e9dac2d57ba810e01ebcaa64b53 (patch) | |
tree | 8f1a2d8d81fee884c5feba83ad6d14f57e20a387 /options/slider.hpp | |
parent | d317b5caaf433ae12907663db3a7e60c5082a0d1 (diff) |
options/qt: cleanup metatype definition
Also note Koenig lookup works
Diffstat (limited to 'options/slider.hpp')
-rw-r--r-- | options/slider.hpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/options/slider.hpp b/options/slider.hpp index f3ba44f8..7570ace0 100644 --- a/options/slider.hpp +++ b/options/slider.hpp @@ -10,8 +10,8 @@ #include "export.hpp" #include "compat/macros.hpp" -#include <QMetaType> #include <QDataStream> +#include <QMetaType> #include <QDebug> namespace options @@ -49,13 +49,8 @@ namespace options slider_value update_from_slider(int pos, int q_min, int q_max) const; int to_slider_pos(int q_min, int q_max) const; }; -} - -QT_BEGIN_NAMESPACE - -QDebug operator << (QDebug dbg, const options::slider_value& val); -QDataStream& operator << (QDataStream& out, const options::slider_value& v); -QDataStream& operator >> (QDataStream& in, options::slider_value& v); - -QT_END_NAMESPACE + QDebug operator << (QDebug dbg, const options::slider_value& val); + QDataStream& operator << (QDataStream& out, const options::slider_value& v); + QDataStream& operator >> (QDataStream& in, options::slider_value& v); +} |