Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Plasma Workspace
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
64
Merge Requests
64
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
Plasma Workspace
Commits
e17a7a86
Commit
e17a7a86
authored
Jan 04, 2018
by
Friedrich W. H. Kossebau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[weather] use some Q_DECLARE_TYPEINFO
parent
32af7e8d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
0 deletions
+17
-0
dataengines/weather/ions/bbcukmet/ion_bbcukmet.h
dataengines/weather/ions/bbcukmet/ion_bbcukmet.h
+4
-0
dataengines/weather/ions/envcan/ion_envcan.h
dataengines/weather/ions/envcan/ion_envcan.h
+4
-0
dataengines/weather/ions/noaa/ion_noaa.h
dataengines/weather/ions/noaa/ion_noaa.h
+4
-0
dataengines/weather/ions/wetter.com/ion_wettercom.h
dataengines/weather/ions/wetter.com/ion_wettercom.h
+5
-0
No files found.
dataengines/weather/ions/bbcukmet/ion_bbcukmet.h
View file @
e17a7a86
...
...
@@ -77,6 +77,10 @@ public:
QVector
<
WeatherData
::
ForecastInfo
*>
forecasts
;
};
Q_DECLARE_TYPEINFO
(
WeatherData
::
ForecastInfo
,
Q_MOVABLE_TYPE
);
Q_DECLARE_TYPEINFO
(
WeatherData
,
Q_MOVABLE_TYPE
);
class
Q_DECL_EXPORT
UKMETIon
:
public
IonInterface
,
public
Plasma
::
DataEngineConsumer
{
Q_OBJECT
...
...
dataengines/weather/ions/envcan/ion_envcan.h
View file @
e17a7a86
...
...
@@ -135,6 +135,10 @@ public:
float
recordSnow
;
};
Q_DECLARE_TYPEINFO
(
WeatherData
::
WeatherEvent
,
Q_MOVABLE_TYPE
);
Q_DECLARE_TYPEINFO
(
WeatherData
::
ForecastInfo
,
Q_MOVABLE_TYPE
);
Q_DECLARE_TYPEINFO
(
WeatherData
,
Q_MOVABLE_TYPE
);
/**
* https://weather.gc.ca/mainmenu/disclaimer_e.html
*/
...
...
dataengines/weather/ions/noaa/ion_noaa.h
View file @
e17a7a86
...
...
@@ -80,6 +80,10 @@ public:
QVector
<
Forecast
>
forecasts
;
};
Q_DECLARE_TYPEINFO
(
WeatherData
::
Forecast
,
Q_MOVABLE_TYPE
);
Q_DECLARE_TYPEINFO
(
WeatherData
,
Q_MOVABLE_TYPE
);
class
Q_DECL_EXPORT
NOAAIon
:
public
IonInterface
,
public
Plasma
::
DataEngineConsumer
{
Q_OBJECT
...
...
dataengines/weather/ions/wetter.com/ion_wettercom.h
View file @
e17a7a86
...
...
@@ -94,6 +94,11 @@ public:
QVector
<
WeatherData
::
ForecastPeriod
*>
forecasts
;
};
Q_DECLARE_TYPEINFO
(
WeatherData
::
ForecastInfo
,
Q_MOVABLE_TYPE
);
Q_DECLARE_TYPEINFO
(
WeatherData
::
ForecastPeriod
,
Q_MOVABLE_TYPE
);
Q_DECLARE_TYPEINFO
(
WeatherData
,
Q_MOVABLE_TYPE
);
class
Q_DECL_EXPORT
WetterComIon
:
public
IonInterface
{
Q_OBJECT
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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