summaryrefslogtreecommitdiffstats
path: root/examples/xml/rsslisting/main.cpp
blob: 9337e5f35257e4484897974cbb2a824df016a64c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

/*
main.cpp

Provides the main function for the RSS news reader example.
*/

#include <QtWidgets>

#include "rsslisting.h"

/*!
    Create an application and a main widget. Open the main widget for
    user input, and exit with an appropriate return value when it is
    closed.
*/

int main(int argc, char **argv)
{
    QApplication app(argc, argv);
    RSSListing *rsslisting = new RSSListing;
    rsslisting->show();
    return app.exec();
}