* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "eventmanager.h"
***************************************************************************/
#include "eventmanager.h"
int num = methodSignature.right(3).toUInt();
if (num > 0) {
QString numericSig = methodSignature.left(methodSignature.length() - 3) + "Numeric";
int num = methodSignature.right(3).toUInt();
if (num > 0) {
QString numericSig = methodSignature.left(methodSignature.length() - 3) + "Numeric";
void EventManager::registerObject(QObject *object, Priority priority, const QString &methodPrefix, const QString &filterPrefix)
{
for (int i = object->metaObject()->methodOffset(); i < object->metaObject()->methodCount(); i++) {
void EventManager::registerObject(QObject *object, Priority priority, const QString &methodPrefix, const QString &filterPrefix)
{
for (int i = object->metaObject()->methodOffset(); i < object->metaObject()->methodCount(); i++) {
- QString methodSignature(object->metaObject()->method(i).signature());
+#if QT_VERSION >= 0x050000
+ QString methodSignature = object->metaObject()->method(i).methodSignature();
+#else
+ QString methodSignature = object->metaObject()->method(i).signature();
+#endif