examples/network/http/main.cpp
changeset 7 f7bc934e204c
parent 0 1918ee327afb
child 30 5dc02b23752f
equal deleted inserted replaced
3:41300fa6a67c 7:f7bc934e204c
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the examples of the Qt Toolkit.
     7 ** This file is part of the examples of the Qt Toolkit.
     8 **
     8 **
    44 #include "httpwindow.h"
    44 #include "httpwindow.h"
    45 
    45 
    46 int main(int argc, char *argv[])
    46 int main(int argc, char *argv[])
    47 {
    47 {
    48     QApplication app(argc, argv);
    48     QApplication app(argc, argv);
    49     qWarning("The usage of QHttp is not recommended anymore, please use QNetworkAccessManager.");
       
    50     HttpWindow httpWin;
    49     HttpWindow httpWin;
    51     httpWin.show();
    50     httpWin.show();
    52     return httpWin.exec();
    51     return httpWin.exec();
    53 }
    52 }