#define QT_NO_STYLE_S60
#define QT_NO_PHONON
#define QT_NO_WIN_ACTIVEQT
-#define QT_NO_QWS_QPF2
#define QT_NO_STYLE_WINDOWSMOBILE
#define QT_NO_DIRECTPAINTER
#define QT_NO_COP
#define QT_NO_BLITTABLE
#define QT_NO_PICTUREIO
#define QT_NO_SOFTKEYMANAGER
+#define QT_NO_SXE
+#define QT_NO_QWS_QPF2
+#define QT_NO_QWS_INPUTMETHODS
+#define QT_NO_QWSEMBEDWIDGET
+#define QT_NO_QWS_CURSOR
+#define QT_NO_QWS_DECORATION_DEFAULT
+#define QT_NO_QWS_DECORATION_STYLED
+#define QT_NO_QWS_DECORATION_WINDOWS
+#define QT_NO_QWS_MANAGER
+#define QT_NO_QWS_KEYBOARD
+#define QT_NO_QWS_MOUSE
+#define QT_NO_QWS_MOUSE_AUTO
+#define QT_NO_QWS_MOUSE_MANUAL
+#define QT_NO_QWS_MULTIPROCESS
+#define QT_NO_QWS_SOUNDSERVER
+#define QT_NO_QWS_PROPERTIES
+#define QT_NO_QWS_PROXYSCREEN
+#define QT_NO_QWS_DYNAMICSCREENTRANSFORMATION
+#define QT_NO_QWS_TRANSFORMED
+#define QT_NO_QWS_VNC
/* Qt build specs */
#ifndef QT_EDITION
/* Internationalization */
#cmakedefine QT_NO_BIG_CODECS
-#cmakedefine QT_NO_QWS_INPUTMETHODS
#cmakedefine QT_NO_TEXTCODEC
#cmakedefine QT_NO_CODECS
#cmakedefine QT_NO_TEXTCODECPLUGIN
#cmakedefine QT_NO_PRINTER
#cmakedefine QT_NO_CUPS
-/* Qt for Embedded Linux */
-#cmakedefine QT_NO_QWSEMBEDWIDGET
-#cmakedefine QT_NO_QWS_CURSOR
-#cmakedefine QT_NO_QWS_DECORATION_DEFAULT
-#cmakedefine QT_NO_QWS_DECORATION_STYLED
-#cmakedefine QT_NO_QWS_DECORATION_WINDOWS
-#cmakedefine QT_NO_QWS_MANAGER
-#cmakedefine QT_NO_QWS_KEYBOARD
-#cmakedefine QT_NO_QWS_MOUSE
-#cmakedefine QT_NO_QWS_MOUSE_AUTO
-#cmakedefine QT_NO_QWS_MOUSE_MANUAL
-#cmakedefine QT_NO_QWS_MULTIPROCESS
-#cmakedefine QT_NO_QWS_SOUNDSERVER
-#cmakedefine QT_NO_SXE
-#cmakedefine QT_NO_QWS_PROPERTIES
-#cmakedefine QT_NO_QWS_PROXYSCREEN
-#cmakedefine QT_NO_QWS_DYNAMICSCREENTRANSFORMATION
-
/* SVG */
#cmakedefine QT_NO_SVG
#cmakedefine QT_NO_GRAPHICSSVGITEM
// Universally Unique Identifier Convertion
//#define QT_NO_QUUID_STRING
-// QWSEmbedWidget
-//#define QT_NO_QWSEMBEDWIDGET
-
-// Decoration
-//#define QT_NO_QWS_DECORATION_DEFAULT
-
-// Keyboard
-//#define QT_NO_QWS_KEYBOARD
-
-// Mouse
-//#define QT_NO_QWS_MOUSE
-
-// Mouse (Auto)
-//#define QT_NO_QWS_MOUSE_AUTO
-
-// Mouse (Non-Auto)
-//#define QT_NO_QWS_MOUSE_MANUAL
-
-// Multi-Process
-//#define QT_NO_QWS_MULTIPROCESS
-
-// Properties
-//#define QT_NO_QWS_PROPERTIES
-
-// QProxyScreen
-//#define QT_NO_QWS_PROXYSCREEN
-
// Raster Paint Engine callback functions
//#define QT_NO_RASTERCALLBACKS
#define QT_NO_BUTTONGROUP
#endif
-// QClipboard
-#if !defined(QT_NO_CLIPBOARD) && (defined(QT_NO_QWS_PROPERTIES))
-#define QT_NO_CLIPBOARD
-#endif
-
// Codecs
#if !defined(QT_NO_CODECS) && (defined(QT_NO_TEXTCODEC))
#define QT_NO_CODECS
#define QT_NO_PROGRESSDIALOG
#endif
-// Cursor
-#if !defined(QT_NO_QWS_CURSOR) && (defined(QT_NO_CURSOR))
-#define QT_NO_QWS_CURSOR
-#endif
-
-// Decoration (Styled)
-#if !defined(QT_NO_QWS_DECORATION_STYLED) && (defined(QT_NO_QWS_DECORATION_DEFAULT))
-#define QT_NO_QWS_DECORATION_STYLED
-#endif
-
-// Decoration (Windows Style)
-#if !defined(QT_NO_QWS_DECORATION_WINDOWS) && (defined(QT_NO_QWS_DECORATION_DEFAULT))
-#define QT_NO_QWS_DECORATION_WINDOWS
-#endif
-
-// Dynamic screen transformation.
-#if !defined(QT_NO_QWS_DYNAMICSCREENTRANSFORMATION) && (defined(QT_NO_QWS_PROXYSCREEN))
-#define QT_NO_QWS_DYNAMICSCREENTRANSFORMATION
-#endif
-
-// Manager
-#if !defined(QT_NO_QWS_MANAGER) && (defined(QT_NO_QWS_DECORATION_DEFAULT))
-#define QT_NO_QWS_MANAGER
-#endif
-
-// QVncTransformed
-#if !defined(QT_NO_QWS_TRANSFORMED) && (defined(QT_NO_QWS_PROXYSCREEN))
-#define QT_NO_QWS_TRANSFORMED
-#endif
-
-// QVncScreen
-#if !defined(QT_NO_QWS_VNC) && (defined(QT_NO_QWS_PROXYSCREEN))
-#define QT_NO_QWS_VNC
-#endif
-
// QScrollBar
#if !defined(QT_NO_SCROLLBAR) && (defined(QT_NO_SLIDER))
#define QT_NO_SCROLLBAR
#define QT_NO_STYLE_WINDOWSXP
#endif
-// SXE
-#if !defined(QT_NO_SXE) && (defined(QT_NO_QWS_MULTIPROCESS))
-#define QT_NO_SXE
-#endif
-
// QToolButton
#if !defined(QT_NO_TOOLBUTTON) && (defined(QT_NO_ACTION))
#define QT_NO_TOOLBUTTON
#endif
// Drag and drop
-#if !defined(QT_NO_DRAGANDDROP) && (defined(QT_NO_QWS_PROPERTIES) || defined(QT_NO_IMAGEFORMAT_XPM))
+#if !defined(QT_NO_DRAGANDDROP) && defined(QT_NO_IMAGEFORMAT_XPM)
#define QT_NO_DRAGANDDROP
#endif
#define QT_NO_PRINTER
#endif
-// QWSInputMethod
-#if !defined(QT_NO_QWS_INPUTMETHODS) && (defined(QT_NO_IM))
-#define QT_NO_QWS_INPUTMETHODS
-#endif
-
// QSpinBox
#if !defined(QT_NO_SPINBOX) && (defined(QT_NO_SPINWIDGET) || defined(QT_NO_LINEEDIT) || defined(QT_NO_VALIDATOR))
#define QT_NO_SPINBOX
#define QT_NO_MENUBAR
#endif
-// Sound Server
-#if !defined(QT_NO_QWS_SOUNDSERVER) && (defined(QT_NO_SOUND) || defined(QT_NO_HOSTINFO) || defined(QT_NO_QWS_MULTIPROCESS))
-#define QT_NO_QWS_SOUNDSERVER
-#endif
-
// QSvgGenerator
#if !defined(QT_NO_SVGGENERATOR) && (defined(QT_NO_SVG))
#define QT_NO_SVGGENERATOR
#define QT_NO_XIM
#endif
-#if !defined(QT_NO_QWS_INPUTMETHODS) && defined(QT_NO_IM)
-#define QT_NO_QWS_INPUTMETHODS
-#endif
-
#endif
!WINDOWS - ...
!WINDOWSCE - ...
X86_64 - ...
- !SYMBIAN - ...
SH - ...
!SH4A - ...
NACL - ...
The operating system, must be one of: (Q_OS_x)
DARWIN - Darwin OS (synonym for Q_OS_MAC)
- SYMBIAN - Symbian
MSDOS - MS-DOS and Windows
OS2 - OS/2
OS2EMX - XFree86 on OS/2 (not PM)
# else
# define Q_OS_DARWIN32
# endif
-#elif defined(__SYMBIAN32__) || defined(SYMBIAN)
-# define Q_OS_SYMBIAN
-# define Q_NO_POSIX_SIGNALS
-# define QT_NO_GETIFADDRS
#elif defined(__CYGWIN__)
# define Q_OS_CYGWIN
#elif defined(MSDOS) || defined(_MSDOS)
HIGHC - MetaWare High C/C++
PGI - Portland Group C++
GHS - Green Hills Optimizing C++ Compilers
- GCCE - GCCE (Symbian GCCE builds)
RVCT - ARM Realview Compiler Suite
- NOKIAX86 - Nokia x86 (Symbian WINSCW builds)
CLANG - C++ front-end for the LLVM compiler
#elif defined(__MWERKS__)
# define Q_CC_MWERKS
-# if defined(__EMU_SYMBIAN_OS__)
-# define Q_CC_NOKIAX86
-# endif
/* "explicit" recognized since 4.0d1 */
#elif defined(_MSC_VER)
#elif defined(__WATCOMC__)
# define Q_CC_WAT
-/* Symbian GCCE */
-#elif defined(__GCCE__)
-# define Q_CC_GCCE
-# define QT_VISIBILITY_AVAILABLE
-# if defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__)
-# define QT_HAVE_ARMV6
-# endif
-
/* ARM Realview Compiler Suite
RVCT compiler also defines __EDG__ and __GNUC__ (if --gnu flag is given),
so check for it before that */
# endif
# define Q_NO_USING_KEYWORD /* ### check "using" status */
-#elif defined(__WINSCW__) && !defined(Q_CC_NOKIAX86)
-# define Q_CC_NOKIAX86
-
#else
# error "Qt has not been tested with this compiler - talk to qt-bugs@trolltech.com"
#endif
MACX - Mac OS X
MAC9 - Mac OS 9
- QWS - Qt for Embedded Linux
WIN32 - Windows
X11 - X Window System
- S60 - Symbian S60
PM - unsupported
WIN16 - unsupported
*/
typedef qint64 qlonglong;
typedef quint64 qulonglong;
-#ifndef QT_POINTER_SIZE
-# if defined(Q_OS_WIN64)
-# define QT_POINTER_SIZE 8
-# elif defined(Q_OS_WIN32) || defined(Q_OS_WINCE)
-# define QT_POINTER_SIZE 4
-# endif
-#endif
-
#define Q_INIT_RESOURCE_EXTERN(name) \
extern int QT_MANGLE_NAMESPACE(qInitResources_ ## name) ();
class QDataStream;
-#ifndef QT_BUILD_KEY
-#define QT_BUILD_KEY "unspecified"
-#endif
-
#if defined(Q_WS_MAC)
# ifndef QMAC_QMENUBAR_NO_EVENT
# define QMAC_QMENUBAR_NO_EVENT
# define QT_NO_LPR
# define QT_NO_SHAREDMEMORY // only POSIX, no SysV and in the end...
# define QT_NO_SYSTEMSEMAPHORE // not needed at all in a flat address space
-# define QT_NO_QWS_MULTIPROCESS // no processes
#endif
# include <QtCore/qfeatures.h>
#endif
#ifndef Q_DECL_EXPORT
-# if defined(Q_OS_WIN) || defined(Q_CC_NOKIAX86) || defined(Q_CC_RVCT)
+# if defined(Q_OS_WIN) || defined(Q_CC_RVCT)
# define Q_DECL_EXPORT __declspec(dllexport)
# elif defined(QT_VISIBILITY_AVAILABLE)
# define Q_DECL_EXPORT __attribute__((visibility("default")))
# endif
#endif
#ifndef Q_DECL_IMPORT
-# if defined(Q_OS_WIN) || defined(Q_CC_NOKIAX86) || defined(Q_CC_RVCT)
+# if defined(Q_OS_WIN) || defined(Q_CC_RVCT)
# define Q_DECL_IMPORT __declspec(dllimport)
# else
# define Q_DECL_IMPORT
Debugging and error handling
*/
-/*
- On Symbian we do not know beforehand whether we are compiling in
- release or debug mode, so check the Symbian build define here,
- and set the QT_NO_DEBUG define appropriately.
-*/
-
#if !defined(QT_NO_DEBUG) && !defined(QT_DEBUG)
# define QT_DEBUG
#endif
# endif
/* The MIPSpro and RVCT compilers postpones macro expansion,
and therefore macros must be in scope when being used. */
-# if !defined(Q_CC_MIPS) && !defined(Q_CC_RVCT) && !defined(Q_CC_NOKIAX86)
+# if !defined(Q_CC_MIPS) && !defined(Q_CC_RVCT)
# undef QT_STRINGIFY2
# undef QT_STRINGIFY
# endif
# endif
#endif
-#define Q_UNREACHABLE() \
- do {\
- Q_ASSERT_X(false, "Q_UNREACHABLE()", "Q_UNREACHABLE was reached");\
- } while (0)
-
-#if 0
-/* tell gcc to use its built-in methods for some common functions */
-#if defined(QT_NO_DEBUG) && defined(Q_CC_GNU)
-# define qMemCopy __builtin_memcpy
-# define qMemSet __builtin_memset
-#endif
-#endif
+#define Q_UNREACHABLE() Q_ASSERT_X(false, "Q_UNREACHABLE()", "Q_UNREACHABLE was reached");
template <typename T> static inline T *qGetPtrHelper(T *ptr) { return ptr; }
template <typename Wrapper> static inline typename Wrapper::pointer qGetPtrHelper(const Wrapper &p) { return p.data(); }
template <typename T, typename Cleanup = QScopedPointerDeleter<T> >
class QScopedPointer
{
-#ifndef Q_CC_NOKIAX86
typedef T *QScopedPointer:: *RestrictedBool;
-#endif
public:
explicit inline QScopedPointer(T *p = 0) : d(p)
{
return !d;
}
-#if defined(Q_CC_NOKIAX86) || defined(Q_QDOC)
- inline operator bool() const
- {
- return isNull() ? 0 : &QScopedPointer::d;
- }
-#else
inline operator RestrictedBool() const
{
return isNull() ? 0 : &QScopedPointer::d;
}
-#endif
inline T *data() const
{
template <class T>
class Basic
{
-#ifndef Q_CC_NOKIAX86
typedef T *Basic:: *RestrictedBool;
-#endif
public:
typedef T Type;
typedef T element_type;
inline T *data() const { return value; }
inline bool isNull() const { return !data(); }
-#ifndef Q_CC_NOKIAX86
inline operator RestrictedBool() const { return isNull() ? 0 : &Basic::value; }
-#else
- inline operator bool() const { return isNull() ? 0 : &Basic::value; }
-#endif
inline bool operator !() const { return isNull(); }
inline T &operator*() const { return *data(); }
inline T *operator->() const { return data(); }
template <class T>
class QWeakPointer
{
-#ifndef Q_CC_NOKIAX86
typedef T *QWeakPointer:: *RestrictedBool;
-#endif
typedef QtSharedPointer::ExternalRefCountData Data;
public:
typedef qptrdiff difference_type;
inline bool isNull() const { return d == 0 || d->strongref == 0 || value == 0; }
-#ifndef Q_CC_NOKIAX86
inline operator RestrictedBool() const { return isNull() ? 0 : &QWeakPointer::value; }
-#else
- inline operator bool() const { return isNull() ? 0 : &QWeakPointer::value; }
-#endif
inline bool operator !() const { return isNull(); }
inline T *data() const { return d == 0 || d->strongref == 0 ? 0 : value; }
mutable QDBusArgumentPrivate *d;
};
-template<typename T> inline T qdbus_cast(const QDBusArgument &arg
-#ifndef Q_QDOC
-, T * = 0
-#endif
- )
+template<typename T> inline T qdbus_cast(const QDBusArgument &arg, T * = 0)
{
T item;
arg >> item;
return item;
}
-template<typename T> inline T qdbus_cast(const QVariant &v
-#ifndef Q_QDOC
-, T * = 0
-#endif
- )
+template<typename T> inline T qdbus_cast(const QVariant &v, T * = 0)
{
int id = v.userType();
if (id == qMetaTypeId<QDBusArgument>())
~QDBusPendingCall();
QDBusPendingCall &operator=(const QDBusPendingCall &other);
-#ifndef Q_QDOC
// pretend that they aren't here
bool isFinished() const;
void waitForFinished();
bool isValid() const;
QDBusError error() const;
QDBusMessage reply() const;
-#endif
static QDBusPendingCall fromError(const QDBusError &error);
static QDBusPendingCall fromCompletedCall(const QDBusMessage &message);
inline int count() const { return Count; }
-#if defined(Q_QDOC) || defined(Q_NO_USING_KEYWORD)
+#if defined(Q_NO_USING_KEYWORD)
inline QVariant argumentAt(int index) const
{ return QDBusPendingReplyData::argumentAt(index); }
#else
#if defined(Q_OS_WIN) && !defined(Q_OS_WINCE)
{
if (!pathElements.at(0).contains(QLatin1String(":"))) {
- // The reason we express it like this instead of with anonymous, temporary
- // variables, is to workaround a compiler crash with Q_CC_NOKIAX86.
QString rootPath = QDir(longPath).rootPath();
pathElements.prepend(rootPath);
}
\sa QGraphicsScene::addItem(), setParentItem()
*/
QGraphicsItem::QGraphicsItem(QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: d_ptr(new QGraphicsItemPrivate)
{
d_ptr->q_ptr = this;
QGraphicsItem's constructor.
*/
QAbstractGraphicsShapeItem::QAbstractGraphicsShapeItem(QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QGraphicsItem(*new QAbstractGraphicsShapeItemPrivate, parent, scene)
{
}
*/
QGraphicsPathItem::QGraphicsPathItem(const QPainterPath &path,
QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QAbstractGraphicsShapeItem(*new QGraphicsPathItemPrivate, parent, scene)
{
if (!path.isEmpty())
\sa QGraphicsScene::addItem()
*/
QGraphicsPathItem::QGraphicsPathItem(QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QAbstractGraphicsShapeItem(*new QGraphicsPathItemPrivate, parent, scene)
{
}
\sa QGraphicsScene::addItem()
*/
QGraphicsRectItem::QGraphicsRectItem(const QRectF &rect, QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QAbstractGraphicsShapeItem(*new QGraphicsRectItemPrivate, parent, scene)
{
setRect(rect);
*/
QGraphicsRectItem::QGraphicsRectItem(qreal x, qreal y, qreal w, qreal h,
QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QAbstractGraphicsShapeItem(*new QGraphicsRectItemPrivate, parent, scene)
{
setRect(QRectF(x, y, w, h));
\sa QGraphicsScene::addItem()
*/
QGraphicsRectItem::QGraphicsRectItem(QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QAbstractGraphicsShapeItem(*new QGraphicsRectItemPrivate, parent, scene)
{
}
\sa QGraphicsScene::addItem()
*/
QGraphicsEllipseItem::QGraphicsEllipseItem(const QRectF &rect, QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QAbstractGraphicsShapeItem(*new QGraphicsEllipseItemPrivate, parent, scene)
{
setRect(rect);
*/
QGraphicsEllipseItem::QGraphicsEllipseItem(qreal x, qreal y, qreal w, qreal h,
QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QAbstractGraphicsShapeItem(*new QGraphicsEllipseItemPrivate, parent, scene)
{
setRect(x,y,w,h);
\sa QGraphicsScene::addItem()
*/
QGraphicsEllipseItem::QGraphicsEllipseItem(QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QAbstractGraphicsShapeItem(*new QGraphicsEllipseItemPrivate, parent, scene)
{
}
*/
QGraphicsPolygonItem::QGraphicsPolygonItem(const QPolygonF &polygon,
QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QAbstractGraphicsShapeItem(*new QGraphicsPolygonItemPrivate, parent, scene)
{
setPolygon(polygon);
\sa QGraphicsScene::addItem()
*/
QGraphicsPolygonItem::QGraphicsPolygonItem(QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QAbstractGraphicsShapeItem(*new QGraphicsPolygonItemPrivate, parent, scene)
{
}
\sa QGraphicsScene::addItem()
*/
QGraphicsLineItem::QGraphicsLineItem(const QLineF &line, QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QGraphicsItem(*new QGraphicsLineItemPrivate, parent, scene)
{
setLine(line);
\sa QGraphicsScene::addItem()
*/
QGraphicsLineItem::QGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QGraphicsItem(*new QGraphicsLineItemPrivate, parent, scene)
{
setLine(x1, y1, x2, y2);
\sa QGraphicsScene::addItem()
*/
QGraphicsLineItem::QGraphicsLineItem(QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QGraphicsItem(*new QGraphicsLineItemPrivate, parent, scene)
{
}
*/
QGraphicsPixmapItem::QGraphicsPixmapItem(const QPixmap &pixmap,
QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QGraphicsItem(*new QGraphicsPixmapItemPrivate, parent, scene)
{
setPixmap(pixmap);
\sa QGraphicsScene::addItem()
*/
QGraphicsPixmapItem::QGraphicsPixmapItem(QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QGraphicsItem(*new QGraphicsPixmapItemPrivate, parent, scene)
{
}
\sa QGraphicsScene::addItem()
*/
QGraphicsTextItem::QGraphicsTextItem(const QString &text, QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QGraphicsObject(*new QGraphicsItemPrivate, parent, scene), dd(new QGraphicsTextItemPrivate)
{
dd->qq = this;
\sa QGraphicsScene::addItem()
*/
QGraphicsTextItem::QGraphicsTextItem(QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QGraphicsObject(*new QGraphicsItemPrivate, parent, scene), dd(new QGraphicsTextItemPrivate)
{
dd->qq = this;
\sa QGraphicsScene::addItem()
*/
QGraphicsSimpleTextItem::QGraphicsSimpleTextItem(QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QAbstractGraphicsShapeItem(*new QGraphicsSimpleTextItemPrivate, parent, scene)
{
}
\sa QGraphicsScene::addItem()
*/
QGraphicsSimpleTextItem::QGraphicsSimpleTextItem(const QString &text, QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QAbstractGraphicsShapeItem(*new QGraphicsSimpleTextItemPrivate, parent, scene)
{
setText(text);
\sa QGraphicsScene::addItem()
*/
QGraphicsItemGroup::QGraphicsItemGroup(QGraphicsItem *parent
-#ifndef Q_QDOC
// obsolete argument
- , QGraphicsScene *scene
-#endif
- )
+ , QGraphicsScene *scene)
: QGraphicsItem(*new QGraphicsItemGroupPrivate, parent, scene)
{
setHandlesChildEvents(true);
QGLFramebufferObject(const QSize &size, GLenum target = GL_TEXTURE_2D);
QGLFramebufferObject(int width, int height, GLenum target = GL_TEXTURE_2D);
-#if !defined(QT_OPENGL_ES) || defined(Q_QDOC)
+#if !defined(QT_OPENGL_ES)
QGLFramebufferObject(const QSize &size, Attachment attachment,
GLenum target = GL_TEXTURE_2D, GLenum internal_format = GL_RGBA8);
QGLFramebufferObject(int width, int height, Attachment attachment,
QT_BEGIN_NAMESPACE
-#if defined (Q_CC_SUN) || defined (Q_CC_XLC) || (defined (Q_CC_GNU) && (__GNUC__ - 0 < 3)) || defined (Q_CC_NOKIAX86)
+#if defined (Q_CC_SUN) || defined (Q_CC_XLC) || (defined (Q_CC_GNU) && (__GNUC__ - 0 < 3))
# define QTEST_NO_SPECIALIZATIONS
#endif