summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-04-26 10:45:48 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-04-27 07:06:45 (GMT)
commit646b21ac2eb3b0c73826936bf4dba9eac97a34a0 (patch)
tree7447d39c7d50306156501d12e93426e52bd7084e /tests/auto
parent88b2bf18c558d0e2f8a9268802f277212f17e61e (diff)
downloadQt-646b21ac2eb3b0c73826936bf4dba9eac97a34a0.zip
Qt-646b21ac2eb3b0c73826936bf4dba9eac97a34a0.tar.gz
Qt-646b21ac2eb3b0c73826936bf4dba9eac97a34a0.tar.bz2
Mac: improve mac native events autotest API
Make it possible to add a delay between two events
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/macnativeevents/nativeeventlist.cpp5
-rw-r--r--tests/auto/macnativeevents/nativeeventlist.h1
2 files changed, 0 insertions, 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<int, QNativeEvent *>(waitMs, event));
}
-void NativeEventList::append(int waitMs)
-{
- eventList.append(QPair<int, QNativeEvent *>(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();