Changeset 651 for trunk/src/tools/uic/cpp/cppwriteinitialization.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/src/tools/uic/cpp/cppwriteinitialization.cpp
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 722 722 } else if (m_uic->customWidgetsInfo()->extends(className, QLatin1String("QStatusBar"))) { 723 723 m_output << m_indent << parentWidget << "->setStatusBar(" << varName << ");\n"; 724 } else { 725 m_output << m_indent << parentWidget << "->setCentralWidget(" << varName << ");\n"; 724 } else if (!m_uic->customWidgetsInfo()->extends(className, QLatin1String("Q3DockWindow")) 725 && !m_uic->customWidgetsInfo()->extends(className, QLatin1String("Q3ToolBar"))) { 726 m_output << m_indent << parentWidget << "->setCentralWidget(" << varName << ");\n"; 726 727 } 727 728 } … … 1222 1223 m_output << m_indent << varName << "->resize(" << r->elementWidth() << ", " << r->elementHeight() << ");\n"; 1223 1224 continue; 1224 } else if (propertyName == QLatin1String("buttonGroupId") && buttonGroupWidget) { // Q3ButtonGroup support 1225 m_output << m_indent << m_driver->findOrInsertWidget(buttonGroupWidget) << "->insert(" 1226 << varName << ", " << p->elementNumber() << ");\n"; 1225 } else if (propertyName == QLatin1String("buttonGroupId")) { // Q3ButtonGroup support 1226 if (buttonGroupWidget) 1227 m_output << m_indent << m_driver->findOrInsertWidget(buttonGroupWidget) << "->insert(" 1228 << varName << ", " << p->elementNumber() << ");\n"; 1227 1229 continue; 1228 1230 } else if (propertyName == QLatin1String("currentRow") // QListWidget::currentRow
Note:
See TracChangeset
for help on using the changeset viewer.