diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2012-02-15 19:15:31 +0200 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2012-02-15 16:28:01 +0200 |
| commit | 274faaa8fe57cbdf23e656d9d63b17fc81398d0a (patch) | |
| tree | 34fe279ffc0d7ffc26b796f161afb8f7c1873dc3 /sigslot.h | |
| parent | 432a00b9038dd26e268a3918631cb469e6ad377e (diff) | |
| download | sigslot-274faaa8fe57cbdf23e656d9d63b17fc81398d0a.tar.gz sigslot-274faaa8fe57cbdf23e656d9d63b17fc81398d0a.zip | |
Define SIGSLOT_EMIT if it hasn't been defined
Diffstat (limited to 'sigslot.h')
| -rw-r--r-- | sigslot.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -101,7 +101,13 @@ # endif #endif -#define SIGSLOT_EMIT broadcast +#ifndef SIGSLOT_EMIT +# ifdef QT_VERSION +# define SIGSLOT_EMIT broadcast +# else +# define SIGSLOT_EMIT emit +# endif +#endif namespace sigslot { |
