Changeset 1156 for branches/vendor/nokia/qt/current/examples/qtconcurrent
- Timestamp:
- Nov 7, 2014, 5:23:02 PM (11 years ago)
- Location:
- branches/vendor/nokia/qt/current/examples/qtconcurrent
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vendor/nokia/qt/current/examples/qtconcurrent/imagescaling/imagescaling.cpp
r844 r1156 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). 4 ** Contact: http://www.qt-project.org/legal 6 5 ** 7 6 ** This file is part of the examples of the Qt Toolkit. … … 19 18 ** the documentation and/or other materials provided with the 20 19 ** distribution. 21 ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor22 ** the names of its contributors may be used to endorse or promote23 ** products derived from this software without specific prior written24 ** permission.20 ** * Neither the name of 21 ** 22 ** 23 ** 25 24 ** 26 25 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS … … 35 34 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 36 35 ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 37 37 ** $QT_END_LICENSE$ 38 38 ** -
branches/vendor/nokia/qt/current/examples/qtconcurrent/imagescaling/imagescaling.h
r844 r1156 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). 4 ** Contact: http://www.qt-project.org/legal 6 5 ** 7 6 ** This file is part of the examples of the Qt Toolkit. … … 19 18 ** the documentation and/or other materials provided with the 20 19 ** distribution. 21 ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor22 ** the names of its contributors may be used to endorse or promote23 ** products derived from this software without specific prior written24 ** permission.20 ** * Neither the name of 21 ** 22 ** 23 ** 25 24 ** 26 25 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS … … 35 34 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 36 35 ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 37 37 ** $QT_END_LICENSE$ 38 38 ** -
branches/vendor/nokia/qt/current/examples/qtconcurrent/imagescaling/imagescaling.pro
r556 r1156 16 16 17 17 wince*: DEPLOYMENT_PLUGIN += qgif qjpeg qtiff 18 19 20 -
branches/vendor/nokia/qt/current/examples/qtconcurrent/imagescaling/main.cpp
r844 r1156 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). 4 ** Contact: http://www.qt-project.org/legal 6 5 ** 7 6 ** This file is part of the examples of the Qt Toolkit. … … 19 18 ** the documentation and/or other materials provided with the 20 19 ** distribution. 21 ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor22 ** the names of its contributors may be used to endorse or promote23 ** products derived from this software without specific prior written24 ** permission.20 ** * Neither the name of 21 ** 22 ** 23 ** 25 24 ** 26 25 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS … … 35 34 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 36 35 ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 37 37 ** $QT_END_LICENSE$ 38 38 ** … … 49 49 50 50 Images imageView; 51 52 53 51 54 imageView.show(); 55 52 56 53 57 return app.exec(); … … 56 60 #else 57 61 58 int main( )62 int main() 59 63 { 60 qDebug() << "Qt Concurrent is not supported on this platform"; 64 QApplication app(argc, argv); 65 QString text("Qt Concurrent is not supported on this platform"); 66 67 QLabel *label = new QLabel(text); 68 label->setWordWrap(true); 69 70 #if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5) 71 label->showMaximized(); 72 #else 73 label->show(); 74 #endif 75 qDebug() << text; 76 77 app.exec(); 61 78 } 62 79 -
branches/vendor/nokia/qt/current/examples/qtconcurrent/map/main.cpp
r844 r1156 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). 4 ** Contact: http://www.qt-project.org/legal 6 5 ** 7 6 ** This file is part of the examples of the Qt Toolkit. … … 19 18 ** the documentation and/or other materials provided with the 20 19 ** distribution. 21 ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor22 ** the names of its contributors may be used to endorse or promote23 ** products derived from this software without specific prior written24 ** permission.20 ** * Neither the name of 21 ** 22 ** 23 ** 25 24 ** 26 25 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS … … 35 34 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 36 35 ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 37 37 ** $QT_END_LICENSE$ 38 38 ** … … 74 74 #else 75 75 76 int main() 76 #include <QLabel> 77 78 int main(int argc, char *argv[]) 77 79 { 78 qDebug() << "Qt Concurrent is not yet supported on this platform"; 80 QApplication app(argc, argv); 81 QString text("Qt Concurrent is not yet supported on this platform"); 82 83 QLabel *label = new QLabel(text); 84 label->setWordWrap(true); 85 86 #if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5) 87 label->showMaximized(); 88 #else 89 label->show(); 90 #endif 91 qDebug() << text; 92 93 app.exec(); 79 94 } 80 95 -
branches/vendor/nokia/qt/current/examples/qtconcurrent/map/map.pro
r556 r1156 15 15 16 16 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri) 17 18 19 -
branches/vendor/nokia/qt/current/examples/qtconcurrent/progressdialog/main.cpp
r844 r1156 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). 4 ** Contact: http://www.qt-project.org/legal 6 5 ** 7 6 ** This file is part of the examples of the Qt Toolkit. … … 19 18 ** the documentation and/or other materials provided with the 20 19 ** distribution. 21 ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor22 ** the names of its contributors may be used to endorse or promote23 ** products derived from this software without specific prior written24 ** permission.20 ** * Neither the name of 21 ** 22 ** 23 ** 25 24 ** 26 25 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS … … 35 34 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 36 35 ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 37 37 ** $QT_END_LICENSE$ 38 38 ** … … 91 91 #else 92 92 93 int main( )93 int main() 94 94 { 95 qDebug() << "Qt Concurrent is not yet supported on this platform"; 95 QApplication app(argc, argv); 96 QString text("Qt Concurrent is not yet supported on this platform"); 97 98 QLabel *label = new QLabel(text); 99 label->setWordWrap(true); 100 101 #if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5) 102 label->showMaximized(); 103 #else 104 label->show(); 105 #endif 106 qDebug() << text; 107 108 app.exec(); 96 109 } 97 110 -
branches/vendor/nokia/qt/current/examples/qtconcurrent/progressdialog/progressdialog.pro
r556 r1156 1 1 TEMPLATE = app 2 TARGET +=3 2 DEPENDPATH += . 4 3 INCLUDEPATH += . … … 15 14 16 15 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri) 16 17 18 -
branches/vendor/nokia/qt/current/examples/qtconcurrent/qtconcurrent.pro
r556 r1156 15 15 INSTALLS += target sources 16 16 17 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri) -
branches/vendor/nokia/qt/current/examples/qtconcurrent/runfunction/main.cpp
r844 r1156 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). 4 ** Contact: http://www.qt-project.org/legal 6 5 ** 7 6 ** This file is part of the examples of the Qt Toolkit. … … 19 18 ** the documentation and/or other materials provided with the 20 19 ** distribution. 21 ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor22 ** the names of its contributors may be used to endorse or promote23 ** products derived from this software without specific prior written24 ** permission.20 ** * Neither the name of 21 ** 22 ** 23 ** 25 24 ** 26 25 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS … … 35 34 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 36 35 ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 37 37 ** $QT_END_LICENSE$ 38 38 ** … … 65 65 #else 66 66 67 int main() 67 #include <QLabel> 68 69 int main(int argc, char *argv[]) 68 70 { 69 qDebug() << "Qt Concurrent is not yet supported on this platform"; 71 QApplication app(argc, argv); 72 QString text("Qt Concurrent is not yet supported on this platform"); 73 74 QLabel *label = new QLabel(text); 75 label->setWordWrap(true); 76 77 #if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5) 78 label->showMaximized(); 79 #else 80 label->show(); 81 #endif 82 qDebug() << text; 83 84 app.exec(); 70 85 } 71 86 -
branches/vendor/nokia/qt/current/examples/qtconcurrent/runfunction/runfunction.pro
r556 r1156 1 1 TEMPLATE = app 2 TARGET +=3 2 DEPENDPATH += . 4 3 INCLUDEPATH += . … … 15 14 16 15 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri) 16 17 18 -
branches/vendor/nokia/qt/current/examples/qtconcurrent/wordcount/main.cpp
r844 r1156 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 3 ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). 4 ** Contact: http://www.qt-project.org/legal 6 5 ** 7 6 ** This file is part of the examples of the Qt Toolkit. … … 19 18 ** the documentation and/or other materials provided with the 20 19 ** distribution. 21 ** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor22 ** the names of its contributors may be used to endorse or promote23 ** products derived from this software without specific prior written24 ** permission.20 ** * Neither the name of 21 ** 22 ** 23 ** 25 24 ** 26 25 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS … … 35 34 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 36 35 ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 37 37 ** $QT_END_LICENSE$ 38 38 ** … … 125 125 QApplication app(argc, argv); 126 126 qDebug() << "finding files..."; 127 128 129 127 130 QStringList files = findFiles("../../", QStringList() << "*.cpp" << "*.h"); 131 128 132 qDebug() << files.count() << "files"; 129 133 … … 159 163 #else 160 164 161 int main() 165 #include <QLabel> 166 167 int main(int argc, char *argv[]) 162 168 { 163 qDebug() << "Qt Concurrent is not yet supported on this platform"; 169 QApplication app(argc, argv); 170 QString text("Qt Concurrent is not yet supported on this platform"); 171 172 QLabel *label = new QLabel(text); 173 label->setWordWrap(true); 174 175 #if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5) 176 label->showMaximized(); 177 #else 178 label->show(); 179 #endif 180 qDebug() << text; 181 182 app.exec(); 164 183 } 165 184 -
branches/vendor/nokia/qt/current/examples/qtconcurrent/wordcount/wordcount.pro
r556 r1156 1 1 TEMPLATE = app 2 TARGET +=3 2 DEPENDPATH += . 4 3 INCLUDEPATH += . … … 15 14 16 15 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri) 16 17 18
Note:
See TracChangeset
for help on using the changeset viewer.