Qt 4.8
|
#include "qplatformdefs.h"
#include "qstring.h"
#include "qvector.h"
#include "qlist.h"
#include "qthreadstorage.h"
#include "qdir.h"
#include "qstringlist.h"
#include "qdatetime.h"
#include <private/qthread_p.h>
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <stdarg.h>
#include <string.h>
#include <string>
#include <exception>
#include "private/qcore_mac_p.h"
#include "qnamespace.h"
Go to the source code of this file.
Classes | |
struct | QInternal_CallBackTable |
Typedefs | |
typedef QThreadStorage< SeedStorageType * > | SeedStorage |
typedef uint | SeedStorageType |
Functions | |
static QSysInfo::MacVersion | macVersion () |
Use QSysInfo::MacintoshVersion instead. More... | |
void | qBadAlloc () |
static void | qEmergencyOut (QtMsgType msgType, const char *msg, va_list ap) |
Uses a local buffer to output the message. More... | |
void | qErrnoWarning (const char *msg,...) |
void | qErrnoWarning (int code, const char *msg,...) |
QtMsgHandler | qInstallMsgHandler (QtMsgHandler h) |
void * | qMemCopy (void *dest, const void *src, size_t n) |
void * | qMemSet (void *dest, int c, size_t n) |
bool | qSharedBuild () |
void | qt_assert (const char *assertion, const char *file, int line) |
void | qt_assert_x (const char *where, const char *what, const char *file, int line) |
void | qt_check_pointer (const char *n, int l) |
QString | qt_error_string (int errorCode) |
Q_CORE_EXPORT unsigned int | qt_int_sqrt (unsigned int n) |
static void | qt_message (QtMsgType msgType, const char *msg, va_list ap) |
void | qt_message_output (QtMsgType msgType, const char *buf) |
void | qt_set_current_thread_to_main_thread () |
Variables | |
static QtMsgHandler | handler = 0 |
typedef QThreadStorage<SeedStorageType *> SeedStorage |
Definition at line 3096 of file qglobal.cpp.
typedef uint SeedStorageType |
Definition at line 3093 of file qglobal.cpp.
|
static |
Use QSysInfo::MacintoshVersion instead.
Definition at line 2077 of file qglobal.cpp.
Referenced by QApplication::isLeftToRight().
void qBadAlloc | ( | ) |
Definition at line 2451 of file qglobal.cpp.
|
static |
Uses a local buffer to output the message.
Definition at line 2785 of file qglobal.cpp.
Referenced by qt_message().
void qErrnoWarning | ( | const char * | msg, |
... | |||
) |
Definition at line 2954 of file qglobal.cpp.
Referenced by QFontEngineDirectWrite::addGlyphsToPath(), QWin32PrintEngine::begin(), QFontEngineDirectWrite::boundingBox(), QWindowsXPStylePrivate::buffer(), QFontEngineDirectWrite::canRender(), QGLContext::choosePixelFormat(), QWin32PrintEnginePrivate::composeGdiPath(), QWin32PrintEngine::drawPixmap(), QWin32PrintEngine::drawTiledPixmap(), QThreadPrivate::finish(), QPixmap::fromWinHBITMAP(), QFontEngineDirectWrite::getSfntTableData(), QFontEngineDirectWrite::imageForGlyph(), initFontInfo(), QAxBase::initialize(), QWin32PrintEnginePrivate::initialize(), QAxBase::initializeLicensedHelper(), QAxBase::initializeRemote(), loadEngine(), QOpenKODEWindow::lower(), QWin32PrintEngine::newPage(), QFontEngineQPF::QFontEngineQPF(), QFontEngineWin::QFontEngineWin(), QOpenKODEIntegration::QOpenKODEIntegration(), QOpenKODEScreen::QOpenKODEScreen(), QOpenKODEWindow::QOpenKODEWindow(), QQnxMouseHandler::QQnxMouseHandler(), qt_reg_winclass(), qt_tablet_cleanup_wce(), QWin32PrintEnginePrivate::queryResolutions(), QWaylandDisplay::QWaylandDisplay(), QWSQnxKeyboardHandler::QWSQnxKeyboardHandler(), QOpenKODEWindow::raise(), QFontEngineDirectWrite::recalcAdvances(), QWindowsMime::registerMimeType(), QEventDispatcherWin32Private::registerTimer(), QWidget::releaseDC(), QFontEngineQPF::remapFontData(), resolveGdi32(), QWindowsFileSystemWatcherEngineThread::run(), QOpenKODEWindow::setGeometry(), QOpenKODEWindow::setVisible(), QWSQnxKeyboardHandler::socketActivated(), QQnxMouseHandler::socketActivated(), QFontEngineDirectWrite::stringToCMap(), QPixmap::toWinHBITMAP(), QClipboard::~QClipboard(), QFontEngineQPF::~QFontEngineQPF(), and QFontEngineWin::~QFontEngineWin().
void qErrnoWarning | ( | int | code, |
const char * | msg, | ||
... | |||
) |
Definition at line 2968 of file qglobal.cpp.
QtMsgHandler qInstallMsgHandler | ( | QtMsgHandler | h | ) |
Definition at line 2698 of file qglobal.cpp.
Referenced by QClassFactory::CreateInstanceHelper(), QTest::messageHandler(), QErrorMessage::qtHandler(), qWinMain(), QTestLog::startLogging(), QTestLog::stopLogging(), and QErrorMessage::~QErrorMessage().
void* qMemCopy | ( | void * | dest, |
const void * | src, | ||
size_t | n | ||
) |
Definition at line 2508 of file qglobal.cpp.
Referenced by QRawFont::advancesForGlyphIndexes(), QVarLengthArray< QVariant, 9 >::append(), QVolatileImage::copyFrom(), QFontEngineDirectWrite::getSfntTableData(), QGlyphRun::glyphIndexes(), iod_read_fn(), QGlyphRun::positions(), qt_qnan(), qToUnaligned(), QNetworkReplyImpl::readData(), and QVarLengthArray< QVariant, 9 >::realloc().
void* qMemSet | ( | void * | dest, |
int | c, | ||
size_t | n | ||
) |
Definition at line 2509 of file qglobal.cpp.
Referenced by QPainterPrivate::drawGlyphs(), QFontEngineDirectWrite::imageForGlyph(), QByteArrayMatcher::QByteArrayMatcher(), QStringMatcher::QStringMatcher(), QVector< QPoint >::QVector(), QVector< QPoint >::realloc(), set_text(), QGridLayoutPrivate::setupLayoutData(), QTextEngine::shapeTextWithHarfbuzz(), QPAGenerator::writeGMap(), and QPFGenerator::writeGMap().
bool qSharedBuild | ( | ) |
Definition at line 1228 of file qglobal.cpp.
void qt_assert | ( | const char * | assertion, |
const char * | file, | ||
int | line | ||
) |
Definition at line 2459 of file qglobal.cpp.
void qt_assert_x | ( | const char * | where, |
const char * | what, | ||
const char * | file, | ||
int | line | ||
) |
Definition at line 2467 of file qglobal.cpp.
void qt_check_pointer | ( | const char * | n, |
int | l | ||
) |
Definition at line 2442 of file qglobal.cpp.
QString qt_error_string | ( | int | errorCode | ) |
Definition at line 2600 of file qglobal.cpp.
Referenced by QLocalServerPrivate::addListener(), QFSFileEnginePrivate::closeFdFh(), QProcessPrivate::execChild(), QFSFileEnginePrivate::flushFh(), QFSFileEnginePrivate::longFileName(), QFSFileEnginePrivate::map(), QFSFileEnginePrivate::nativeOpen(), QFSFileEnginePrivate::nativeRead(), QFSFileEnginePrivate::openFd(), QFSFileEnginePrivate::openFh(), QProcessPrivate::processStarted(), qErrnoWarning(), qt_create_commandline(), qt_create_pipe(), qt_message(), qt_parse_pattern(), QNativeSocketEngine::read(), QFSFileEnginePrivate::readFdFh(), QFSFileEnginePrivate::readLineFdFh(), report_error(), QFSFileEnginePrivate::seekFdFh(), QFilePrivate::setError(), QFSFileEngine::setSize(), QThread::start(), QProcessPrivate::startProcess(), QThread::terminate(), QFSFileEnginePrivate::unmap(), QFSFileEnginePrivate::writeFdFh(), and QProcessPrivate::writeToStdin().
Q_CORE_EXPORT unsigned int qt_int_sqrt | ( | unsigned int | n | ) |
Definition at line 2478 of file qglobal.cpp.
Referenced by QTextDocument::adjustSize(), and qt_int_sqrt().
|
static |
Definition at line 2798 of file qglobal.cpp.
Referenced by qErrnoWarning().
void qt_message_output | ( | QtMsgType | msgType, |
const char * | buf | ||
) |
Definition at line 2712 of file qglobal.cpp.
Referenced by qEmergencyOut(), qt_message(), and QDebug::~QDebug().
void qt_set_current_thread_to_main_thread | ( | ) |
Definition at line 355 of file qcoreapplication.cpp.
Referenced by QInternal::activateCallbacks(), and QInternal::callFunction().
|
static |
Definition at line 2511 of file qglobal.cpp.
Referenced by qInstallMsgHandler(), and qt_message_output().