- Timestamp:
- Nov 27, 2009, 1:15:54 AM (16 years ago)
- Location:
- trunk/src/gui/kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qwidget.cpp
r115 r352 10360 10360 } 10361 10361 #elif defined (Q_WS_PM) 10362 10363 /*! 10364 \fn WId QWidget::internalFrameWinId() const 10365 \internal 10366 Returns the frame window system identifier of the widget, or 0 if the widget 10367 is not created yet or if it is not a top-level window and therefore does not 10368 have a system frame. 10369 10370 \warning This function is not portable and exists only on OS/2. 10371 */ 10372 WId QWidget::internalFrameWinId() const 10373 { 10374 Q_D(const QWidget); 10375 return d->frameWinId(); 10376 } 10377 10378 /*! 10379 Returns the effective frame window system identifier of the widget, i.e. the 10380 native parent's frame window system identifier. 10381 10382 If the widget is native, this function returns the native frame window for 10383 this widget (the same value as internalFrameWinId() returns). Otherwise, the 10384 frame window ID of the first native parent widget, i.e., the top-level 10385 widget that contains this widget, is returned. 10386 10387 \note We recommend that you do not store this value as it is likely to 10388 change at run-time. 10389 10390 \sa nativeParentWidget() 10391 10392 \warning This function is not portable and exists only on OS/2. 10393 */ 10394 WId QWidget::effectiveFrameWinId() const 10395 { 10396 Q_D(const QWidget); 10397 return d->effectiveFrameWinId(); 10398 } 10399 10362 10400 /*! 10363 10401 Returns the window system handle of the widget, for low-level -
trunk/src/gui/kernel/qwidget.h
r115 r352 584 584 void releaseDC(HDC) const; 585 585 #elif defined(Q_WS_PM) 586 WId internalFrameWinId() const; 587 WId effectiveFrameWinId() const; 586 588 HPS getPS() const; 587 589 void releasePS(HPS) const;
Note:
See TracChangeset
for help on using the changeset viewer.