Qt 4.8
|
#include "qplatformdefs.h"
#include "private/qt_mac_p.h"
#include "qeventdispatcher_mac_p.h"
#include "qapplication.h"
#include "qevent.h"
#include "qdialog.h"
#include "qhash.h"
#include "qsocketnotifier.h"
#include "private/qwidget_p.h"
#include "private/qthread_p.h"
#include "private/qapplication_p.h"
#include <private/qcocoaapplication_mac_p.h>
#include "private/qt_cocoa_helpers_mac_p.h"
#include "qmutex.h"
Go to the source code of this file.
Functions | |
static CFRunLoopRef | mainRunLoop () |
static void | processPostedEvents (QEventDispatcherMacPrivate *const d, const bool blockSendPostedEvents) |
MacTimerInfo * | qt_event_get_timer (EventRef) |
void | qt_event_request_select (QEventDispatcherMac *) |
void | qt_event_request_timer (MacTimerInfo *) |
void | qt_event_request_updates () |
CFRunLoopSourceRef | qt_mac_add_socket_to_runloop (const CFSocketRef socket) |
bool | qt_mac_is_macsheet (const QWidget *) |
void | qt_mac_remove_socket_from_runloop (const CFSocketRef socket, CFRunLoopSourceRef runloop) |
static bool | qt_mac_send_event (QEventLoop::ProcessEventsFlags, OSEventRef event, OSWindowRef pt) |
void | qt_mac_socket_callback (CFSocketRef s, CFSocketCallBackType callbackType, CFDataRef, const void *, void *info) |
static void | qt_mac_waitForMoreEvents () |
OSWindowRef | qt_mac_window_for (const QWidget *) |
bool | qt_sendSpontaneousEvent (QObject *, QEvent *) |
Variables | |
bool | qt_is_gui_used |
|
inlinestatic |
Definition at line 111 of file qeventdispatcher_mac.mm.
Referenced by QEventDispatcherMac::interrupt(), QEventDispatcherMac::QEventDispatcherMac(), qt_mac_add_socket_to_runloop(), qt_mac_remove_socket_from_runloop(), QEventDispatcherMac::registerTimer(), QEventDispatcherMac::wakeUp(), and QEventDispatcherMac::~QEventDispatcherMac().
|
inlinestatic |
Definition at line 1035 of file qeventdispatcher_mac.mm.
Referenced by QEventDispatcherMacPrivate::firstLoopEntry(), and QEventDispatcherMacPrivate::postedEventsSourcePerformCallback().
MacTimerInfo* qt_event_get_timer | ( | EventRef | ) |
void qt_event_request_select | ( | QEventDispatcherMac * | ) |
void qt_event_request_timer | ( | MacTimerInfo * | ) |
void qt_event_request_updates | ( | ) |
CFRunLoopSourceRef qt_mac_add_socket_to_runloop | ( | const CFSocketRef | socket | ) |
Definition at line 290 of file qeventdispatcher_mac.mm.
Referenced by QEventDispatcherMac::registerSocketNotifier().
bool qt_mac_is_macsheet | ( | const QWidget * | ) |
Definition at line 295 of file qwidget_mac.mm.
Referenced by QWidgetPrivate::hide_sys(), make_win_eventUPP(), qt_mac_unregister_widget(), and QWidgetPrivate::show_sys().
void qt_mac_remove_socket_from_runloop | ( | const CFSocketRef | socket, |
CFRunLoopSourceRef | runloop | ||
) |
Definition at line 303 of file qeventdispatcher_mac.mm.
Referenced by QEventDispatcherMac::unregisterSocketNotifier(), and QEventDispatcherMac::~QEventDispatcherMac().
|
static |
Definition at line 454 of file qeventdispatcher_mac.mm.
Referenced by QEventDispatcherMac::processEvents().
void qt_mac_socket_callback | ( | CFSocketRef | s, |
CFSocketCallBackType | callbackType, | ||
CFDataRef | , | ||
const void * | , | ||
void * | info | ||
) |
Definition at line 265 of file qeventdispatcher_mac.mm.
Referenced by QEventDispatcherMac::registerSocketNotifier().
|
inlinestatic |
Definition at line 515 of file qeventdispatcher_mac.mm.
Referenced by QEventDispatcherMac::processEvents().
OSWindowRef qt_mac_window_for | ( | const QWidget * | ) |
Definition at line 484 of file qwidget_mac.mm.
Referenced by QEventDispatcherMac::flush().
Definition at line 5779 of file qapplication.cpp.
Referenced by QEventDispatcherMacPrivate::activateTimer().
bool qt_is_gui_used |
Definition at line 492 of file qapplication.cpp.
Referenced by QEventDispatcherMac::hasPendingEvents().