Ignore:
Timestamp:
Nov 7, 2014, 5:23:02 PM (11 years ago)
Author:
Dmitry A. Kuminov
Message:

vendor: Import qt-everywhere-opensource-src-4.8.6 from Digia (excluding doc/html and doc/qch dirs generated from doc/src, and imports and templates dirs which are emtpy).

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  
    11/****************************************************************************
    22**
    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
    65**
    76** This file is part of the examples of the Qt Toolkit.
     
    1918**     the documentation and/or other materials provided with the
    2019**     distribution.
    21 **   * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
    22 **     the names of its contributors may be used to endorse or promote
    23 **     products derived from this software without specific prior written
    24 **     permission.
     20**   * Neither the name of
     21**     
     22**     
     23**
    2524**
    2625** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     
    3534** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    3635** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
     36
    3737** $QT_END_LICENSE$
    3838**
  • branches/vendor/nokia/qt/current/examples/qtconcurrent/imagescaling/imagescaling.h

    r844 r1156  
    11/****************************************************************************
    22**
    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
    65**
    76** This file is part of the examples of the Qt Toolkit.
     
    1918**     the documentation and/or other materials provided with the
    2019**     distribution.
    21 **   * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
    22 **     the names of its contributors may be used to endorse or promote
    23 **     products derived from this software without specific prior written
    24 **     permission.
     20**   * Neither the name of
     21**     
     22**     
     23**
    2524**
    2625** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     
    3534** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    3635** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
     36
    3737** $QT_END_LICENSE$
    3838**
  • branches/vendor/nokia/qt/current/examples/qtconcurrent/imagescaling/imagescaling.pro

    r556 r1156  
    1616
    1717wince*: DEPLOYMENT_PLUGIN += qgif qjpeg qtiff
     18
     19
     20
  • branches/vendor/nokia/qt/current/examples/qtconcurrent/imagescaling/main.cpp

    r844 r1156  
    11/****************************************************************************
    22**
    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
    65**
    76** This file is part of the examples of the Qt Toolkit.
     
    1918**     the documentation and/or other materials provided with the
    2019**     distribution.
    21 **   * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
    22 **     the names of its contributors may be used to endorse or promote
    23 **     products derived from this software without specific prior written
    24 **     permission.
     20**   * Neither the name of
     21**     
     22**     
     23**
    2524**
    2625** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     
    3534** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    3635** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
     36
    3737** $QT_END_LICENSE$
    3838**
     
    4949
    5050    Images imageView;
     51
     52
     53
    5154    imageView.show();
     55
    5256
    5357    return app.exec();
     
    5660#else
    5761
    58 int main()
     62int main()
    5963{
    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();
    6178}
    6279
  • branches/vendor/nokia/qt/current/examples/qtconcurrent/map/main.cpp

    r844 r1156  
    11/****************************************************************************
    22**
    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
    65**
    76** This file is part of the examples of the Qt Toolkit.
     
    1918**     the documentation and/or other materials provided with the
    2019**     distribution.
    21 **   * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
    22 **     the names of its contributors may be used to endorse or promote
    23 **     products derived from this software without specific prior written
    24 **     permission.
     20**   * Neither the name of
     21**     
     22**     
     23**
    2524**
    2625** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     
    3534** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    3635** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
     36
    3737** $QT_END_LICENSE$
    3838**
     
    7474#else
    7575
    76 int main()
     76#include <QLabel>
     77
     78int main(int argc, char *argv[])
    7779{
    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();
    7994}
    8095
  • branches/vendor/nokia/qt/current/examples/qtconcurrent/map/map.pro

    r556 r1156  
    1515
    1616symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
     17
     18
     19
  • branches/vendor/nokia/qt/current/examples/qtconcurrent/progressdialog/main.cpp

    r844 r1156  
    11/****************************************************************************
    22**
    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
    65**
    76** This file is part of the examples of the Qt Toolkit.
     
    1918**     the documentation and/or other materials provided with the
    2019**     distribution.
    21 **   * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
    22 **     the names of its contributors may be used to endorse or promote
    23 **     products derived from this software without specific prior written
    24 **     permission.
     20**   * Neither the name of
     21**     
     22**     
     23**
    2524**
    2625** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     
    3534** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    3635** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
     36
    3737** $QT_END_LICENSE$
    3838**
     
    9191#else
    9292
    93 int main()
     93int main()
    9494{
    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();
    96109}
    97110
  • branches/vendor/nokia/qt/current/examples/qtconcurrent/progressdialog/progressdialog.pro

    r556 r1156  
    11TEMPLATE = app
    2 TARGET +=
    32DEPENDPATH += .
    43INCLUDEPATH += .
     
    1514
    1615symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
     16
     17
     18
  • branches/vendor/nokia/qt/current/examples/qtconcurrent/qtconcurrent.pro

    r556 r1156  
    1515INSTALLS += target sources
    1616
    17 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
  • branches/vendor/nokia/qt/current/examples/qtconcurrent/runfunction/main.cpp

    r844 r1156  
    11/****************************************************************************
    22**
    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
    65**
    76** This file is part of the examples of the Qt Toolkit.
     
    1918**     the documentation and/or other materials provided with the
    2019**     distribution.
    21 **   * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
    22 **     the names of its contributors may be used to endorse or promote
    23 **     products derived from this software without specific prior written
    24 **     permission.
     20**   * Neither the name of
     21**     
     22**     
     23**
    2524**
    2625** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     
    3534** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    3635** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
     36
    3737** $QT_END_LICENSE$
    3838**
     
    6565#else
    6666
    67 int main()
     67#include <QLabel>
     68
     69int main(int argc, char *argv[])
    6870{
    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();
    7085}
    7186
  • branches/vendor/nokia/qt/current/examples/qtconcurrent/runfunction/runfunction.pro

    r556 r1156  
    11TEMPLATE = app
    2 TARGET +=
    32DEPENDPATH += .
    43INCLUDEPATH += .
     
    1514
    1615symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
     16
     17
     18
  • branches/vendor/nokia/qt/current/examples/qtconcurrent/wordcount/main.cpp

    r844 r1156  
    11/****************************************************************************
    22**
    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
    65**
    76** This file is part of the examples of the Qt Toolkit.
     
    1918**     the documentation and/or other materials provided with the
    2019**     distribution.
    21 **   * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
    22 **     the names of its contributors may be used to endorse or promote
    23 **     products derived from this software without specific prior written
    24 **     permission.
     20**   * Neither the name of
     21**     
     22**     
     23**
    2524**
    2625** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     
    3534** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    3635** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
     36
    3737** $QT_END_LICENSE$
    3838**
     
    125125    QApplication app(argc, argv);
    126126    qDebug() << "finding files...";
     127
     128
     129
    127130    QStringList files = findFiles("../../", QStringList() << "*.cpp" << "*.h");
     131
    128132    qDebug() << files.count() << "files";
    129133
     
    159163#else
    160164
    161 int main()
     165#include <QLabel>
     166
     167int main(int argc, char *argv[])
    162168{
    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();
    164183}
    165184
  • branches/vendor/nokia/qt/current/examples/qtconcurrent/wordcount/wordcount.pro

    r556 r1156  
    11TEMPLATE = app
    2 TARGET +=
    32DEPENDPATH += .
    43INCLUDEPATH += .
     
    1514
    1615symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
     16
     17
     18
Note: See TracChangeset for help on using the changeset viewer.