Changeset 428 for trunk/src/corelib/kernel
- Timestamp:
- Dec 16, 2009, 1:52:19 AM (15 years ago)
- Location:
- trunk/src/corelib/kernel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/corelib/kernel/qcoreapplication.h
r327 r428 207 207 208 208 friend class QEventDispatcherUNIXPrivate; 209 209 210 friend class QApplication; 210 211 friend class QApplicationPrivate; -
trunk/src/corelib/kernel/qcoreapplication_p.h
r2 r428 82 82 static void removePostedTimerEvent(QObject *object, int timerId); 83 83 #endif 84 85 86 84 87 85 88 #ifdef Q_OS_MAC -
trunk/src/corelib/kernel/qeventdispatcher_pm.cpp
r302 r428 1253 1253 if (haveMessage) { 1254 1254 if (msg.msg == WM_QUIT) { 1255 if (QCoreApplication::instance()) 1256 QCoreApplication::instance()->quit(); 1255 if (QCoreApplication::instance()) { 1256 if (QCoreApplication::instance()->d_func()->canQuit()) { 1257 QCoreApplication::instance()->quit(); 1258 return true; 1259 } else { 1260 WinCancelShutdown(d->hmq, FALSE); 1261 return true; 1262 } 1263 } 1257 1264 return false; 1258 1265 }
Note:
See TracChangeset
for help on using the changeset viewer.