diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2012-01-16 12:02:14 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-18 12:51:18 +0100 |
commit | 44cf5592acf97ecb2c83e9d7451de08b97498036 (patch) | |
tree | a9127444b50906e10f036edc718bdb8b74feaf80 /tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp | |
parent | 4f25e66f7a7269af0002bfe4b1c5caa941c6ee64 (diff) |
Replace Q_WS_MAC with Q_OS_MAC in tests/auto/gui
Change-Id: I6d69ac96597f27575dd40e4c80c982f06fa88f51
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
Diffstat (limited to 'tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp')
-rw-r--r-- | tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp b/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp index fcba0958e7..d46e04956e 100644 --- a/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp +++ b/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp @@ -46,7 +46,7 @@ #include <QtCore/QDir> #include <QtGui/QGuiApplication> #include <QtGui/QClipboard> -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC #include <Carbon/Carbon.h> #endif @@ -74,7 +74,7 @@ void tst_QClipboard::init() bool tst_QClipboard::nativeClipboardWorking() { -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC PasteboardRef pasteboard; OSStatus status = PasteboardCreate(0, &pasteboard); if (status == noErr) @@ -295,7 +295,7 @@ void tst_QClipboard::setMimeData() QCOMPARE(spySelection.count(), 1); QCOMPARE(spyData.count(), 1); QCOMPARE(spyFindBuffer.count(), 0); -#elif defined(Q_WS_MAC) +#elif defined(Q_OS_MAC) QCOMPARE(spySelection.count(), 0); QCOMPARE(spyData.count(), 1); QCOMPARE(spyFindBuffer.count(), 1); @@ -328,7 +328,7 @@ void tst_QClipboard::setMimeData() QCOMPARE(spySelection.count(), 1); QCOMPARE(spyData.count(), 1); QCOMPARE(spyFindBuffer.count(), 0); -#elif defined(Q_WS_MAC) +#elif defined(Q_OS_MAC) QCOMPARE(spySelection.count(), 0); QCOMPARE(spyData.count(), 1); QCOMPARE(spyFindBuffer.count(), 1); |