Changeset 83 for trunk/src/corelib/kernel/qeventdispatcher_pm.cpp
- Timestamp:
- Jul 24, 2009, 2:31:38 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/corelib/kernel/qeventdispatcher_pm.cpp
r67 r83 46 46 #include "qcoreapplication.h" 47 47 #include "qhash.h" 48 #include "qlibrary.h"49 #include "qpair.h"50 #include "qset.h"51 48 #include "qsocketnotifier.h" 52 #include "qvarlengtharray.h" 49 #include "qmutex.h" 50 #include "qwaitcondition.h" 53 51 54 52 #include "qabstracteventdispatcher_p.h" … … 59 57 60 58 #include <Qt/qwindowdefs_pm.h> // for QPMObjectWindow declaration 59 60 61 61 62 62 QT_BEGIN_NAMESPACE … … 152 152 */ 153 153 154 /// @todo remove?155 // returns HMQ of the current thread or NULL if no event queue has been created156 static HMQ qt_WinQueryQueue(HAB hab)157 {158 PTIB ptib;159 PPIB ppib;160 DosGetInfoBlocks(&ptib, &ppib);161 return WinQueueFromID(hab, ppib->pib_ulpid, ptib->tib_ptib2->tib2_ultid);162 }163 164 154 /*! 165 155 Constructs a new object window for the current thread. … … 263 253 264 254 /*! 265 \fn QPMObjectWindow::send(ULONG msg, MPARAM mp1, MPARAM mp2) const266 267 Synchronously sends a message \a msg with the given parameters \a mp1 and268 \a mp2 to this window handle and returns a reply from the message() function.269 270 \note Must be called on the same thread that cosnstructed this instance.255 \fn QPMObjectWindow::send(ULONG msg, MPARAM mp1, MPARAM mp2) const 256 257 Synchronously sends a message \a msg with the given parameters \a mp1 and 258 \a mp2 to this window handle and returns a reply from the message() function. 259 260 \note Must be called on the same thread that cosnstructed this instance. 271 261 */ 272 262 273 263 /*! 274 \fn QPMObjectWindow::post(ULONG msg, MPARAM mp1, MPARAM mp2) const275 276 Asynchronously posts a message \a msg with the given parameters \a mp1 and277 \a mp2 to this window handle. Returns \c TRUE on success and \c FALSE278 otherwise.279 280 \note Can be called on any thread.264 \fn QPMObjectWindow::post(ULONG msg, MPARAM mp1, MPARAM mp2) const 265 266 Asynchronously posts a message \a msg with the given parameters \a mp1 and 267 268 otherwise. 269 270 \note Can be called on any thread. 281 271 */ 272 282 273 283 274 // socket select notification (highest priority) … … 285 276 // zero timer notification (lowest priority) 286 277 #define WM_U_SEM_ZEROTIMER WM_SEM4 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477