Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Add-ons
Commits
5f02e49f
Commit
5f02e49f
authored
Apr 05, 2022
by
Laurent Montel
Browse files
compile without deprecated methods
parent
bd0112e7
Pipeline
#159434
passed with stage
in 1 minute and 29 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
applets/grouping/container/groupedappletscontainer.cpp
View file @
5f02e49f
...
...
@@ -9,14 +9,13 @@
#include
"../debug.h"
#include
<QDebug>
#include
<QQuickItem>
#include
<KActionCollection>
#include
<Plasma/Corona>
#include
<QAction>
GroupedAppletsContainer
::
GroupedAppletsContainer
(
QObject
*
parent
,
const
QVariantList
&
args
)
:
Plasma
::
Applet
(
parent
,
args
)
GroupedAppletsContainer
::
GroupedAppletsContainer
(
QObject
*
parent
,
const
KPluginMetaData
&
data
,
const
QVariantList
&
args
)
:
Plasma
::
Applet
(
parent
,
data
,
args
)
{
}
...
...
applets/grouping/container/groupedappletscontainer.h
View file @
5f02e49f
...
...
@@ -9,8 +9,7 @@
#define GROUPEDAPPLETSCONTAINER_H
#include
<Plasma/Applet>
class
QQuickItem
;
#include
<QQuickItem>
class
GroupedAppletsContainer
:
public
Plasma
::
Applet
{
...
...
@@ -18,7 +17,7 @@ class GroupedAppletsContainer : public Plasma::Applet
Q_PROPERTY
(
QQuickItem
*
internalContainmentItem
READ
internalContainmentItem
NOTIFY
internalContainmentItemChanged
)
public:
explicit
GroupedAppletsContainer
(
QObject
*
parent
,
const
QVariantList
&
args
);
explicit
GroupedAppletsContainer
(
QObject
*
parent
,
const
KPluginMetaData
&
data
,
const
QVariantList
&
args
);
~
GroupedAppletsContainer
()
override
;
void
init
()
override
;
...
...
applets/notes/plugin/documenthandler.h
View file @
5f02e49f
...
...
@@ -10,7 +10,6 @@
#include
<QQuickTextDocument>
#include
<QTextCharFormat>
#include
<QTextCodec>
QT_BEGIN_NAMESPACE
class
QTextDocument
;
...
...
applets/weather/weatherapplet.cpp
View file @
5f02e49f
...
...
@@ -94,8 +94,8 @@ const char source[] = "source";
}
}
WeatherApplet
::
WeatherApplet
(
QObject
*
parent
,
const
QVariantList
&
args
)
:
Plasma
::
Applet
(
parent
,
args
)
WeatherApplet
::
WeatherApplet
(
QObject
*
parent
,
const
KPluginMetaData
&
data
,
const
QVariantList
&
args
)
:
Plasma
::
Applet
(
parent
,
data
,
args
)
{
Plasma
::
DataEngine
*
dataengine
=
dataEngine
(
QStringLiteral
(
"weather"
));
const
QVariantList
plugins
=
dataengine
->
containerForSource
(
QLatin1String
(
"ions"
))
->
data
().
values
();
...
...
applets/weather/weatherapplet.h
View file @
5f02e49f
...
...
@@ -49,7 +49,7 @@ class WeatherApplet : public Plasma::Applet, public Plasma::DataEngineConsumer
Q_PROPERTY
(
bool
temperatureShownInCompactMode
READ
temperatureShownInCompactMode
NOTIFY
temperatureShownInCompactModeChanged
FINAL
)
public:
WeatherApplet
(
QObject
*
parent
,
const
QVariantList
&
args
);
WeatherApplet
(
QObject
*
parent
,
const
KPluginMetaData
&
data
,
const
QVariantList
&
args
);
~
WeatherApplet
()
override
;
public:
// Plasma::Applet API
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment