![]() |
Mixxx
|
00001 /*************************************************************************** 00002 mixxxevent.h - enum of custom Qt events 00003 ------------------- 00004 begin : Wed Feb 25 2009 00005 copyright : (C) 2009 by nick@kousu.ca 00006 ***************************************************************************/ 00007 00008 /*************************************************************************** 00009 * * 00010 * This program is free software; you can redistribute it and/or modify * 00011 * it under the terms of the GNU General Public License as published by * 00012 * the Free Software Foundation; either version 2 of the License, or * 00013 * (at your option) any later version. * 00014 * * 00015 ***************************************************************************/ 00016 00017 00018 /*class MixxxEvent : QEvent 00019 { 00020 00021 enum Type 00022 { 00023 Control = QEvent::User+1, 00024 Midi, 00025 Reader, 00026 }; 00027 00028 00029 }*/ 00030 00031 //^ meh, take the short route (for now): 00032 #define MIXXXEVENT_CONTROL ((QEvent::Type)(QEvent::User+1)) 00033 #define MIXXXEVENT_MIDI ((QEvent::Type)(QEvent::User+2)) 00034 #define MIXXXEVENT_READER ((QEvent::Type)(QEvent::User+3)) 00035