Changeset 651 for trunk/src/gui/kernel
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 189 edited
- 3 copied
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/gui/kernel/kernel.pri
r561 r651 8 8 HEADERS += \ 9 9 kernel/qaction.h \ 10 10 kernel/qaction_p.h \ 11 11 kernel/qactiongroup.h \ 12 12 kernel/qapplication.h \ … … 38 38 kernel/qtooltip.h \ 39 39 kernel/qwhatsthis.h \ 40 41 40 kernel/qwidget.h \ 41 kernel/qwidget_p.h \ 42 42 kernel/qwidgetaction.h \ 43 43 kernel/qwidgetaction_p.h \ … … 50 50 kernel/qgesturemanager_p.h \ 51 51 kernel/qsoftkeymanager_p.h \ 52 kernel/qsoftkeymanager_common_p.h \ 52 53 kernel/qguiplatformplugin_p.h 53 54 … … 85 86 kernel/qgesturemanager.cpp \ 86 87 kernel/qsoftkeymanager.cpp \ 87 88 kernel/qdesktopwidget.cpp \ 88 89 kernel/qguiplatformplugin.cpp 89 90 … … 91 92 DEFINES += QT_NO_DIRECTDRAW 92 93 93 94 94 HEADERS += \ 95 kernel/qwinnativepangesturerecognizer_win_p.h 95 96 96 97 SOURCES += \ … … 104 105 kernel/qwidget_win.cpp \ 105 106 kernel/qole_win.cpp \ 106 107 108 109 107 kernel/qkeymapper_win.cpp \ 108 kernel/qwinnativepangesturerecognizer_win.cpp 109 110 !contains(DEFINES, QT_NO_DIRECTDRAW):LIBS += ddraw.lib 110 111 } 111 112 112 113 symbian { 113 SOURCES += \ 114 kernel/qapplication_s60.cpp \ 115 kernel/qeventdispatcher_s60.cpp \ 116 kernel/qwidget_s60.cpp \ 117 kernel/qcursor_s60.cpp \ 118 kernel/qdesktopwidget_s60.cpp \ 119 kernel/qkeymapper_s60.cpp\ 120 kernel/qclipboard_s60.cpp\ 121 kernel/qdnd_s60.cpp \ 122 kernel/qsound_s60.cpp 123 124 HEADERS += \ 125 kernel/qt_s60_p.h \ 126 kernel/qeventdispatcher_s60_p.h 127 LIBS += -lbafl -lestor 128 129 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE 114 SOURCES += \ 115 kernel/qapplication_s60.cpp \ 116 kernel/qeventdispatcher_s60.cpp \ 117 kernel/qwidget_s60.cpp \ 118 kernel/qcursor_s60.cpp \ 119 kernel/qdesktopwidget_s60.cpp \ 120 kernel/qkeymapper_s60.cpp\ 121 kernel/qclipboard_s60.cpp\ 122 kernel/qdnd_s60.cpp \ 123 kernel/qsound_s60.cpp \ 124 kernel/qsoftkeymanager_s60.cpp 125 126 HEADERS += \ 127 kernel/qt_s60_p.h \ 128 kernel/qeventdispatcher_s60_p.h \ 129 kernel/qsoftkeymanager_s60_p.h 130 131 LIBS += -lbafl -lestor 132 133 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE 134 INCLUDEPATH += ../3rdparty/s60 130 135 } 131 136 -
trunk/src/gui/kernel/qaction.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) … … 716 716 icon. 717 717 718 On Symbian the icons which are passed to softkeys, i.e. to actions with 719 softkey role, need to have pixmap alpha channel correctly set otherwise 720 drawing artifacts will appear when softkey is pressed down. 721 718 722 If a null icon (QIcon::isNull() is passed into this function, 719 723 the icon of the action is cleared. -
trunk/src/gui/kernel/qaction.h
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) -
trunk/src/gui/kernel/qaction_p.h
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) -
trunk/src/gui/kernel/qactiongroup.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) -
trunk/src/gui/kernel/qactiongroup.h
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) -
trunk/src/gui/kernel/qapplication.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) … … 122 122 static void initResources() 123 123 { 124 #if def Q_WS_WINCE124 #if defined(Q_WS_WINCE) 125 125 Q_INIT_RESOURCE(qstyle_wince); 126 #elif defined(Q_OS_SYMBIAN) 127 Q_INIT_RESOURCE(qstyle_s60); 126 128 #else 127 129 Q_INIT_RESOURCE(qstyle); -
trunk/src/gui/kernel/qapplication.h
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) -
trunk/src/gui/kernel/qapplication_mac.mm
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) … … 228 228 static void qt_mac_read_fontsmoothing_settings() 229 229 { 230 NSInteger appleFontSmoothing = [[NSUserDefaults standardUserDefaults] integerForKey:@"AppleFontSmoothing"]; 231 qt_applefontsmoothing_enabled = (appleFontSmoothing > 0); 230 qt_applefontsmoothing_enabled = true; 231 int w = 10, h = 10; 232 QImage image(w, h, QImage::Format_RGB32); 233 image.fill(0xffffffff); 234 QPainter p(&image); 235 p.drawText(0, h, "X\\"); 236 p.end(); 237 238 const int *bits = (const int *) ((const QImage &) image).bits(); 239 int bpl = image.bytesPerLine() / 4; 240 for (int y=0; y<w; ++y) { 241 for (int x=0; x<h; ++x) { 242 int r = qRed(bits[x]); 243 int g = qGreen(bits[x]); 244 int b = qBlue(bits[x]); 245 if (r != g || r != b) { 246 qt_applefontsmoothing_enabled = true; 247 return; 248 } 249 } 250 bits += bpl; 251 } 252 qt_applefontsmoothing_enabled = false; 232 253 } 233 254 … … 773 794 it->lastUpdateWidget = widget; 774 795 } else if (it->lastUpdateWidget == widget) { 775 // Update the gl wigets that the widget intersected the last time around, 776 // and that we are not intersecting now. This prevents paint errors when the 796 // Update the gl wigets that the widget intersected the last time around, 797 // and that we are not intersecting now. This prevents paint errors when the 777 798 // intersecting widget leaves a gl widget. 778 799 qt_post_window_change_event(glWidget); 779 it->lastUpdateWidget = 0; 800 it->lastUpdateWidget = 0; 780 801 } 781 802 } … … 809 830 // don't remove this line! 810 831 qt_event_request_window_change(); 811 812 // Post update request on gl widgets unconditionally. 832 833 // Post update request on gl widgets unconditionally. 813 834 if (qt_widget_private(widget)->isGLWidget == true) { 814 835 qt_post_window_change_event(widget); … … 1215 1236 QApplicationPrivate::qt_mac_apply_settings(); 1216 1237 1217 qt_mac_read_fontsmoothing_settings();1218 1219 1238 // Cocoa application delegate 1220 1239 #ifdef QT_MAC_USE_COCOA … … 1254 1273 priv->native_modal_dialog_active = false; 1255 1274 1275 qt_mac_read_fontsmoothing_settings(); 1256 1276 } 1257 1277 … … 1706 1726 // (actually two events; one for horizontal and one for vertical). 1707 1727 // As a results of this, and to make sure we dont't receive duplicate events, 1708 // we try to detect when this happend by checking the 'compatibilityEvent'. 1728 // we try to detect when this happend by checking the 'compatibilityEvent'. 1709 1729 SInt32 mdelt = 0; 1710 1730 GetEventParameter(event, kEventParamMouseWheelSmoothHorizontalDelta, typeSInt32, 0, … … 2577 2597 delete QApplicationPrivate::popupWidgets; 2578 2598 QApplicationPrivate::popupWidgets = 0; 2579 2599 2580 2600 // Special case for Tool windows: since they are activated and deactived together 2581 2601 // with a normal window they never become the QApplicationPrivate::active_window. -
trunk/src/gui/kernel/qapplication_p.h
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) … … 503 503 QSet<WId> nativeWindows; 504 504 505 int symbianProcessWsEvent(const TWsEvent *event);506 int symbianHandleCommand( int command);507 int symbianResourceChange( int type);505 int symbianProcessWsEvent(const QSymbianEvent *symbianEvent); 506 int symbianHandleCommand(const QSymbianEvent *symbianEvent); 507 int symbianResourceChange(const QSymbianEvent *symbianEvent); 508 508 509 509 #endif -
trunk/src/gui/kernel/qapplication_qws.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) -
trunk/src/gui/kernel/qapplication_s60.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) … … 72 72 # endif 73 73 # include <private/qs60mainapplication_p.h> 74 # include <centralrepository.h> 74 75 #endif 75 76 … … 808 809 void QSymbianControl::Draw(const TRect& controlRect) const 809 810 { 811 // Set flag to avoid calling DrawNow in window surface 812 QWidget *window = qwidget->window(); 813 Q_ASSERT(window); 814 QTLWExtra *topExtra = window->d_func()->maybeTopData(); 815 Q_ASSERT(topExtra); 816 if (!topExtra->inExpose) { 817 topExtra->inExpose = true; 818 QRect exposeRect = qt_TRect2QRect(controlRect); 819 qwidget->d_func()->syncBackingStore(exposeRect); 820 topExtra->inExpose = false; 821 } 822 810 823 QWindowSurface *surface = qwidget->windowSurface(); 811 824 QPaintEngine *engine = surface ? surface->paintDevice()->paintEngine() : NULL; … … 856 869 Q_ASSERT(false); 857 870 } 858 } else {859 surface->flush(qwidget, QRegion(qt_TRect2QRect(backingStoreRect)), QPoint());860 871 } 861 872 … … 917 928 qwidget->data->crect = cr; 918 929 QTLWExtra *top = qwidget->d_func()->maybeTopData(); 919 if (top )920 top->normalGeometry = cr;930 if (top && (qwidget->windowState() & (~Qt::WindowActive)) == Qt::WindowNoState) 931 top->normalGeometry.moveTopLeft(newPos); 921 932 if (qwidget->isVisible()) { 922 933 QMoveEvent e(newPos, oldPos); … … 931 942 void QSymbianControl::FocusChanged(TDrawNow /* aDrawNow */) 932 943 { 933 if (m_ignoreFocusChanged )944 if (m_ignoreFocusChanged || (qwidget->windowType() & Qt::WindowType_Mask) == Qt::Desktop) 934 945 return; 935 946 … … 953 964 qwidget->d_func()->setWindowTitle_sys(qwidget->windowTitle()); 954 965 #ifdef Q_WS_S60 955 // If widget is fullscreen, hide status pane and button container 956 // otherwise show them. 966 // If widget is fullscreen/minimized, hide status pane and button container otherwise show them. 957 967 CEikStatusPane* statusPane = S60->statusPane(); 958 968 CEikButtonGroupContainer* buttonGroup = S60->buttonGroupContainer(); 959 bool isFullscreen = qwidget->windowState() & Qt::WindowFullScreen;960 if (statusPane && (bool)statusPane->IsVisible() == isFullscreen)961 statusPane->MakeVisible( !isFullscreen);962 if (buttonGroup && (bool)buttonGroup->IsVisible() == isFullscreen)963 buttonGroup->MakeVisible( !isFullscreen);969 TBool visible = !(qwidget->windowState() & (Qt::WindowFullScreen | Qt::WindowMinimized)); 970 if (statusPane) 971 statusPane->MakeVisible(visible); 972 if (buttonGroup) 973 buttonGroup->MakeVisible(visible); 964 974 #endif 965 975 } else if (QApplication::activeWindow() == qwidget->window()) { … … 1198 1208 } 1199 1209 1210 S60->avkonComponentsSupportTransparency = false; 1211 1212 #ifdef Q_WS_S60 1213 TUid KCRUidAvkon = { 0x101F876E }; 1214 TUint32 KAknAvkonTransparencyEnabled = 0x0000000D; 1215 1216 CRepository* repository = 0; 1217 TRAP(err, repository = CRepository::NewL(KCRUidAvkon)); 1218 1219 if(err == KErrNone) { 1220 TInt value = 0; 1221 err = repository->Get(KAknAvkonTransparencyEnabled, value); 1222 if(err == KErrNone) { 1223 S60->avkonComponentsSupportTransparency = (value==1) ? true : false; 1224 } 1225 } 1226 #endif 1227 1200 1228 if (touch) { 1201 1229 QApplicationPrivate::navigationMode = Qt::NavigationModeNone; … … 1522 1550 } 1523 1551 1552 static inline bool callSymbianEventFilters(const QSymbianEvent *event) 1553 { 1554 long unused; 1555 return qApp->filterEvent(const_cast<QSymbianEvent *>(event), &unused); 1556 } 1557 1524 1558 /*! 1525 1559 \warning This function is only available on Symbian. … … 1538 1572 QScopedLoopLevelCounter counter(d->threadData); 1539 1573 1574 if (d->eventDispatcher->filterEvent(const_cast<QSymbianEvent *>(event))) 1575 return 1; 1576 1540 1577 QWidget *w = qApp ? qApp->focusWidget() : 0; 1541 1578 if (w) { … … 1550 1587 switch (event->type()) { 1551 1588 case QSymbianEvent::WindowServerEvent: 1552 return d->symbianProcessWsEvent(event ->windowServerEvent());1589 return d->symbianProcessWsEvent(event); 1553 1590 case QSymbianEvent::CommandEvent: 1554 return d->symbianHandleCommand(event ->command());1591 return d->symbianHandleCommand(event); 1555 1592 case QSymbianEvent::ResourceChangeEvent: 1556 return d->symbianResourceChange(event ->resourceChangeType());1593 return d->symbianResourceChange(event); 1557 1594 default: 1558 1595 return -1; … … 1560 1597 } 1561 1598 1562 int QApplicationPrivate::symbianProcessWsEvent(const TWsEvent *event)1599 int QApplicationPrivate::symbianProcessWsEvent(const QSymbianEvent *symbianEvent) 1563 1600 { 1564 1601 // Qt event handling. Handle some events regardless of if the handle is in our 1565 1602 // widget map or not. 1603 const TWsEvent *event = symbianEvent->windowServerEvent(); 1566 1604 CCoeControl* control = reinterpret_cast<CCoeControl*>(event->Handle()); 1567 1605 const bool controlInMap = QWidgetPrivate::mapper && QWidgetPrivate::mapper->contains(control); 1568 1606 switch (event->Type()) { 1569 1607 case EEventPointerEnter: 1570 if (controlInMap) 1608 if (controlInMap) { 1609 callSymbianEventFilters(symbianEvent); 1571 1610 return 1; // Qt::Enter will be generated in HandlePointerL 1611 } 1572 1612 break; 1573 1613 case EEventPointerExit: 1574 1614 if (controlInMap) { 1615 if (callSymbianEventFilters(symbianEvent)) 1616 return 1; 1575 1617 if (S60) { 1576 1618 // mouseEvent outside our window, send leave event to last focused widget … … 1585 1627 break; 1586 1628 case EEventScreenDeviceChanged: 1629 if (callSymbianEventFilters(symbianEvent)) 1630 return 1; 1587 1631 if (S60) 1588 1632 S60->updateScreenSize(); … … 1597 1641 case EEventWindowVisibilityChanged: 1598 1642 if (controlInMap) { 1643 if (callSymbianEventFilters(symbianEvent)) 1644 return 1; 1599 1645 const TWsVisibilityChangedEvent *visChangedEvent = event->VisibilityChanged(); 1600 1646 QWidget *w = QWidgetPrivate::mapper->value(control); … … 1604 1650 delete w->d_func()->topData()->backingStore; 1605 1651 w->d_func()->topData()->backingStore = 0; 1652 // In order to ensure that any resources used by the window surface 1653 // are immediately freed, we flush the WSERV command buffer. 1654 S60->wsSession().Flush(); 1606 1655 } else if ((visChangedEvent->iFlags & TWsVisibilityChangedEvent::EPartiallyVisible) 1607 1656 && !w->d_func()->maybeBackingStore()) { … … 1614 1663 break; 1615 1664 case EEventFocusGained: 1665 if (callSymbianEventFilters(symbianEvent)) 1666 return 1; 1616 1667 #ifndef QT_NO_CURSOR 1617 1668 //re-enable mouse interaction … … 1627 1678 break; 1628 1679 case EEventFocusLost: 1680 if (callSymbianEventFilters(symbianEvent)) 1681 return 1; 1629 1682 #ifndef QT_NO_CURSOR 1630 1683 //disable mouse as may be moving to application that does not support it … … 1678 1731 \sa s60EventFilter(), s60ProcessEvent() 1679 1732 */ 1680 int QApplicationPrivate::symbianHandleCommand( int command)1733 int QApplicationPrivate::symbianHandleCommand(const QSymbianEvent *symbianEvent) 1681 1734 { 1682 1735 Q_Q(QApplication); 1683 1736 int ret = 0; 1737 1738 if (callSymbianEventFilters(symbianEvent)) 1739 return 1; 1740 1741 int command = symbianEvent->command(); 1684 1742 1685 1743 switch (command) { … … 1722 1780 KAknsMessageSkinChange are handled. 1723 1781 */ 1724 int QApplicationPrivate::symbianResourceChange( int type)1782 int QApplicationPrivate::symbianResourceChange(const QSymbianEvent *symbianEvent) 1725 1783 { 1726 1784 int ret = 0; 1785 1786 int type = symbianEvent->resourceChangeType(); 1727 1787 1728 1788 switch (type) { … … 1730 1790 case KEikDynamicLayoutVariantSwitch: 1731 1791 { 1792 if (callSymbianEventFilters(symbianEvent)) 1793 return 1; 1732 1794 if (S60) 1733 1795 S60->updateScreenSize(); … … 1754 1816 #ifndef QT_NO_STYLE_S60 1755 1817 case KAknsMessageSkinChange: 1818 if (callSymbianEventFilters(symbianEvent)) 1819 return 1; 1756 1820 if (QS60Style *s60Style = qobject_cast<QS60Style*>(QApplication::style())) { 1757 1821 s60Style->d_func()->handleSkinChange(); -
trunk/src/gui/kernel/qapplication_win.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) -
trunk/src/gui/kernel/qapplication_x11.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) -
trunk/src/gui/kernel/qboxlayout.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) -
trunk/src/gui/kernel/qboxlayout.h
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) -
trunk/src/gui/kernel/qclipboard.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) -
trunk/src/gui/kernel/qclipboard.h
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) -
trunk/src/gui/kernel/qclipboard_mac.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) -
trunk/src/gui/kernel/qclipboard_p.h
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) -
trunk/src/gui/kernel/qclipboard_qws.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) -
trunk/src/gui/kernel/qclipboard_s60.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) -
trunk/src/gui/kernel/qclipboard_win.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) -
trunk/src/gui/kernel/qclipboard_x11.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) -
trunk/src/gui/kernel/qcocoaapplication_mac.mm
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) -
trunk/src/gui/kernel/qcocoaapplication_mac_p.h
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) -
trunk/src/gui/kernel/qcocoaapplicationdelegate_mac.mm
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) -
trunk/src/gui/kernel/qcocoaapplicationdelegate_mac_p.h
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) -
trunk/src/gui/kernel/qcocoamenuloader_mac.mm
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) -
trunk/src/gui/kernel/qcocoamenuloader_mac_p.h
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) -
trunk/src/gui/kernel/qcocoapanel_mac.mm
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) -
trunk/src/gui/kernel/qcocoapanel_mac_p.h
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) -
trunk/src/gui/kernel/qcocoasharedwindowmethods_mac_p.h
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) -
trunk/src/gui/kernel/qcocoaview_mac.mm
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) … … 508 508 } else { 509 509 [self setNeedsDisplay:YES]; 510 } 511 512 // Make sure the opengl context is updated on resize. 513 if (qwidgetprivate->isGLWidget) { 514 qwidgetprivate->needWindowChange = true; 515 QEvent event(QEvent::MacGLWindowChange); 516 qApp->sendEvent(qwidget, &event); 510 517 } 511 518 } -
trunk/src/gui/kernel/qcocoaview_mac_p.h
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) -
trunk/src/gui/kernel/qcocoawindow_mac.mm
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) -
trunk/src/gui/kernel/qcocoawindow_mac_p.h
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) -
trunk/src/gui/kernel/qcocoawindowcustomthemeframe_mac.mm
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) -
trunk/src/gui/kernel/qcocoawindowcustomthemeframe_mac_p.h
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) -
trunk/src/gui/kernel/qcocoawindowdelegate_mac.mm
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) -
trunk/src/gui/kernel/qcocoawindowdelegate_mac_p.h
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) -
trunk/src/gui/kernel/qcursor.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) -
trunk/src/gui/kernel/qcursor.h
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) -
trunk/src/gui/kernel/qcursor_mac.mm
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) -
trunk/src/gui/kernel/qcursor_p.h
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) -
trunk/src/gui/kernel/qcursor_qws.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) -
trunk/src/gui/kernel/qcursor_s60.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) -
trunk/src/gui/kernel/qcursor_win.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) -
trunk/src/gui/kernel/qcursor_x11.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) -
trunk/src/gui/kernel/qdesktopwidget.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) … … 48 48 const QRect QDesktopWidget::screenGeometry(const QWidget *widget) const 49 49 { 50 if (!widget) { 51 qWarning("QDesktopWidget::screenGeometry(): Attempt " 52 "to get the screen geometry of a null widget"); 53 return QRect(); 54 } 50 55 QRect rect = QWidgetPrivate::screenGeometry(widget); 51 56 if (rect.isNull()) … … 56 61 const QRect QDesktopWidget::availableGeometry(const QWidget *widget) const 57 62 { 63 if (!widget) { 64 qWarning("QDesktopWidget::availableGeometry(): Attempt " 65 "to get the available geometry of a null widget"); 66 return QRect(); 67 } 58 68 QRect rect = QWidgetPrivate::screenGeometry(widget); 59 69 if (rect.isNull()) -
trunk/src/gui/kernel/qdesktopwidget.h
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) -
trunk/src/gui/kernel/qdesktopwidget.qdoc
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) -
trunk/src/gui/kernel/qdesktopwidget_mac.mm
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) -
trunk/src/gui/kernel/qdesktopwidget_mac_p.h
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) -
trunk/src/gui/kernel/qdesktopwidget_qws.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) -
trunk/src/gui/kernel/qdesktopwidget_s60.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) -
trunk/src/gui/kernel/qdesktopwidget_win.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) -
trunk/src/gui/kernel/qdesktopwidget_x11.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) -
trunk/src/gui/kernel/qdnd.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) -
trunk/src/gui/kernel/qdnd_mac.mm
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) -
trunk/src/gui/kernel/qdnd_p.h
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) -
trunk/src/gui/kernel/qdnd_qws.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) -
trunk/src/gui/kernel/qdnd_s60.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) -
trunk/src/gui/kernel/qdnd_win.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) -
trunk/src/gui/kernel/qdnd_x11.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) -
trunk/src/gui/kernel/qdrag.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) -
trunk/src/gui/kernel/qdrag.h
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) -
trunk/src/gui/kernel/qevent.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) -
trunk/src/gui/kernel/qevent.h
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) -
trunk/src/gui/kernel/qevent_p.h
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) -
trunk/src/gui/kernel/qeventdispatcher_glib_qws.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) -
trunk/src/gui/kernel/qeventdispatcher_glib_qws_p.h
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) -
trunk/src/gui/kernel/qeventdispatcher_mac.mm
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) … … 570 570 if (NSModalSession session = d->currentModalSession()) { 571 571 QBoolBlocker execGuard(d->currentExecIsNSAppRun, false); 572 while ( !d->interrupt && [NSApp runModalSession:session] == NSRunContinuesResponse)572 while ([NSApp runModalSession:session] == NSRunContinuesResponse && !d->interrupt) 573 573 qt_mac_waitForMoreModalSessionEvents(); 574 574 if (!d->interrupt && session == d->currentModalSessionCached) { -
trunk/src/gui/kernel/qeventdispatcher_mac_p.h
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) -
trunk/src/gui/kernel/qeventdispatcher_qws.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) -
trunk/src/gui/kernel/qeventdispatcher_qws_p.h
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) -
trunk/src/gui/kernel/qeventdispatcher_s60.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) -
trunk/src/gui/kernel/qeventdispatcher_s60_p.h
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) -
trunk/src/gui/kernel/qeventdispatcher_x11.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) -
trunk/src/gui/kernel/qeventdispatcher_x11_p.h
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) -
trunk/src/gui/kernel/qformlayout.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) … … 1926 1926 If the field on the right-hand side is tall, 1927 1927 we want the label to be top-aligned, but not too 1928 much. So we introduce a 5/ 4 factor so that it1929 gets a fewextra pixels at the top.1928 much. So we introduce a 7 / 4 factor so that it 1929 gets some extra pixels at the top. 1930 1930 */ 1931 1931 height = qMin(height, 1932 qMin(label->sizeHint.height() * 5/ 4,1932 qMin(label->sizeHint.height() * 7 / 4, 1933 1933 label->maxSize.height())); 1934 1934 } -
trunk/src/gui/kernel/qformlayout.h
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) -
trunk/src/gui/kernel/qgesture.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) -
trunk/src/gui/kernel/qgesture.h
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) -
trunk/src/gui/kernel/qgesture_p.h
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) -
trunk/src/gui/kernel/qgesturemanager.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) -
trunk/src/gui/kernel/qgesturemanager_p.h
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) -
trunk/src/gui/kernel/qgesturerecognizer.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) -
trunk/src/gui/kernel/qgesturerecognizer.h
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) -
trunk/src/gui/kernel/qgridlayout.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) -
trunk/src/gui/kernel/qgridlayout.h
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) -
trunk/src/gui/kernel/qguieventdispatcher_glib.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) -
trunk/src/gui/kernel/qguieventdispatcher_glib_p.h
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) -
trunk/src/gui/kernel/qguifunctions_wince.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) -
trunk/src/gui/kernel/qguifunctions_wince.h
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) -
trunk/src/gui/kernel/qguiplatformplugin.cpp
r569 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) -
trunk/src/gui/kernel/qguiplatformplugin_p.h
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) -
trunk/src/gui/kernel/qguivariant.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) -
trunk/src/gui/kernel/qkde.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) -
trunk/src/gui/kernel/qkde_p.h
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) -
trunk/src/gui/kernel/qkeymapper.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) -
trunk/src/gui/kernel/qkeymapper_mac.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) -
trunk/src/gui/kernel/qkeymapper_p.h
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) -
trunk/src/gui/kernel/qkeymapper_qws.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) -
trunk/src/gui/kernel/qkeymapper_s60.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) -
trunk/src/gui/kernel/qkeymapper_win.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) -
trunk/src/gui/kernel/qkeymapper_x11.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) -
trunk/src/gui/kernel/qkeymapper_x11_p.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) -
trunk/src/gui/kernel/qkeysequence.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) -
trunk/src/gui/kernel/qkeysequence.h
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) -
trunk/src/gui/kernel/qkeysequence_p.h
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) -
trunk/src/gui/kernel/qlayout.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) -
trunk/src/gui/kernel/qlayout.h
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) -
trunk/src/gui/kernel/qlayout_p.h
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) -
trunk/src/gui/kernel/qlayoutengine.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) -
trunk/src/gui/kernel/qlayoutengine_p.h
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) -
trunk/src/gui/kernel/qlayoutitem.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) -
trunk/src/gui/kernel/qlayoutitem.h
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) -
trunk/src/gui/kernel/qmacdefines_mac.h
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) -
trunk/src/gui/kernel/qmacgesturerecognizer_mac.mm
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) -
trunk/src/gui/kernel/qmacgesturerecognizer_mac_p.h
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) -
trunk/src/gui/kernel/qmime.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) -
trunk/src/gui/kernel/qmime.h
r580 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) -
trunk/src/gui/kernel/qmime_mac.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) -
trunk/src/gui/kernel/qmime_win.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) -
trunk/src/gui/kernel/qmotifdnd_x11.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) -
trunk/src/gui/kernel/qmultitouch_mac.mm
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) -
trunk/src/gui/kernel/qmultitouch_mac_p.h
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) -
trunk/src/gui/kernel/qnsframeview_mac_p.h
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) -
trunk/src/gui/kernel/qnsthemeframe_mac_p.h
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) -
trunk/src/gui/kernel/qnstitledframe_mac_p.h
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) -
trunk/src/gui/kernel/qole_win.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) -
trunk/src/gui/kernel/qpalette.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) -
trunk/src/gui/kernel/qpalette.h
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) -
trunk/src/gui/kernel/qsessionmanager.h
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) -
trunk/src/gui/kernel/qsessionmanager_qws.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) -
trunk/src/gui/kernel/qshortcut.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) -
trunk/src/gui/kernel/qshortcut.h
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) -
trunk/src/gui/kernel/qshortcutmap.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) -
trunk/src/gui/kernel/qshortcutmap_p.h
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) -
trunk/src/gui/kernel/qsizepolicy.h
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) -
trunk/src/gui/kernel/qsizepolicy.qdoc
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) -
trunk/src/gui/kernel/qsoftkeymanager.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) … … 42 42 #include "qapplication.h" 43 43 #include "qevent.h" 44 #ifdef Q_WS_S60 45 #include "qstyle.h" 46 #include "private/qt_s60_p.h" 47 #endif 44 #include "qbitmap.h" 48 45 #include "private/qsoftkeymanager_p.h" 49 46 #include "private/qobject_p.h" 47 #include "private/qsoftkeymanager_common_p.h" 48 49 #ifdef Q_WS_S60 50 #include "private/qsoftkeymanager_s60_p.h" 51 #endif 50 52 51 53 #ifndef QT_NO_SOFTKEYMANAGER 52 54 QT_BEGIN_NAMESPACE 53 55 54 #ifdef Q_WS_S6055 static const int s60CommandStart = 6000;56 #endif57 58 class QSoftKeyManagerPrivate : public QObjectPrivate59 {60 Q_DECLARE_PUBLIC(QSoftKeyManager)61 62 public:63 static void updateSoftKeys_sys(const QList<QAction*> &softKeys);64 65 private:66 QHash<QAction*, Qt::Key> keyedActions;67 static QSoftKeyManager *self;68 static QWidget *softKeySource;69 };70 71 QWidget *QSoftKeyManagerPrivate::softKeySource = 0;72 56 QSoftKeyManager *QSoftKeyManagerPrivate::self = 0; 73 57 … … 106 90 } 107 91 108 QSoftKeyManager::QSoftKeyManager() : QObject(*(new QSoftKeyManagerPrivate), 0) 92 QSoftKeyManager::QSoftKeyManager() : 93 #ifdef Q_WS_S60 94 QObject(*(new QSoftKeyManagerPrivateS60), 0) 95 #else 96 QObject(*(new QSoftKeyManagerPrivate), 0) 97 #endif 109 98 { 110 99 } … … 116 105 QAction::SoftKeyRole softKeyRole = QAction::NoSoftKey; 117 106 switch (standardKey) { 107 case MenuSoftKey: // FALL-THROUGH 108 action->setProperty(MENU_ACTION_PROPERTY, QVariant(true)); // TODO: can be refactored away to use _q_action_menubar 118 109 case OkSoftKey: 119 110 case SelectSoftKey: 120 111 case DoneSoftKey: 121 case MenuSoftKey:122 112 softKeyRole = QAction::PositiveSoftKey; 123 113 break; … … 148 138 } 149 139 150 void QSoftKeyManager::cleanupHash(QObject *obj)140 void QSoftKeyManager::cleanupHash(QObject *obj) 151 141 { 152 142 Q_D(QSoftKeyManager); … … 176 166 } 177 167 168 bool QSoftKeyManager::appendSoftkeys(const QWidget &source, int level) 169 { 170 Q_D(QSoftKeyManager); 171 bool ret = false; 172 QList<QAction*> actions = source.actions(); 173 for (int i = 0; i < actions.count(); ++i) { 174 if (actions.at(i)->softKeyRole() != QAction::NoSoftKey) { 175 d->requestedSoftKeyActions.insert(level, actions.at(i)); 176 ret = true; 177 } 178 } 179 return ret; 180 } 181 182 QWidget *QSoftKeyManager::softkeySource(QWidget *previousSource, bool& recursiveMerging) 183 { 184 Q_D(QSoftKeyManager); 185 QWidget *source = NULL; 186 if (!previousSource) { 187 // Initial source is primarily focuswidget and secondarily activeWindow 188 source = QApplication::focusWidget(); 189 if (!source) 190 source = QApplication::activeWindow(); 191 } else { 192 // Softkey merging is based on four criterias 193 // 1. Implicit merging is used whenever focus widget does not specify any softkeys 194 bool implicitMerging = d->requestedSoftKeyActions.isEmpty(); 195 // 2. Explicit merging with parent is used whenever WA_MergeSoftkeys widget attribute is set 196 bool explicitMerging = previousSource->testAttribute(Qt::WA_MergeSoftkeys); 197 // 3. Explicit merging with all parents 198 recursiveMerging |= previousSource->testAttribute(Qt::WA_MergeSoftkeysRecursively); 199 // 4. Implicit and explicit merging always stops at window boundary 200 bool merging = (implicitMerging || explicitMerging || recursiveMerging) && !previousSource->isWindow(); 201 202 source = merging ? previousSource->parentWidget() : NULL; 203 } 204 return source; 205 } 206 207 bool QSoftKeyManager::handleUpdateSoftKeys() 208 { 209 Q_D(QSoftKeyManager); 210 int level = 0; 211 d->requestedSoftKeyActions.clear(); 212 bool recursiveMerging = false; 213 QWidget *source = softkeySource(NULL, recursiveMerging); 214 do { 215 if (source) { 216 bool added = appendSoftkeys(*source, level); 217 source = softkeySource(source, recursiveMerging); 218 level = added ? ++level : level; 219 } 220 } while (source); 221 222 d->updateSoftKeys_sys(); 223 return true; 224 } 225 178 226 bool QSoftKeyManager::event(QEvent *e) 179 227 { 180 228 #ifndef QT_NO_ACTION 181 if (e->type() == QEvent::UpdateSoftKeys) { 182 QList<QAction*> softKeys; 183 QWidget *source = QApplication::focusWidget(); 184 do { 185 if (source) { 186 QList<QAction*> actions = source->actions(); 187 for (int i = 0; i < actions.count(); ++i) { 188 if (actions.at(i)->softKeyRole() != QAction::NoSoftKey) 189 softKeys.append(actions.at(i)); 190 } 191 192 QWidget *parent = source->parentWidget(); 193 if (parent && softKeys.isEmpty() && !source->isWindow()) 194 source = parent; 195 else 196 break; 197 } else { 198 source = QApplication::activeWindow(); 199 } 200 } while (source); 201 202 QSoftKeyManagerPrivate::softKeySource = source; 203 QSoftKeyManagerPrivate::updateSoftKeys_sys(softKeys); 204 return true; 205 } 229 if (e->type() == QEvent::UpdateSoftKeys) 230 return handleUpdateSoftKeys(); 206 231 #endif //QT_NO_ACTION 207 232 return false; … … 209 234 210 235 #ifdef Q_WS_S60 211 void QSoftKeyManagerPrivate::updateSoftKeys_sys(const QList<QAction*> &softkeys)212 {213 // lets not update softkeys if s60 native dialog or menu is shown214 if (QApplication::testAttribute(Qt::AA_S60DontConstructApplicationPanes)215 || CCoeEnv::Static()->AppUi()->IsDisplayingMenuOrDialog())216 return;217 218 CEikButtonGroupContainer* nativeContainer = S60->buttonGroupContainer();219 nativeContainer->DrawableWindow()->SetOrdinalPosition(0);220 nativeContainer->DrawableWindow()->SetPointerCapturePriority(1); //keep softkeys available in modal dialog221 nativeContainer->DrawableWindow()->SetFaded(EFalse, RWindowTreeNode::EFadeIncludeChildren);222 223 int position = -1;224 bool needsExitButton = true;225 QT_TRAP_THROWING(226 //Using -1 instead of EAknSoftkeyEmpty to avoid flickering.227 nativeContainer->SetCommandL(0, -1, KNullDesC);228 nativeContainer->SetCommandL(2, -1, KNullDesC);229 );230 231 for (int index = 0; index < softkeys.count(); index++) {232 const QAction* softKeyAction = softkeys.at(index);233 switch (softKeyAction->softKeyRole()) {234 // Positive Actions on the LSK235 case QAction::PositiveSoftKey:236 position = 0;237 break;238 case QAction::SelectSoftKey:239 position = 0;240 break;241 // Negative Actions on the RSK242 case QAction::NegativeSoftKey:243 needsExitButton = false;244 position = 2;245 break;246 default:247 break;248 }249 250 int command = (softKeyAction->objectName().contains(QLatin1String("_q_menuSoftKeyAction")))251 ? EAknSoftkeyOptions252 : s60CommandStart + index;253 254 // _q_menuSoftKeyAction action is set to "invisible" and all invisible actions are by default255 // disabled. However we never want to dim options softkey, even it is set to "invisible"256 bool dimmed = (command == EAknSoftkeyOptions) ? false : !softKeyAction->isEnabled();257 258 if (position != -1) {259 const int underlineShortCut = QApplication::style()->styleHint(QStyle::SH_UnderlineShortcut);260 QString iconText = softKeyAction->iconText();261 TPtrC text = qt_QString2TPtrC( underlineShortCut ? softKeyAction->text() : iconText);262 QT_TRAP_THROWING(263 nativeContainer->SetCommandL(position, command, text);264 nativeContainer->DimCommand(command, dimmed);265 );266 }267 }268 269 const Qt::WindowType sourceWindowType = QSoftKeyManagerPrivate::softKeySource270 ? QSoftKeyManagerPrivate::softKeySource->window()->windowType()271 : Qt::Widget;272 273 if (needsExitButton && sourceWindowType != Qt::Dialog && sourceWindowType != Qt::Popup)274 QT_TRAP_THROWING(275 nativeContainer->SetCommandL(2, EAknSoftkeyExit, qt_QString2TPtrC(QSoftKeyManager::tr("Exit"))));276 277 nativeContainer->DrawDeferred(); // 3.1 needs an extra invitation278 }279 280 236 bool QSoftKeyManager::handleCommand(int command) 281 237 { 282 if (command >= s60CommandStart && QSoftKeyManagerPrivate::softKeySource) { 283 int index = command - s60CommandStart; 284 const QList<QAction*>& softKeys = QSoftKeyManagerPrivate::softKeySource->actions(); 285 for (int i = 0, j = 0; i < softKeys.count(); ++i) { 286 QAction *action = softKeys.at(i); 287 if (action->softKeyRole() != QAction::NoSoftKey) { 288 if (j == index) { 289 QWidget *parent = action->parentWidget(); 290 if (parent && parent->isEnabled()) { 291 action->activate(QAction::Trigger); 292 return true; 293 } 294 } 295 j++; 296 } 297 } 298 } 299 300 return false; 301 } 302 303 #else 304 305 void QSoftKeyManagerPrivate::updateSoftKeys_sys(const QList<QAction*> &) 306 { 307 } 308 238 return static_cast<QSoftKeyManagerPrivateS60*>(QSoftKeyManager::instance()->d_func())->handleCommand(command); 239 } 309 240 #endif 310 241 -
trunk/src/gui/kernel/qsoftkeymanager_p.h
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) … … 64 64 class QSoftKeyManagerPrivate; 65 65 66 const char MENU_ACTION_PROPERTY[] = "_q_menuaction"; 67 66 68 class Q_AUTOTEST_EXPORT QSoftKeyManager : public QObject 67 69 { … … 80 82 81 83 static void updateSoftKeys(); 84 #ifdef Q_WS_S60 85 static bool handleCommand(int); 86 #endif 87 82 88 static QAction *createAction(StandardSoftKey standardKey, QWidget *actionWidget); 83 89 static QAction *createKeyedAction(StandardSoftKey standardKey, Qt::Key key, QWidget *actionWidget); 84 90 85 #ifdef Q_WS_S60 86 static bool handleCommand(int); 87 #endif 91 protected: 92 bool event(QEvent *e); 88 93 89 94 private: … … 91 96 static QSoftKeyManager *instance(); 92 97 static const char *standardSoftKeyText(StandardSoftKey standardKey); 93 94 protected: 95 bool event(QEvent *e); 96 97 Q_DISABLE_COPY(QSoftKeyManager) 98 bool appendSoftkeys(const QWidget &source, int level); 99 QWidget *softkeySource(QWidget *previousSource, bool& recursiveMerging); 100 bool handleUpdateSoftKeys(); 98 101 99 102 private Q_SLOTS: 100 103 void cleanupHash(QObject* obj); 101 104 void sendKeyEvent(); 105 106 private: 107 Q_DISABLE_COPY(QSoftKeyManager) 102 108 }; 103 109 -
trunk/src/gui/kernel/qsound.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) -
trunk/src/gui/kernel/qsound.h
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) -
trunk/src/gui/kernel/qsound_mac.mm
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) -
trunk/src/gui/kernel/qsound_p.h
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) -
trunk/src/gui/kernel/qsound_qws.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) -
trunk/src/gui/kernel/qsound_s60.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) -
trunk/src/gui/kernel/qsound_win.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) -
trunk/src/gui/kernel/qsound_x11.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) -
trunk/src/gui/kernel/qstackedlayout.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) -
trunk/src/gui/kernel/qstackedlayout.h
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) -
trunk/src/gui/kernel/qstandardgestures.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) -
trunk/src/gui/kernel/qstandardgestures_p.h
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) -
trunk/src/gui/kernel/qt_cocoa_helpers_mac.mm
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) -
trunk/src/gui/kernel/qt_cocoa_helpers_mac_p.h
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) -
trunk/src/gui/kernel/qt_gui_pch.h
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) -
trunk/src/gui/kernel/qt_mac.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) -
trunk/src/gui/kernel/qt_mac_p.h
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) -
trunk/src/gui/kernel/qt_s60_p.h
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) … … 122 122 int qtOwnsS60Environment : 1; 123 123 int supportsPremultipliedAlpha : 1; 124 int avkonComponentsSupportTransparency : 1; 124 125 QApplication::QS60MainApplicationFactory s60ApplicationFactory; // typedef'ed pointer type 125 126 static inline void updateScreenSize(); … … 128 129 static inline CWsScreenDevice* screenDevice(); 129 130 static inline CCoeAppUi* appUi(); 131 static inline CEikMenuBar* menuBar(); 130 132 #ifdef Q_WS_S60 131 133 static inline CEikStatusPane* statusPane(); … … 270 272 } 271 273 274 inline CEikMenuBar* QS60Data::menuBar() 275 { 276 return CEikonEnv::Static()->AppUiFactory()->MenuBar(); 277 } 278 272 279 #ifdef Q_WS_S60 273 280 inline CEikStatusPane* QS60Data::statusPane() -
trunk/src/gui/kernel/qt_x11_p.h
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) -
trunk/src/gui/kernel/qtooltip.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) -
trunk/src/gui/kernel/qtooltip.h
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) -
trunk/src/gui/kernel/qwhatsthis.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) -
trunk/src/gui/kernel/qwhatsthis.h
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) -
trunk/src/gui/kernel/qwidget.cpp
r569 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) … … 1446 1446 #endif 1447 1447 1448 if (QWidgetBackingStore *bs = d->maybeBackingStore()) { 1448 if (d->extra && d->extra->topextra && d->extra->topextra->backingStore) { 1449 // Okay, we are about to destroy the top-level window that owns 1450 // the backing store. Make sure we delete the backing store right away 1451 // before the window handle is invalid. This is important because 1452 // the backing store will delete its window surface, which may or may 1453 // not have a reference to this widget that will be used later to 1454 // notify the window it no longer has a surface. 1455 delete d->extra->topextra->backingStore; 1456 d->extra->topextra->backingStore = 0; 1457 } else if (QWidgetBackingStore *bs = d->maybeBackingStore()) { 1449 1458 bs->removeDirtyWidget(this); 1450 1459 if (testAttribute(Qt::WA_StaticContents)) … … 2033 2042 #endif 2034 2043 2044 #ifdef Q_WS_S60 2045 if (q->windowType() == Qt::Dialog && q->testAttribute(Qt::WA_TranslucentBackground) 2046 && S60->avkonComponentsSupportTransparency) { 2047 setOpaque(false); 2048 return; 2049 } 2050 #endif 2051 2035 2052 if (q->testAttribute(Qt::WA_OpaquePaintEvent) || q->testAttribute(Qt::WA_PaintOnScreen)) { 2036 2053 setOpaque(true); … … 3095 3112 QInputContext *qic = focusWidget->d_func()->inputContext(); 3096 3113 if (enable) { 3097 qic->setFocusWidget(focusWidget); 3114 if (focusWidget->testAttribute(Qt::WA_InputMethodEnabled)) 3115 qic->setFocusWidget(focusWidget); 3098 3116 } else { 3099 3117 qic->reset(); … … 6412 6430 } 6413 6431 6432 if (fp == second) 6433 return; 6414 6434 6415 6435 if (QWidget *sp = second->focusProxy()) … … 10399 10419 QWidget *focusWidget = d->effectiveFocusWidget(); 10400 10420 QInputContext *ic = 0; 10401 if (on && !internalWinId() && testAttribute(Qt::WA_InputMethodEnabled) && hasFocus()) { 10421 if (on && !internalWinId() && hasFocus() 10422 && focusWidget->testAttribute(Qt::WA_InputMethodEnabled)) { 10402 10423 ic = focusWidget->d_func()->inputContext(); 10403 ic->reset(); 10404 ic->setFocusWidget(0); 10424 if (ic) { 10425 ic->reset(); 10426 ic->setFocusWidget(0); 10427 } 10405 10428 } 10406 #endif10407 10429 if (!qApp->testAttribute(Qt::AA_DontCreateNativeWidgetSiblings) && parentWidget()) 10408 10430 parentWidget()->d_func()->enforceNativeChildren(); 10409 10431 if (on && !internalWinId() && testAttribute(Qt::WA_WState_Created)) 10410 10432 d->createWinId(); 10411 #ifndef QT_NO_IM 10412 if (ic && isEnabled())10433 if (ic && isEnabled() && focusWidget->isEnabled() 10434 && focusWidget->testAttribute(Qt::WA_InputMethodEnabled)) { 10413 10435 ic->setFocusWidget(focusWidget); 10436 } 10414 10437 #endif //QT_NO_IM 10415 10438 break; … … 10449 10472 if (ic) { 10450 10473 if (on && hasFocus() && ic->focusWidget() != focusWidget && isEnabled()) { 10474 && focusWidget->testAttribute(Qt::WA_InputMethodEnabled)) { 10451 10475 ic->setFocusWidget(focusWidget); 10452 10476 } else if (!on && ic->focusWidget() == focusWidget) { -
trunk/src/gui/kernel/qwidget.h
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) -
trunk/src/gui/kernel/qwidget_mac.mm
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) … … 111 111 #include "qdnd_p.h" 112 112 #include <QtGui/qgraphicsproxywidget.h> 113 #include "qmainwindow.h" 113 114 114 115 QT_BEGIN_NAMESPACE … … 404 405 qt_mac_app_fullscreen = b; 405 406 if (b) { 406 SetSystemUIMode(kUIModeAll Suppressed, 0);407 SetSystemUIMode(kUIModeAllHidden, kUIOptionAutoShowMenuBar); 407 408 } else { 408 409 SetSystemUIMode(kUIModeNormal, 0); … … 1722 1723 { 1723 1724 Q_Q(QWidget); 1725 #if !defined(QT_NO_MAINWINDOW) && !defined(QT_NO_TOOLBAR) 1726 // Make sure that QMainWindow has the MacWindowToolBarButtonHint when the 1727 // unifiedTitleAndToolBarOnMac property is ON. This is to avoid reentry of 1728 // setParent() triggered by the QToolBar::event(QEvent::ParentChange). 1729 QMainWindow *mainWindow = qobject_cast<QMainWindow *>(q); 1730 if (mainWindow && mainWindow->unifiedTitleAndToolBarOnMac()) { 1731 data.window_flags |= Qt::MacWindowToolBarButtonHint; 1732 } 1733 #endif 1724 1734 #ifndef QT_MAC_USE_COCOA 1725 1735 // ### COCOA:Interleave these better! … … 2744 2754 if (wasWindow) { 2745 2755 oldToolbar = [oldWindow toolbar]; 2756 [oldToolbar retain]; 2746 2757 oldToolbarVisible = [oldToolbar isVisible]; 2758 [oldWindow setToolbar:nil]; 2747 2759 } 2748 2760 #endif … … 2788 2800 OSWindowRef newWindow = qt_mac_window_for(q); 2789 2801 [newWindow setToolbar:oldToolbar]; 2802 [oldToolbar release]; 2790 2803 [oldToolbar setVisible:oldToolbarVisible]; 2791 2804 } … … 3402 3415 #else 3403 3416 [window orderOut:window]; 3417 // Unfortunately it is not as easy as just hiding the window, we need 3418 // to find out if we were in full screen mode. If we were and this is 3419 // the last window in full screen mode then we need to unset the full screen 3420 // mode. If this is not the last visible window in full screen mode then we 3421 // don't change the full screen mode. 3422 if(q->isFullScreen()) 3423 { 3424 bool keepFullScreen = false; 3425 QWidgetList windowList = qApp->topLevelWidgets(); 3426 int windowCount = windowList.count(); 3427 for(int i = 0; i < windowCount; i++) 3428 { 3429 QWidget *w = windowList[i]; 3430 // If it is the same window, we don't need to check :-) 3431 if(q == w) 3432 continue; 3433 // If they are not visible or if they are minimized then 3434 // we just ignore them. 3435 if(!w->isVisible() || w->isMinimized()) 3436 continue; 3437 // Is it full screen? 3438 // Notice that if there is one window in full screen mode then we 3439 // cannot switch the full screen mode off, therefore we just abort. 3440 if(w->isFullScreen()) { 3441 keepFullScreen = true; 3442 break; 3443 } 3444 } 3445 // No windows in full screen mode, so let just unset that flag. 3446 if(!keepFullScreen) 3447 qt_mac_set_fullscreen_mode(false); 3448 } 3404 3449 #endif 3405 3450 toggleDrawers(false); … … 3672 3717 3673 3718 #if QT_MAC_USE_COCOA 3719 QMacCocoaAutoReleasePool pool; 3674 3720 if (isRealWindow()) { 3675 3721 // Calling orderFront shows the window on Cocoa too. -
trunk/src/gui/kernel/qwidget_p.h
r569 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) … … 178 178 QWSManager *qwsManager; 179 179 #endif 180 #elif defined(Q_OS_SYMBIAN) 181 uint inExpose : 1; // Prevents drawing recursion 180 182 #elif defined(Q_WS_PM) 181 183 HWND fId; -
trunk/src/gui/kernel/qwidget_qws.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) -
trunk/src/gui/kernel/qwidget_s60.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) … … 390 390 if (!isOpaque) { 391 391 RWindow *const window = static_cast<RWindow *>(drawableWindow); 392 #ifdef Q_SYMBIAN_SEMITRANSPARENT_BG_SURFACE 393 window->SetSurfaceTransparency(true); 394 #else 392 395 const TDisplayMode displayMode = static_cast<TDisplayMode>(window->SetRequiredDisplayMode(EColor16MA)); 393 396 if (window->SetTransparencyAlphaChannel() == KErrNone) 394 397 window->SetBackgroundColor(TRgb(255, 255, 255, 0)); 398 #endif 395 399 } 396 400 } … … 708 712 RWindow *const window = static_cast<RWindow *>(q->effectiveWinId()->DrawableWindow()); 709 713 714 #ifdef Q_SYMBIAN_SEMITRANSPARENT_BG_SURFACE 715 window->SetSurfaceTransparency(!isOpaque); 716 #else 710 717 if (!isOpaque) { 711 718 const TDisplayMode displayMode = static_cast<TDisplayMode>(window->SetRequiredDisplayMode(EColor16MA)); … … 714 721 } else 715 722 window->SetTransparentRegion(TRegionFix<1>()); 723 #endif 716 724 } 717 725 … … 871 879 { 872 880 extra->topextra->backingStore = 0; 881 extra->topextra->inExpose = 0; 873 882 } 874 883 … … 1038 1047 1039 1048 if (isWindow()) { 1049 1050 QSymbianControl *window = static_cast<QSymbianControl *>(effectiveWinId()); 1051 if (window && newstate & Qt::WindowMinimized) { 1052 window->setFocusSafely(false); 1053 window->MakeVisible(false); 1054 } else if (window && oldstate & Qt::WindowMinimized) { 1055 window->setFocusSafely(true); 1056 window->MakeVisible(true); 1057 } 1058 1040 1059 #ifdef Q_WS_S60 1041 // Change window decoration visibility if switching to or from fullsccreen 1042 // In addition decoration visibility is changed when the initial has been 1043 // WindowNoState. 1044 // The window decoration visibility has to be changed before doing actual 1045 // window state change since in that order the availableGeometry will return 1046 // directly the right size and we will avoid unnecessarty redraws 1047 if ((oldstate & Qt::WindowFullScreen) != (newstate & Qt::WindowFullScreen) || 1048 oldstate == Qt::WindowNoState) { 1049 CEikStatusPane* statusPane = S60->statusPane(); 1050 CEikButtonGroupContainer* buttonGroup = S60->buttonGroupContainer(); 1051 if (newstate & Qt::WindowFullScreen) { 1052 if (statusPane) 1053 statusPane->MakeVisible(false); 1054 if (buttonGroup) 1055 buttonGroup->MakeVisible(false); 1056 } else { 1057 if (statusPane) 1058 statusPane->MakeVisible(true); 1059 if (buttonGroup) 1060 buttonGroup->MakeVisible(true); 1061 } 1062 1063 } 1060 // Hide window decoration when switching to fullsccreen / minimized otherwise show decoration. 1061 // The window decoration visibility has to be changed before doing actual window state 1062 // change since in that order the availableGeometry will return directly the right size and 1063 // we will avoid unnecessarty redraws 1064 CEikStatusPane* statusPane = S60->statusPane(); 1065 CEikButtonGroupContainer* buttonGroup = S60->buttonGroupContainer(); 1066 TBool visible = !(newstate & (Qt::WindowFullScreen | Qt::WindowMinimized)); 1067 if (statusPane) 1068 statusPane->MakeVisible(visible); 1069 if (buttonGroup) 1070 buttonGroup->MakeVisible(visible); 1064 1071 #endif // Q_WS_S60 1065 1072 1066 1073 createWinId(); 1067 1074 Q_ASSERT(testAttribute(Qt::WA_WState_Created)); 1068 QTLWExtra *top = d->topData();1069 1070 1075 // Ensure the initial size is valid, since we store it as normalGeometry below. 1071 1076 if (!testAttribute(Qt::WA_Resized) && !isVisible()) 1072 1077 adjustSize(); 1073 1078 1074 if ((oldstate & Qt::WindowMaximized) != (newstate & Qt::WindowMaximized)) { 1075 if ((newstate & Qt::WindowMaximized)) { 1076 const QRect normalGeometry = geometry(); 1077 1078 const QRect r = top->normalGeometry; 1079 setGeometry(qApp->desktop()->availableGeometry(this)); 1080 top->normalGeometry = r; 1081 1082 if (top->normalGeometry.width() < 0) 1083 top->normalGeometry = normalGeometry; 1084 } else { 1085 // restore original geometry 1086 setGeometry(top->normalGeometry); 1087 } 1088 } 1089 if ((oldstate & Qt::WindowFullScreen) != (newstate & Qt::WindowFullScreen)) { 1090 if (newstate & Qt::WindowFullScreen) { 1091 const QRect normalGeometry = geometry(); 1092 const QRect r = top->normalGeometry; 1093 setGeometry(qApp->desktop()->screenGeometry(this)); 1094 1095 top->normalGeometry = r; 1096 if (top->normalGeometry.width() < 0) 1097 top->normalGeometry = normalGeometry; 1098 } else { 1099 if (newstate & Qt::WindowMaximized) { 1100 const QRect r = top->normalGeometry; 1101 setGeometry(qApp->desktop()->availableGeometry(this)); 1102 top->normalGeometry = r; 1103 } else { 1104 setGeometry(top->normalGeometry); 1105 } 1106 } 1107 } 1108 if ((oldstate & Qt::WindowMinimized) != (newstate & Qt::WindowMinimized)) { 1109 if (newstate & Qt::WindowMinimized) { 1110 if (isVisible()) { 1111 QSymbianControl *id = static_cast<QSymbianControl *>(effectiveWinId()); 1112 if (id->IsFocused()) // Avoid unnecessary calls to FocusChanged() 1113 id->setFocusSafely(false); 1114 id->MakeVisible(false); 1115 } 1116 } else { 1117 if (isVisible()) { 1118 QSymbianControl *id = static_cast<QSymbianControl *>(effectiveWinId()); 1119 id->MakeVisible(true); 1120 if (!id->IsFocused()) // Avoid unnecessary calls to FocusChanged() 1121 id->setFocusSafely(true); 1122 } 1123 const QRect normalGeometry = geometry(); 1124 const QRect r = top->normalGeometry; 1125 top->normalGeometry = r; 1126 if (top->normalGeometry.width() < 0) 1127 top->normalGeometry = normalGeometry; 1128 } 1129 } 1079 QTLWExtra *top = d->topData(); 1080 const QRect normalGeometry = (top->normalGeometry.width() < 0) ? geometry() : top->normalGeometry; 1081 1082 if (newstate & Qt::WindowFullScreen) 1083 setGeometry(qApp->desktop()->screenGeometry(this)); 1084 else if (newstate & Qt::WindowMaximized) 1085 setGeometry(qApp->desktop()->availableGeometry(this)); 1086 else 1087 setGeometry(normalGeometry); 1088 1089 //restore normal geometry 1090 top->normalGeometry = normalGeometry; 1130 1091 } 1131 1092 … … 1187 1148 if (destroyWindow) { 1188 1149 delete id; 1150 // At this point the backing store should already be destroyed 1151 // so we flush the command buffer to ensure that the freeing of 1152 // those resources and deleting the window can happen "atomically" 1153 S60->wsSession().Flush(); 1189 1154 } 1190 1155 } -
trunk/src/gui/kernel/qwidget_win.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) -
trunk/src/gui/kernel/qwidget_wince.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) -
trunk/src/gui/kernel/qwidget_x11.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) -
trunk/src/gui/kernel/qwidgetaction.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) -
trunk/src/gui/kernel/qwidgetaction.h
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) -
trunk/src/gui/kernel/qwidgetaction_p.h
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) -
trunk/src/gui/kernel/qwidgetcreate_x11.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) -
trunk/src/gui/kernel/qwindowdefs.h
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) -
trunk/src/gui/kernel/qwindowdefs_win.h
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) -
trunk/src/gui/kernel/qwinnativepangesturerecognizer_win.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) -
trunk/src/gui/kernel/qwinnativepangesturerecognizer_win_p.h
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) -
trunk/src/gui/kernel/qx11embed_x11.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) -
trunk/src/gui/kernel/qx11embed_x11.h
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) -
trunk/src/gui/kernel/qx11info_x11.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) -
trunk/src/gui/kernel/qx11info_x11.h
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)
Note:
See TracChangeset
for help on using the changeset viewer.