Changeset View
Changeset View
Standalone View
Standalone View
tests/openurltest.cpp
1 | /* This file is part of the KDE libraries | 1 | /* This file is part of the KDE libraries | ||
---|---|---|---|---|---|
2 | * Copyright 2013 Aleix Pol Gonzalez <aleixpol@blue-systems.com> | 2 | SPDX-FileCopyrightText: 2013 Aleix Pol Gonzalez <aleixpol@blue-systems.com> | ||
3 | * | 3 | | ||
4 | * This library is free software; you can redistribute it and/or modify | 4 | SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL | ||
5 | * it under the terms of the GNU Lesser General Public License as published by | | |||
6 | * the Free Software Foundation; either version 2 of the License or ( at | | |||
7 | * your option ) version 3 or, at the discretion of KDE e.V. ( which shall | | |||
8 | * act as a proxy as in section 14 of the GPLv3 ), any later version. | | |||
9 | * | | |||
10 | * This library is distributed in the hope that it will be useful, | | |||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | | |||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | |||
13 | * Library General Public License for more details. | | |||
14 | * | | |||
15 | * You should have received a copy of the GNU Lesser General Public License | | |||
16 | * along with this library; see the file COPYING.LIB. If not, write to | | |||
17 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | | |||
18 | * Boston, MA 02110-1301, USA. | | |||
19 | */ | 5 | */ | ||
20 | 6 | | |||
21 | #include <QDesktopServices> | 7 | #include <QDesktopServices> | ||
22 | #include <QGuiApplication> | 8 | #include <QGuiApplication> | ||
23 | #include <QDebug> | 9 | #include <QDebug> | ||
24 | #include <QUrl> | 10 | #include <QUrl> | ||
25 | 11 | | |||
26 | int main(int argc, char **argv) | 12 | int main(int argc, char **argv) | ||
Show All 11 Lines |