Changeset 846 for trunk/demos/browser/tabwidget.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/demos/browser/tabwidget.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 68 68 this, SLOT(contextMenuRequested(QPoint))); 69 69 70 QString alt = QLatin1String("Alt+%1");70 QString ctrl = QLatin1String("Ctrl+%1"); 71 71 for (int i = 1; i <= 10; ++i) { 72 72 int key = i; 73 73 if (key == 10) 74 74 key = 0; 75 QShortcut *shortCut = new QShortcut( alt.arg(key), this);75 QShortcut *shortCut = new QShortcut(ctrl.arg(key), this); 76 76 m_tabShortcuts.append(shortCut); 77 77 connect(shortCut, SIGNAL(activated()), this, SLOT(selectTabAction()));
Note:
See TracChangeset
for help on using the changeset viewer.