From 646b21ac2eb3b0c73826936bf4dba9eac97a34a0 Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Mon, 26 Apr 2010 12:45:48 +0200 Subject: Mac: improve mac native events autotest API Make it possible to add a delay between two events --- tests/auto/macnativeevents/nativeeventlist.cpp | 5 ----- tests/auto/macnativeevents/nativeeventlist.h | 1 - 2 files changed, 6 deletions(-) diff --git a/tests/auto/macnativeevents/nativeeventlist.cpp b/tests/auto/macnativeevents/nativeeventlist.cpp index d5d7b95..1a90ee0 100644 --- a/tests/auto/macnativeevents/nativeeventlist.cpp +++ b/tests/auto/macnativeevents/nativeeventlist.cpp @@ -88,11 +88,6 @@ void NativeEventList::append(int waitMs, QNativeEvent *event) eventList.append(QPair(waitMs, event)); } -void NativeEventList::append(int waitMs) -{ - eventList.append(QPair(waitMs, 0)); -} - void NativeEventList::play(Playback playback) { waitNextEvent(); diff --git a/tests/auto/macnativeevents/nativeeventlist.h b/tests/auto/macnativeevents/nativeeventlist.h index 688665d..efcca43 100644 --- a/tests/auto/macnativeevents/nativeeventlist.h +++ b/tests/auto/macnativeevents/nativeeventlist.h @@ -57,7 +57,6 @@ class NativeEventList : public QObject void append(QNativeEvent *event); void append(int waitMs, QNativeEvent *event = 0); - void append(int waitMs); void play(Playback playback = WaitUntilFinished); void stop(); -- cgit v0.12