• 大小: 187KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-22
  • 语言: 其他
  • 标签: qt  

资源简介

qtsoap-2.7_1-opensource.zip

资源截图

代码片段和文件信息

/****************************************************************************
** 
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
** 
** This file is part of a Qt Solutions component.
**
** Commercial Usage  
** Licensees holding valid Qt Commercial licenses may use this file in
** accordance with the Qt Solutions Commercial License Agreement provided
** with the Software or alternatively in accordance with the terms
** contained in a written agreement between you and Nokia.
** 
** GNU Lesser General Public License Usage
** Alternatively this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file.  Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
** 
** In addition as a special exception Nokia gives you certain
** additional rights. These rights are described in the Nokia Qt LGPL
** Exception version 1.1 included in the file LGPL_EXCEPTION.txt in this
** package.
** 
** GNU General Public License Usage 
** Alternatively this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.  Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
** 
** Please note Third Party Software included with Qt Solutions may impose
** additional restrictions and it is the user‘s responsibility to ensure
** that they have met the licensing requirements of the GPL LGPL or Qt
** Solutions Commercial license and the relevant license of the Third
** Party Software they are using.
** 
** If you are unsure which license is appropriate for your use please
** contact Nokia at qt-info@nokia.com.
** 
****************************************************************************/

#include 
#include 
#include “easter.h“

Easter::Easter(short year Qobject *parent)
    : Qobject(parent) http(this)
{
    connect(&http SIGNAL(responseReady(const QtSoapMessage &))
            this SLOT(getResponse(const QtSoapMessage &)));

    QtSoapMessage request;
    request.setMethod(“GetEaster“
      “http://www.27seconds.com/Holidays/US/Dates/“);
    request.addMethodArgument(“year“ ““ year);

    http.setHost(“www.27seconds.com“);
    http.setAction(“http://www.27seconds.com/Holidays/US/Dates/GetEaster“);
    http.submitRequest(request “/Holidays/US/Dates/USHolidayDates.asmx“);

    qDebug(“Looking up the date of easter in

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2009-12-16 10:44  qtsoap-2.7_1-opensource\
     目录           0  2009-12-16 10:43  qtsoap-2.7_1-opensource\lib\
     文件        1165  2009-12-16 10:44  qtsoap-2.7_1-opensource\LGPL_EXCEPTION.txt
     目录           0  2009-12-16 10:44  qtsoap-2.7_1-opensource\buildlib\
     文件         413  2009-12-16 10:44  qtsoap-2.7_1-opensource\buildlib\buildlib.pro
     文件       26940  2009-12-16 10:44  qtsoap-2.7_1-opensource\LICENSE.LGPL
     目录           0  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\
     目录           0  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\google\
     文件        2487  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\google\main.cpp
     文件        2841  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\google\google.h
     文件         131  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\google\google.pro
     文件        2929  2009-12-16 10:43  qtsoap-2.7_1-opensource\examples\google\google.qdoc
     文件        8456  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\google\google.cpp
     文件          58  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\examples.pro
     目录           0  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\population\
     文件        3007  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\population\main.cpp
     文件        2579  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\population\population.h
     文件         149  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\population\population.pro
     文件        3987  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\population\population.cpp
     目录           0  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\easter\
     文件        3530  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\easter\easter.cpp
     文件         150  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\easter\easter.pro
     文件        2836  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\easter\main.cpp
     文件        2587  2009-12-16 10:44  qtsoap-2.7_1-opensource\examples\easter\easter.h
     文件        3282  2009-12-16 10:44  qtsoap-2.7_1-opensource\configure.bat
     文件         267  2009-12-16 10:44  qtsoap-2.7_1-opensource\common.pri
     目录           0  2009-12-16 10:44  qtsoap-2.7_1-opensource\src\
     文件          20  2009-12-16 10:43  qtsoap-2.7_1-opensource\src\QtSoapMessage
     文件          20  2009-12-16 10:43  qtsoap-2.7_1-opensource\src\QtSoapArrayIterator
     文件          20  2009-12-16 10:43  qtsoap-2.7_1-opensource\src\QtSoapSimpleType
     文件          20  2009-12-16 10:43  qtsoap-2.7_1-opensource\src\QtSoapArray
............此处省略52个文件信息

评论

共有 条评论