Changeset View
Changeset View
Standalone View
Standalone View
templates/cpp-plasmoid/src/%{APPNAMELC}.cpp
1 | /* | 1 | /* | ||
---|---|---|---|---|---|
2 | * Copyright (C) %{CURRENT_YEAR} by %{AUTHOR} <%{EMAIL}> | 2 | SPDX-FileCopyrightText: %{CURRENT_YEAR} %{AUTHOR} <%{EMAIL}> | ||
3 | * This program is free software; you can redistribute it and/or modify | 3 | SPDX-License-Identifier: LGPL-2.1-or-later | ||
4 | * it under the terms of the GNU Library General Public License as | | |||
5 | * published by the Free Software Foundation; either version 2, or | | |||
6 | * (at your option) any later version. | | |||
7 | * | | |||
8 | * This program is distributed in the hope that it will be useful, | | |||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | | |||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | | |||
11 | * GNU General Public License for more details | | |||
12 | * | | |||
13 | * You should have received a copy of the GNU Library General Public | | |||
14 | * License along with this program; if not, write to the | | |||
15 | * Free Software Foundation, Inc., | | |||
16 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | | |||
17 | */ | 4 | */ | ||
18 | 5 | | |||
19 | #include "%{APPNAMELC}.h" | 6 | #include "%{APPNAMELC}.h" | ||
20 | #include <klocalizedstring.h> | 7 | #include <klocalizedstring.h> | ||
21 | 8 | | |||
22 | %{APPNAME}::%{APPNAME}(QObject *parent, const QVariantList &args) | 9 | %{APPNAME}::%{APPNAME}(QObject *parent, const QVariantList &args) | ||
23 | : Plasma::Applet(parent, args), | 10 | : Plasma::Applet(parent, args), | ||
24 | m_nativeText(i18n("Text coming from C++ plugin")) | 11 | m_nativeText(i18n("Text coming from C++ plugin")) | ||
Show All 15 Lines |