Changeset 129
- Timestamp:
- Aug 26, 2009, 9:15:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qwidget_pm.cpp
r128 r129 1403 1403 void QWidgetPrivate::setCursor_sys(const QCursor &cursor) 1404 1404 { 1405 // @todo implement 1405 // @todo implement 1406 1406 } 1407 1407 1408 1408 void QWidgetPrivate::unsetCursor_sys() 1409 1409 { 1410 // @todo implement 1410 // @todo implement 1411 1411 } 1412 1412 #endif … … 1414 1414 void QWidgetPrivate::setWindowTitle_sys(const QString &caption) 1415 1415 { 1416 // @todo implement 1416 Q_Q(QWidget); 1417 if (!q->isWindow()) 1418 return; 1419 1420 Q_ASSERT(q->testAttribute(Qt::WA_WState_Created)); 1421 1422 QByteArray cap = caption.toLocal8Bit(); 1423 WinSetWindowText(frameWinId(), cap); 1424 1425 HSWITCH swEntry = topData()->swEntry; 1426 if (swEntry) { 1427 SWCNTRL swc; 1428 WinQuerySwitchEntry(swEntry, &swc); 1429 strncpy(swc.szSwtitle, cap, sizeof(swc.szSwtitle)-1); 1430 swc.szSwtitle[sizeof(swc.szSwtitle)-1] = 0; 1431 WinChangeSwitchEntry(swEntry, &swc); 1432 } 1417 1433 } 1418 1434 1419 1435 void QWidgetPrivate::setWindowIcon_sys(bool forceReset) 1420 1436 { 1421 // @todo implement 1437 // @todo implement 1422 1438 } 1423 1439
Note:
See TracChangeset
for help on using the changeset viewer.