Changeset 561 for trunk/src/qt3support/other
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/qt3support/other/q3accel.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 207 207 if (qApp->d_func()->qt_compat_used) 208 208 return; 209 QApplicationPrivate *data = static_cast<QApplicationPrivate*>(qApp->d_ptr );209 QApplicationPrivate *data = static_cast<QApplicationPrivate*>(qApp->d_ptr.data()); 210 210 data->qt_tryAccelEvent = qt_tryAccelEvent; 211 211 data->qt_tryComposeUnicode = qt_tryComposeUnicode; -
trunk/src/qt3support/other/q3accel.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/qt3support/other/q3boxlayout.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/qt3support/other/q3boxlayout.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/qt3support/other/q3dragobject.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 94 94 void setSubType(const QString & st) { 95 95 subtype = st; 96 fmt = QString(QLatin1String("text/")).toLatin1()+ subtype.toLatin1();96 fmt = "text/" + subtype.toLatin1(); 97 97 } 98 98 … … 192 192 platform-specific implementation will use this where it can - so 193 193 provide a small masked pixmap, and do not assume that the user 194 will actually see it. For example, cursors on Windows 95 are of 195 limited size. 194 will actually see it. 196 195 197 196 The \a hotspot is the point on (or off) the pixmap that should be … … 209 208 d->pixmap = pm; 210 209 d->hot = hotspot; 211 #if 0212 QDragManager *manager = QDragManager::self();213 if (manager && manager->object == d->data)214 manager->updatePixmap();215 #endif216 210 } 217 211 … … 559 553 if (i >= 0) 560 554 cs = cs.left(i); 561 // win98 often has charset=utf16, and we need to get the correct codec for562 // it to be able to get Unicode text drops.563 if (cs == "utf16")564 cs = "ISO-10646-UCS-2";565 555 // May return 0 if unknown charset 566 556 return QTextCodec::codecForName(cs); … … 1303 1293 } 1304 1294 #endif 1305 return unicodeUriToUri(Q String(QLatin1String("file://") + r));1295 return unicodeUriToUri(QLatin1String("file://") + r); 1306 1296 } 1307 1297 … … 1358 1348 if (0==qstrnicmp(uri,"file:/",6)) // It is a local file uri 1359 1349 uri += 6; 1360 else if (QString (QLatin1String(uri)).indexOf(QLatin1String(":/")) != -1) // It is a different scheme uri1350 else if (QString::fromLatin1(uri).indexOf(QLatin1String(":/")) != -1) // It is a different scheme uri 1361 1351 return file; 1362 1352 -
trunk/src/qt3support/other/q3dragobject.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/qt3support/other/q3dropsite.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/qt3support/other/q3dropsite.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/qt3support/other/q3gridlayout.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/qt3support/other/q3membuf.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/qt3support/other/q3membuf_p.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/qt3support/other/q3mimefactory.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/qt3support/other/q3mimefactory.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/qt3support/other/q3polygonscanner.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/qt3support/other/q3polygonscanner.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/qt3support/other/q3process.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 484 484 485 485 if ( !buf->scanNewline( &a ) ) 486 return Q String( QLatin1String(buf->readAll()));486 return QLatin1String(buf->readAll()); 487 487 } 488 488 -
trunk/src/qt3support/other/q3process.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/qt3support/other/q3process_unix.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 61 61 #include "private/q3membuf_p.h" 62 62 #include "private/qobject_p.h" 63 #include "private/qcore_unix_p.h" 63 64 64 65 #include <stdlib.h> … … 161 162 } 162 163 if( socketStdin ) 163 ::close( socketStdin );164 qt_safe_close( socketStdin ); 164 165 if( socketStdout ) 165 ::close( socketStdout );166 qt_safe_close( socketStdout ); 166 167 if( socketStderr ) 167 ::close( socketStderr );168 qt_safe_close( socketStderr ); 168 169 } 169 170 … … 214 215 215 216 #ifdef Q_OS_QNX6 216 #define BAILOUT close(tmpSocket);close(socketFD[1]);return -1;217 #define BAILOUT qt_safe_close(tmpSocket);qt_safe_close(socketFD[1]);return -1; 217 218 int qnx6SocketPairReplacement (int socketFD[2]) { 218 219 int tmpSocket; … … 249 250 250 251 // Accept connection 251 socketFD[0] = accept(tmpSocket, (struct sockaddr *)NULL, ( size_t*)NULL);252 socketFD[0] = accept(tmpSocket, (struct sockaddr *)NULL, (QT_SOCKLEN_T *)NULL); 252 253 if(socketFD[0] == -1) { BAILOUT }; 253 254 254 255 // We're done 255 close(tmpSocket);256 qt_safe_close(tmpSocket); 256 257 257 258 // Restore original flags , ie return to blocking … … 320 321 321 322 if ( sigchldFd[0] != 0 ) 322 ::close( sigchldFd[0] );323 qt_safe_close( sigchldFd[0] ); 323 324 if ( sigchldFd[1] != 0 ) 324 ::close( sigchldFd[1] );325 qt_safe_close( sigchldFd[1] ); 325 326 326 327 // restore SIGCHLD handler … … 385 386 386 387 char tmp; 387 ::read( fd, &tmp, sizeof(tmp) );388 qt_safe_read( fd, &tmp, sizeof(tmp) ); 388 389 #if defined(QT_Q3PROCESS_DEBUG) 389 390 qDebug( "Q3ProcessManager::sigchldHnd()" ); … … 435 436 // socket notifiers 436 437 if ( proc->socketStdout ) { 437 ::close( proc->socketStdout );438 qt_safe_close( proc->socketStdout ); 438 439 proc->socketStdout = 0; 439 440 if (process->d->notifierStdout) … … 441 442 } 442 443 if ( proc->socketStderr ) { 443 ::close( proc->socketStderr );444 qt_safe_close( proc->socketStderr ); 444 445 proc->socketStderr = 0; 445 446 if (process->d->notifierStderr) … … 510 511 if ( proc != 0 ) { 511 512 if ( proc->socketStdin != 0 ) { 512 ::close( proc->socketStdin );513 qt_safe_close( proc->socketStdin ); 513 514 proc->socketStdin = 0; 514 515 } … … 533 534 if ( procManager != 0 ) { 534 535 if ( procManager->sigchldFd[0] != 0 ) 535 ::close( procManager->sigchldFd[0] );536 qt_safe_close( procManager->sigchldFd[0] ); 536 537 if ( procManager->sigchldFd[1] != 0 ) 537 ::close( procManager->sigchldFd[1] );538 qt_safe_close( procManager->sigchldFd[1] ); 538 539 539 540 // close also the sockets from other Q3Process instances 540 541 for ( QProc *p=procManager->procList->first(); p!=0; p=procManager->procList->next() ) { 541 ::close( p->socketStdin );542 ::close( p->socketStdout );543 ::close( p->socketStderr );542 qt_safe_close( p->socketStdin ); 543 qt_safe_close( p->socketStdout ); 544 qt_safe_close( p->socketStderr ); 544 545 } 545 546 } … … 570 571 571 572 char a = 1; 572 ::write( Q3ProcessPrivate::procManager->sigchldFd[0], &a, sizeof(a) );573 qt_safe_write( Q3ProcessPrivate::procManager->sigchldFd[0], &a, sizeof(a) ); 573 574 } 574 575 … … 683 684 #endif 684 685 if ( comms & Stdin ) { 685 ::close( sStdin[0] );686 ::close( sStdin[1] );686 qt_safe_close( sStdin[0] ); 687 qt_safe_close( sStdin[1] ); 687 688 } 688 689 return false; … … 694 695 #endif 695 696 if ( comms & Stdin ) { 696 ::close( sStdin[0] );697 ::close( sStdin[1] );697 qt_safe_close( sStdin[0] ); 698 qt_safe_close( sStdin[1] ); 698 699 } 699 700 if ( comms & Stderr ) { 700 ::close( sStderr[0] );701 ::close( sStderr[1] );701 qt_safe_close( sStderr[0] ); 702 qt_safe_close( sStderr[1] ); 702 703 } 703 704 return false; … … 759 760 d->closeOpenSocketsForChild(); 760 761 if ( comms & Stdin ) { 761 ::close( sStdin[1] );762 qt_safe_close( sStdin[1] ); 762 763 ::dup2( sStdin[0], STDIN_FILENO ); 763 764 } 764 765 if ( comms & Stdout ) { 765 ::close( sStdout[0] );766 qt_safe_close( sStdout[0] ); 766 767 ::dup2( sStdout[1], STDOUT_FILENO ); 767 768 } 768 769 if ( comms & Stderr ) { 769 ::close( sStderr[0] );770 qt_safe_close( sStderr[0] ); 770 771 ::dup2( sStderr[1], STDERR_FILENO ); 771 772 } … … 777 778 #endif 778 779 if ( fd[0] ) 779 ::close( fd[0] );780 qt_safe_close( fd[0] ); 780 781 if ( fd[1] ) 781 782 ::fcntl( fd[1], F_SETFD, FD_CLOEXEC ); // close on exec shows success … … 829 830 QFileInfo fileInfo( dir, command ); 830 831 #else 831 QFileInfo fileInfo( dir + "/"+ command );832 QFileInfo fileInfo( dir + QLatin1Char('/') + command ); 832 833 #endif 833 834 if ( fileInfo.isExecutable() ) { … … 851 852 if ( fd[1] ) { 852 853 char buf = 0; 853 ::write( fd[1], &buf, 1 );854 ::close( fd[1] );854 qt_safe_write( fd[1], &buf, 1 ); 855 qt_safe_close( fd[1] ); 855 856 } 856 857 ::_exit( -1 ); … … 862 863 // test if exec was successful 863 864 if ( fd[1] ) 864 ::close( fd[1] );865 qt_safe_close( fd[1] ); 865 866 if ( fd[0] ) { 866 867 char buf; … … 883 884 break; 884 885 } 885 ::close( fd[0] );886 qt_safe_close( fd[0] ); 886 887 } 887 888 … … 889 890 890 891 if ( comms & Stdin ) { 891 ::close( sStdin[0] );892 qt_safe_close( sStdin[0] ); 892 893 d->proc->socketStdin = sStdin[1]; 893 894 … … 905 906 } 906 907 if ( comms & Stdout ) { 907 ::close( sStdout[1] );908 qt_safe_close( sStdout[1] ); 908 909 d->proc->socketStdout = sStdout[0]; 909 910 d->notifierStdout = new QSocketNotifier( sStdout[0], QSocketNotifier::Read ); … … 914 915 } 915 916 if ( comms & Stderr ) { 916 ::close( sStderr[1] );917 qt_safe_close( sStderr[1] ); 917 918 d->proc->socketStderr = sStderr[0]; 918 919 d->notifierStderr = new QSocketNotifier( sStderr[0], QSocketNotifier::Read ); … … 935 936 d->procManager->cleanup(); 936 937 if ( comms & Stdin ) { 937 ::close( sStdin[1] );938 ::close( sStdin[0] );938 qt_safe_close( sStdin[1] ); 939 qt_safe_close( sStdin[0] ); 939 940 } 940 941 if ( comms & Stdout ) { 941 ::close( sStdout[0] );942 ::close( sStdout[1] );942 qt_safe_close( sStdout[0] ); 943 qt_safe_close( sStdout[1] ); 943 944 } 944 945 if ( comms & Stderr ) { 945 ::close( sStderr[0] );946 ::close( sStderr[1] );947 } 948 ::close( fd[0] );949 ::close( fd[1] );946 qt_safe_close( sStderr[0] ); 947 qt_safe_close( sStderr[1] ); 948 } 949 qt_safe_close( fd[0] ); 950 qt_safe_close( fd[1] ); 950 951 delete[] arglistQ; 951 952 delete[] arglist; … … 1050 1051 qDeleteInEventHandler(d->notifierStdin); 1051 1052 d->notifierStdin = 0; 1052 if ( ::close( d->proc->socketStdin ) != 0 ) {1053 if ( qt_safe_close( d->proc->socketStdin ) != 0 ) { 1053 1054 qWarning( "Could not close stdin of child process" ); 1054 1055 } … … 1116 1117 qDeleteInEventHandler(d->notifierStdout); 1117 1118 d->notifierStdout = 0; 1118 ::close( d->proc->socketStdout );1119 qt_safe_close( d->proc->socketStdout ); 1119 1120 d->proc->socketStdout = 0; 1120 1121 return; … … 1126 1127 qDeleteInEventHandler(d->notifierStderr); 1127 1128 d->notifierStderr = 0; 1128 ::close( d->proc->socketStderr );1129 qt_safe_close( d->proc->socketStderr ); 1129 1130 d->proc->socketStderr = 0; 1130 1131 return; -
trunk/src/qt3support/other/q3process_win.cpp
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 286 286 QString tmp = *it; 287 287 // escape a single " because the arguments will be parsed 288 tmp.replace( QLatin1 String("\""), QLatin1String("\\\"") );288 tmp.replace( QLatin1Char('\"'), QLatin1String("\\\"") ); 289 289 if ( tmp.isEmpty() || tmp.contains( QLatin1Char(' ') ) || tmp.contains( QLatin1Char('\t') ) ) { 290 290 // The argument must not end with a \ since this would be interpreted … … 295 295 while ( i>0 && tmp.at( i-1 ) == QLatin1Char('\\') ) { 296 296 --i; 297 endQuote += QLatin1 String("\\");297 endQuote += QLatin1Char('\\'); 298 298 } 299 args += QString( QLatin1String(" \"")) + tmp.left( i ) + endQuote;299 args += QLatin1String(" \"") + tmp.left( i ) + endQuote; 300 300 } else { 301 301 args += QLatin1Char(' ') + tmp; … … 309 309 bool success; 310 310 d->newPid(); 311 #ifdef UNICODE 312 if (!(QSysInfo::WindowsVersion & QSysInfo::WV_DOS_based)) { 313 STARTUPINFOW startupInfo = { 314 sizeof( STARTUPINFO ), 0, 0, 0, 315 (ulong)CW_USEDEFAULT, (ulong)CW_USEDEFAULT, (ulong)CW_USEDEFAULT, (ulong)CW_USEDEFAULT, 316 0, 0, 0, 317 STARTF_USESTDHANDLES, 318 0, 0, 0, 319 d->pipeStdin[0], d->pipeStdout[1], d->pipeStderr[1] 320 }; 321 TCHAR *applicationName; 322 if ( appName.isNull() ) 323 applicationName = 0; 324 else 325 applicationName = _wcsdup( (TCHAR*)appName.ucs2() ); 326 TCHAR *commandLine = _wcsdup( (TCHAR*)args.ucs2() ); 327 QByteArray envlist; 328 if ( env != 0 ) { 329 int pos = 0; 330 // add PATH if necessary (for DLL loading) 331 QByteArray path = qgetenv( "PATH" ); 332 if ( env->grep( QRegExp(QLatin1String("^PATH="),FALSE) ).empty() && !path.isNull() ) { 333 QString tmp = QString( QLatin1String("PATH=%1") ).arg(QString::fromLatin1(path.constData())); 334 uint tmpSize = sizeof(TCHAR) * (tmp.length()+1); 335 envlist.resize( envlist.size() + tmpSize ); 336 memcpy( envlist.data()+pos, tmp.ucs2(), tmpSize ); 337 pos += tmpSize; 338 } 339 // add the user environment 340 for ( QStringList::Iterator it = env->begin(); it != env->end(); it++ ) { 341 QString tmp = *it; 342 uint tmpSize = sizeof(TCHAR) * (tmp.length()+1); 343 envlist.resize( envlist.size() + tmpSize ); 344 memcpy( envlist.data()+pos, tmp.ucs2(), tmpSize ); 345 pos += tmpSize; 346 } 347 // add the 2 terminating 0 (actually 4, just to be on the safe side) 348 envlist.resize( envlist.size()+4 ); 349 envlist[pos++] = 0; 350 envlist[pos++] = 0; 351 envlist[pos++] = 0; 352 envlist[pos++] = 0; 353 } 354 success = CreateProcessW( applicationName, commandLine, 355 0, 0, TRUE, ( comms==0 ? CREATE_NEW_CONSOLE : CREATE_NO_WINDOW ) 311 312 STARTUPINFOW startupInfo = { 313 sizeof( STARTUPINFO ), 0, 0, 0, 314 (ulong)CW_USEDEFAULT, (ulong)CW_USEDEFAULT, (ulong)CW_USEDEFAULT, (ulong)CW_USEDEFAULT, 315 0, 0, 0, 316 STARTF_USESTDHANDLES, 317 0, 0, 0, 318 d->pipeStdin[0], d->pipeStdout[1], d->pipeStderr[1] 319 }; 320 wchar_t *applicationName; 321 if ( appName.isNull() ) 322 applicationName = 0; 323 else 324 applicationName = _wcsdup( (wchar_t*)appName.utf16() ); 325 wchar_t *commandLine = _wcsdup( (wchar_t*)args.utf16() ); 326 QByteArray envlist; 327 if ( env != 0 ) { 328 int pos = 0; 329 // add PATH if necessary (for DLL loading) 330 QByteArray path = qgetenv( "PATH" ); 331 if ( env->grep( QRegExp(QLatin1String("^PATH="),FALSE) ).empty() && !path.isNull() ) { 332 QString tmp = QString::fromLatin1("PATH=%1").arg(QLatin1String(path.constData())); 333 uint tmpSize = sizeof(wchar_t) * (tmp.length() + 1); 334 envlist.resize( envlist.size() + tmpSize ); 335 memcpy( envlist.data() + pos, tmp.utf16(), tmpSize ); 336 pos += tmpSize; 337 } 338 // add the user environment 339 for ( QStringList::Iterator it = env->begin(); it != env->end(); it++ ) { 340 QString tmp = *it; 341 uint tmpSize = sizeof(wchar_t) * (tmp.length() + 1); 342 envlist.resize( envlist.size() + tmpSize ); 343 memcpy( envlist.data() + pos, tmp.utf16(), tmpSize ); 344 pos += tmpSize; 345 } 346 // add the 2 terminating 0 (actually 4, just to be on the safe side) 347 envlist.resize( envlist.size()+4 ); 348 envlist[pos++] = 0; 349 envlist[pos++] = 0; 350 envlist[pos++] = 0; 351 envlist[pos++] = 0; 352 } 353 success = CreateProcess( applicationName, commandLine, 354 0, 0, TRUE, ( comms == 0 ? CREATE_NEW_CONSOLE : CREATE_NO_WINDOW ) 356 355 #ifndef Q_OS_WINCE 357 356 | CREATE_UNICODE_ENVIRONMENT 358 357 #endif 359 , env==0 ? 0 : envlist.data(), 360 (TCHAR*)QDir::toNativeSeparators(workingDir.absPath()).ucs2(), 361 &startupInfo, d->pid ); 362 free( applicationName ); 363 free( commandLine ); 364 } else 365 #endif // UNICODE 366 { 367 #ifndef Q_OS_WINCE 368 STARTUPINFOA startupInfo = { sizeof( STARTUPINFOA ), 0, 0, 0, 369 (ulong)CW_USEDEFAULT, (ulong)CW_USEDEFAULT, (ulong)CW_USEDEFAULT, (ulong)CW_USEDEFAULT, 370 0, 0, 0, 371 STARTF_USESTDHANDLES, 372 0, 0, 0, 373 d->pipeStdin[0], d->pipeStdout[1], d->pipeStderr[1] 374 }; 375 QByteArray envlist; 376 if ( env != 0 ) { 377 int pos = 0; 378 // add PATH if necessary (for DLL loading) 379 QByteArray path = qgetenv( "PATH" ); 380 if ( env->grep( QRegExp(QLatin1String("^PATH="),FALSE) ).empty() && !path.isNull() ) { 381 Q3CString tmp = QString( QLatin1String("PATH=%1") ).arg(QString::fromLatin1(path.constData())).local8Bit(); 382 uint tmpSize = tmp.length() + 1; 383 envlist.resize( envlist.size() + tmpSize ); 384 memcpy( envlist.data()+pos, tmp.data(), tmpSize ); 385 pos += tmpSize; 386 } 387 // add the user environment 388 for ( QStringList::Iterator it = env->begin(); it != env->end(); it++ ) { 389 Q3CString tmp = (*it).local8Bit(); 390 uint tmpSize = tmp.length() + 1; 391 envlist.resize( envlist.size() + tmpSize ); 392 memcpy( envlist.data()+pos, tmp.data(), tmpSize ); 393 pos += tmpSize; 394 } 395 // add the terminating 0 (actually 2, just to be on the safe side) 396 envlist.resize( envlist.size()+2 ); 397 envlist[pos++] = 0; 398 envlist[pos++] = 0; 399 } 400 char *applicationName; 401 if ( appName.isNull() ) 402 applicationName = 0; 403 else 404 applicationName = const_cast<char *>(appName.toLocal8Bit().data()); 405 success = CreateProcessA( applicationName, 406 const_cast<char *>(args.toLocal8Bit().data()), 407 0, 0, TRUE, comms==0 ? CREATE_NEW_CONSOLE : DETACHED_PROCESS, 408 env==0 ? 0 : envlist.data(), 409 (const char*)QDir::toNativeSeparators(workingDir.absPath()).local8Bit(), 410 &startupInfo, d->pid ); 411 #endif // Q_OS_WINCE 412 } 358 , env == 0 ? 0 : envlist.data(), 359 (wchar_t*)QDir::toNativeSeparators(workingDir.absPath()).utf16(), 360 &startupInfo, d->pid ); 361 362 free( applicationName ); 363 free( commandLine ); 364 413 365 if ( !success ) { 414 366 d->deletePid(); -
trunk/src/qt3support/other/qiconset.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
trunk/src/qt3support/other/qt_compat_pch.h
r2 r561 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information (qt-info@nokia.com) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation (qt-info@nokia.com) 5 6 ** 6 7 ** This file is part of the Qt3Support module of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you have questions regarding the use of this file, please contact 37 ** Nokia at qt-info@nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 **
Note:
See TracChangeset
for help on using the changeset viewer.