summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-01-09 11:49:43 +0100
committerSergio Ahumada <sergio.ahumada@digia.com>2013-01-09 11:49:47 +0100
commit63f24f6ba8417e90294a1a90d01a3c3de80b7af4 (patch)
tree27b5788a3e7c1e94b484e642142b1be8ff8da318 /src/gui
parentae2359d49e171c61450b17b1eb0e0dd7a20c7ca4 (diff)
parent05659223bf02c8bac0463fe1e7a9364ef5677b75 (diff)
Merge branch 'stable' into dev
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/accessible/qaccessible.h4
-rw-r--r--src/gui/image/qimage.h2
-rw-r--r--src/gui/kernel/qkeysequence.h2
-rw-r--r--src/gui/painting/painting.pri2
-rw-r--r--src/gui/painting/qdrawhelper_mips_dsp_asm.S2
-rw-r--r--src/gui/painting/qdrawhelper_mips_dsp_p.h11
-rw-r--r--src/gui/painting/qdrawhelper_mips_dspr2_asm.S2
-rw-r--r--src/gui/painting/qpathsimplifier.cpp3
-rw-r--r--src/gui/painting/qt_mips_asm_dsp_p.h (renamed from src/gui/painting/qt_mips_asm_dsp.h)11
9 files changed, 31 insertions, 8 deletions
diff --git a/src/gui/accessible/qaccessible.h b/src/gui/accessible/qaccessible.h
index 5f61634ba2..a3014cb858 100644
--- a/src/gui/accessible/qaccessible.h
+++ b/src/gui/accessible/qaccessible.h
@@ -64,7 +64,7 @@ class QWindow;
// We need to inherit QObject to expose the enums to QML.
class Q_GUI_EXPORT QAccessible
-#ifndef qdoc
+#ifndef Q_QDOC
:public QObject
#endif
{
@@ -269,7 +269,7 @@ public:
StaticText = 0x00000029,
EditableText = 0x0000002A, // Editable, selectable, etc.
Button = 0x0000002B,
-#ifndef qdoc
+#ifndef Q_QDOC
PushButton = Button, // deprecated
#endif
CheckBox = 0x0000002C,
diff --git a/src/gui/image/qimage.h b/src/gui/image/qimage.h
index 304d54a378..454acddd5a 100644
--- a/src/gui/image/qimage.h
+++ b/src/gui/image/qimage.h
@@ -122,7 +122,7 @@ public:
Format_Grayscale2,
Format_Grayscale2LSB
#endif
-#ifndef qdoc
+#ifndef Q_QDOC
NImageFormats
#endif
};
diff --git a/src/gui/kernel/qkeysequence.h b/src/gui/kernel/qkeysequence.h
index 2bb0c73119..2b23f34dcb 100644
--- a/src/gui/kernel/qkeysequence.h
+++ b/src/gui/kernel/qkeysequence.h
@@ -61,7 +61,7 @@ Q_GUI_EXPORT QDataStream &operator<<(QDataStream &in, const QKeySequence &ks);
Q_GUI_EXPORT QDataStream &operator>>(QDataStream &out, QKeySequence &ks);
#endif
-#ifdef qdoc
+#ifdef Q_QDOC
void qt_set_sequence_auto_mnemonic(bool b);
#endif
diff --git a/src/gui/painting/painting.pri b/src/gui/painting/painting.pri
index cace864906..47ba27d72a 100644
--- a/src/gui/painting/painting.pri
+++ b/src/gui/painting/painting.pri
@@ -96,7 +96,7 @@ NEON_HEADERS += painting/qdrawhelper_neon_p.h
NEON_ASM += ../3rdparty/pixman/pixman-arm-neon-asm.S painting/qdrawhelper_neon_asm.S
MIPS_DSP_SOURCES += painting/qdrawhelper_mips_dsp.cpp
-MIPS_DSP_HEADERS += painting/qdrawhelper_mips_dsp_p.h painting/qt_mips_asm_dsp.h
+MIPS_DSP_HEADERS += painting/qdrawhelper_mips_dsp_p.h painting/qt_mips_asm_dsp_p.h
MIPS_DSP_ASM += painting/qdrawhelper_mips_dsp_asm.S
MIPS_DSPR2_ASM += painting/qdrawhelper_mips_dspr2_asm.S
diff --git a/src/gui/painting/qdrawhelper_mips_dsp_asm.S b/src/gui/painting/qdrawhelper_mips_dsp_asm.S
index d3e1a88e86..64fc635970 100644
--- a/src/gui/painting/qdrawhelper_mips_dsp_asm.S
+++ b/src/gui/painting/qdrawhelper_mips_dsp_asm.S
@@ -39,7 +39,7 @@
**
****************************************************************************/
-#include "qt_mips_asm_dsp.h"
+#include "qt_mips_asm_dsp_p.h"
LEAF_MIPS_DSP(destfetchARGB32_asm_mips_dsp)
/*
diff --git a/src/gui/painting/qdrawhelper_mips_dsp_p.h b/src/gui/painting/qdrawhelper_mips_dsp_p.h
index 2861abebea..2df7d4920a 100644
--- a/src/gui/painting/qdrawhelper_mips_dsp_p.h
+++ b/src/gui/painting/qdrawhelper_mips_dsp_p.h
@@ -42,6 +42,17 @@
#ifndef QDRAWHELPER_MIPS_DSP_P_H
#define QDRAWHELPER_MIPS_DSP_P_H
+//
+// W A R N I N G
+// -------------
+//
+// This file is not part of the Qt API. It exists purely as an
+// implementation detail. This header file may change from version to
+// version without notice, or even be removed.
+//
+// We mean it.
+//
+
#include <private/qdrawhelper_p.h>
QT_BEGIN_NAMESPACE
diff --git a/src/gui/painting/qdrawhelper_mips_dspr2_asm.S b/src/gui/painting/qdrawhelper_mips_dspr2_asm.S
index 1539b17e64..ec220732be 100644
--- a/src/gui/painting/qdrawhelper_mips_dspr2_asm.S
+++ b/src/gui/painting/qdrawhelper_mips_dspr2_asm.S
@@ -39,7 +39,7 @@
**
****************************************************************************/
-#include "qt_mips_asm_dsp.h"
+#include "qt_mips_asm_dsp_p.h"
LEAF_MIPS_DSPR2(qConvertRgb16To32_asm_mips_dspr2)
/*
diff --git a/src/gui/painting/qpathsimplifier.cpp b/src/gui/painting/qpathsimplifier.cpp
index 01964b8dbe..66bdf3cdbb 100644
--- a/src/gui/painting/qpathsimplifier.cpp
+++ b/src/gui/painting/qpathsimplifier.cpp
@@ -57,7 +57,6 @@ QT_BEGIN_NAMESPACE
#define Q_TRIANGULATE_END_OF_POLYGON quint32(-1)
-namespace {
//============================================================================//
// QPoint //
@@ -83,6 +82,8 @@ inline bool operator >= (const QPoint &a, const QPoint &b)
return !(a < b);
}
+namespace {
+
inline int cross(const QPoint &u, const QPoint &v)
{
return u.x() * v.y() - u.y() * v.x();
diff --git a/src/gui/painting/qt_mips_asm_dsp.h b/src/gui/painting/qt_mips_asm_dsp_p.h
index c2fd234d08..1b78eaf52c 100644
--- a/src/gui/painting/qt_mips_asm_dsp.h
+++ b/src/gui/painting/qt_mips_asm_dsp_p.h
@@ -42,6 +42,17 @@
#ifndef QT_MIPS_ASM_DSP_H
#define QT_MIPS_ASM_DSP_H
+//
+// W A R N I N G
+// -------------
+//
+// This file is not part of the Qt API. It exists purely as an
+// implementation detail. This header file may change from version to
+// version without notice, or even be removed.
+//
+// We mean it.
+//
+
#if 0
#pragma qt_sync_stop_processing
#endif