doxygen  1.8.18
About: Doxygen is a source code documentation generator tool for C++, C, Objective-C, C#, PHP, Java, Python, IDL (diverse flavors), Fortran, VHDL, Tcl, and to some extent D. Different output formats are supported.
  Fossies Dox: doxygen-1.8.18.src.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

qglobal.h File Reference
#include <qfeatures.h>
+ Include dependency graph for qglobal.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define QT_VERSION   223
 Global type declarations and definitions. More...
 
#define QT_VERSION_STR   "2.2.3"
 
#define _OS_UNIX_
 
#define UNIX
 
#define Q_PACKED
 
#define _WS_X11_
 
#define Q_DISABLE_COPY
 
#define QT_STATIC_CONST   static const
 
#define QT_STATIC_CONST_IMPL   const
 
#define QMAX(a, b)   ((a) > (b) ? (a) : (b))
 
#define QMIN(a, b)   ((a) < (b) ? (a) : (b))
 
#define QABS(a)   ((a) >= 0 ? (a) : -(a))
 
#define CHECK_STATE
 
#define CHECK_RANGE
 
#define CHECK_NULL
 
#define CHECK_MATH
 
#define DEBUG
 
#define Q_NO_WARNINGS
 
#define Q_UNUSED(x)   x=x;
 
#define Q_CONST_UNUSED(x)   (void)x;
 
#define ASSERT(x)
 
#define CHECK_PTR(p)   (qt_check_pointer((p)==0,__FILE__,__LINE__))
 
#define QT_OBSOLETE
 
#define Q_DELETING_VOID_UNDEFINED
 

Typedefs

typedef int bool
 
typedef unsigned char uchar
 
typedef unsigned short ushort
 
typedef unsigned uint
 
typedef unsigned long ulong
 
typedef char * pchar
 
typedef ucharpuchar
 
typedef const char * pcchar
 
typedef long long int64
 
typedef unsigned long long uint64
 
typedef signed char INT8
 
typedef unsigned char UINT8
 
typedef short INT16
 
typedef unsigned short UINT16
 
typedef int INT32
 
typedef unsigned int UINT32
 
typedef signed char Q_INT8
 
typedef unsigned char Q_UINT8
 
typedef short Q_INT16
 
typedef unsigned short Q_UINT16
 
typedef int Q_INT32
 
typedef unsigned int Q_UINT32
 
typedef long Q_INT64
 
typedef unsigned long Q_UINT64
 
typedef void(* msg_handler) (QtMsgType, const char *)
 

Enumerations

enum  QtMsgType { QtDebugMsg, QtWarningMsg, QtFatalMsg }
 

Functions

int qRound (double d)
 
const char * qVersion ()
 
bool qSysInfo (int *wordSize, bool *bigEndian)
 
void qDebug (const char *,...)
 
void qWarning (const char *,...)
 
void qFatal (const char *,...)
 
void debug (const char *,...)
 
void warning (const char *,...)
 
void fatal (const char *,...)
 
bool qt_check_pointer (bool c, const char *, int)
 
msg_handler qInstallMsgHandler (msg_handler)
 
void qSuppressObsoleteWarnings (bool=TRUE)
 
void qObsolete (const char *obj, const char *oldfunc, const char *newfunc)
 
void qObsolete (const char *obj, const char *oldfunc)
 
void qObsolete (const char *message)
 

Variables

const bool FALSE = 0
 
const bool TRUE = !0
 

Macro Definition Documentation

◆ _OS_UNIX_

#define _OS_UNIX_

Definition at line 147 of file qglobal.h.

◆ _WS_X11_

#define _WS_X11_

Definition at line 304 of file qglobal.h.

◆ ASSERT

#define ASSERT (   x)
Value:
if ( !(x) )\
qWarning("ASSERT: \"%s\" in %s (%d)",#x,__FILE__,__LINE__)

Definition at line 592 of file qglobal.h.

◆ CHECK_MATH

#define CHECK_MATH

Definition at line 490 of file qglobal.h.

◆ CHECK_NULL

#define CHECK_NULL

Definition at line 489 of file qglobal.h.

◆ CHECK_PTR

#define CHECK_PTR (   p)    (qt_check_pointer((p)==0,__FILE__,__LINE__))

Definition at line 603 of file qglobal.h.

◆ CHECK_RANGE

#define CHECK_RANGE

Definition at line 488 of file qglobal.h.

◆ CHECK_STATE

#define CHECK_STATE

Definition at line 487 of file qglobal.h.

◆ DEBUG

#define DEBUG

Definition at line 494 of file qglobal.h.

◆ Q_CONST_UNUSED

#define Q_CONST_UNUSED (   x)    (void)x;

Definition at line 539 of file qglobal.h.

◆ Q_DELETING_VOID_UNDEFINED

#define Q_DELETING_VOID_UNDEFINED

Definition at line 625 of file qglobal.h.

◆ Q_DISABLE_COPY

#define Q_DISABLE_COPY

Definition at line 320 of file qglobal.h.

◆ Q_NO_WARNINGS

#define Q_NO_WARNINGS

Definition at line 504 of file qglobal.h.

◆ Q_PACKED

#define Q_PACKED

Definition at line 284 of file qglobal.h.

◆ Q_UNUSED

#define Q_UNUSED (   x)    x=x;

Definition at line 538 of file qglobal.h.

◆ QABS

#define QABS (   a)    ((a) >= 0 ? (a) : -(a))

Definition at line 395 of file qglobal.h.

◆ QMAX

#define QMAX (   a,
 
)    ((a) > (b) ? (a) : (b))

Definition at line 393 of file qglobal.h.

◆ QMIN

#define QMIN (   a,
 
)    ((a) < (b) ? (a) : (b))

Definition at line 394 of file qglobal.h.

◆ QT_OBSOLETE

#define QT_OBSOLETE

Definition at line 617 of file qglobal.h.

◆ QT_STATIC_CONST

#define QT_STATIC_CONST   static const

Definition at line 383 of file qglobal.h.

◆ QT_STATIC_CONST_IMPL

#define QT_STATIC_CONST_IMPL   const

Definition at line 384 of file qglobal.h.

◆ QT_VERSION

#define QT_VERSION   223

Global type declarations and definitions.

Created : 920529

Copyright (C) 1992-2000 Trolltech AS. All rights reserved.

This file is part of the tools module of the Qt GUI Toolkit.

This file may be distributed under the terms of the Q Public License as defined by Trolltech AS of Norway and appearing in the file LICENSE.QPL included in the packaging of this file.

This file may be distributed and/or modified under the terms of the GNU General Public License version 2 as published by the Free Software Foundation and appearing in the file LICENSE.GPL included in the packaging of this file.

Licensees holding valid Qt Enterprise Edition or Qt Professional Edition licenses may use this file in accordance with the Qt Commercial License Agreement provided with the Software.

This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

See http://www.trolltech.com/pricing.html or email sales.nosp@m.@tro.nosp@m.lltec.nosp@m.h.co.nosp@m.m for information about Qt Commercial License Agreements. See http://www.trolltech.com/qpl/ for QPL licensing information. See http://www.trolltech.com/gpl/ for GPL licensing information.

Contact info@.nosp@m.trol.nosp@m.ltech.nosp@m..com if any conditions of this licensing are not clear to you.

Definition at line 43 of file qglobal.h.

◆ QT_VERSION_STR

#define QT_VERSION_STR   "2.2.3"

Definition at line 44 of file qglobal.h.

◆ UNIX

#define UNIX

Definition at line 152 of file qglobal.h.

Typedef Documentation

◆ bool

typedef int bool

Definition at line 345 of file qglobal.h.

◆ INT16

typedef short INT16

Definition at line 411 of file qglobal.h.

◆ INT32

typedef int INT32

Definition at line 413 of file qglobal.h.

◆ int64

typedef long long int64

Definition at line 361 of file qglobal.h.

◆ INT8

typedef signed char INT8

Definition at line 409 of file qglobal.h.

◆ msg_handler

typedef void(* msg_handler) (QtMsgType, const char *)

Definition at line 609 of file qglobal.h.

◆ pcchar

typedef const char* pcchar

Definition at line 355 of file qglobal.h.

◆ pchar

typedef char* pchar

Definition at line 353 of file qglobal.h.

◆ puchar

typedef uchar* puchar

Definition at line 354 of file qglobal.h.

◆ Q_INT16

typedef short Q_INT16

Definition at line 419 of file qglobal.h.

◆ Q_INT32

typedef int Q_INT32

Definition at line 421 of file qglobal.h.

◆ Q_INT64

typedef long Q_INT64

Definition at line 423 of file qglobal.h.

◆ Q_INT8

typedef signed char Q_INT8

Definition at line 417 of file qglobal.h.

◆ Q_UINT16

typedef unsigned short Q_UINT16

Definition at line 420 of file qglobal.h.

◆ Q_UINT32

typedef unsigned int Q_UINT32

Definition at line 422 of file qglobal.h.

◆ Q_UINT64

typedef unsigned long Q_UINT64

Definition at line 424 of file qglobal.h.

◆ Q_UINT8

typedef unsigned char Q_UINT8

Definition at line 418 of file qglobal.h.

◆ uchar

typedef unsigned char uchar

Definition at line 349 of file qglobal.h.

◆ uint

typedef unsigned uint

Definition at line 351 of file qglobal.h.

◆ UINT16

typedef unsigned short UINT16

Definition at line 412 of file qglobal.h.

◆ UINT32

typedef unsigned int UINT32

Definition at line 414 of file qglobal.h.

◆ uint64

typedef unsigned long long uint64

Definition at line 363 of file qglobal.h.

◆ UINT8

typedef unsigned char UINT8

Definition at line 410 of file qglobal.h.

◆ ulong

typedef unsigned long ulong

Definition at line 352 of file qglobal.h.

◆ ushort

typedef unsigned short ushort

Definition at line 350 of file qglobal.h.

Enumeration Type Documentation

◆ QtMsgType

enum QtMsgType
Enumerator
QtDebugMsg 
QtWarningMsg 
QtFatalMsg 

Definition at line 607 of file qglobal.h.

Function Documentation

◆ debug()

void debug ( const char *  ,
  ... 
)

Definition at line 393 of file qglobal.cpp.

References handler, msg(), and QtDebugMsg.

◆ fatal()

void fatal ( const char *  ,
  ... 
)

Definition at line 465 of file qglobal.cpp.

References handler, msg(), and QtFatalMsg.

◆ qDebug()

void qDebug ( const char *  ,
  ... 
)

◆ qFatal()

void qFatal ( const char *  ,
  ... 
)

Definition at line 443 of file qglobal.cpp.

References handler, msg(), and QtFatalMsg.

Referenced by QGCache::operator=(), QGCache::QGCache(), and qt_check_pointer().

◆ qInstallMsgHandler()

msg_handler qInstallMsgHandler ( msg_handler  )

◆ qObsolete() [1/3]

void qObsolete ( const char *  message)

Definition at line 612 of file qglobal.cpp.

References firstObsoleteWarning(), qDebug(), and suppressObsolete.

◆ qObsolete() [2/3]

void qObsolete ( const char *  obj,
const char *  oldfunc 
)

Definition at line 600 of file qglobal.cpp.

References firstObsoleteWarning(), qDebug(), and suppressObsolete.

◆ qObsolete() [3/3]

void qObsolete ( const char *  obj,
const char *  oldfunc,
const char *  newfunc 
)

Definition at line 586 of file qglobal.cpp.

References firstObsoleteWarning(), qDebug(), and suppressObsolete.

◆ qRound()

int qRound ( double  d)
inline

Definition at line 396 of file qglobal.h.

◆ qSuppressObsoleteWarnings()

void qSuppressObsoleteWarnings ( bool  = TRUE)

Definition at line 581 of file qglobal.cpp.

References suppressObsolete.

◆ qSysInfo()

bool qSysInfo ( int *  wordSize,
bool bigEndian 
)

◆ qt_check_pointer()

bool qt_check_pointer ( bool  c,
const char *  ,
int   
)

Definition at line 549 of file qglobal.cpp.

References languages::l, qFatal(), and TRUE.

◆ qVersion()

const char* qVersion ( )

◆ qWarning()

void qWarning ( const char *  ,
  ... 
)

Definition at line 409 of file qglobal.cpp.

References handler, msg(), and QtWarningMsg.

Referenced by QString::arg(), QGStringBuffer::at(), QBuffer::at(), QFile::at(), QIODevice::at(), QStringBuffer::at(), QFile::atEnd(), QGVector::bsearch(), QDir::currentDirPath(), QTime::currentTime(), QDate::dayName(), QDir::exists(), QXmlSimpleReader::feature(), QGVector::find(), QGArray::find(), QGVector::findRef(), QBuffer::getch(), QFile::getch(), QStringBuffer::getch(), QGDict::hashKeyAscii(), QGVector::insert(), QGList::locate(), QGDict::look_ascii(), QGDict::look_int(), QGDict::look_ptr(), QGDict::look_string(), matchcharclass(), QDate::monthName(), QGArray::msg_index(), QGStringBuffer::open(), QBuffer::open(), QFile::open(), QStringBuffer::open(), QGDictIterator::operator()(), QGDictIterator::operator++(), operator>>(), QFileInfo::permission(), QBuffer::putch(), QFile::putch(), QGArray::QGArray(), QTextStream::read(), QBuffer::readBlock(), QFile::readBlock(), QStringBuffer::readBlock(), QDir::readDirEntries(), QBuffer::readLine(), QFile::readLine(), QTextStream::readLine(), realSetup(), QGVector::remove(), QFile::remove(), QDir::remove(), QGList::removeNode(), QDir::rename(), QGArray::resetRawData(), ru_RU_hack(), QBuffer::setBuffer(), QXmlSimpleReader::setFeature(), QTime::setHMS(), QIODevice::setMode(), QFile::setName(), QString::setNum(), QIODevice::setState(), QIODevice::setType(), QDate::setYMD(), QGVector::take(), QGList::takeNode(), QGDictIterator::toFirst(), QGListIterator::toFirst(), QGListIterator::toLast(), QBuffer::ungetch(), QFile::ungetch(), QStringBuffer::ungetch(), QGVector::warningIndexRange(), QBuffer::writeBlock(), QFile::writeBlock(), QStringBuffer::writeBlock(), and QTextCodec::~QTextCodec().

◆ warning()

void warning ( const char *  ,
  ... 
)

Definition at line 427 of file qglobal.cpp.

References handler, msg(), and QtWarningMsg.

Referenced by Expert::Expert(), MainWindow::saveConfig(), and MainWindow::saveLog().

Variable Documentation

◆ FALSE

const bool FALSE = 0

Definition at line 372 of file qglobal.h.

◆ TRUE

const bool TRUE = !0

Definition at line 373 of file qglobal.h.