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
KInfoCenter
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
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
KInfoCenter
Commits
891c9788
Commit
891c9788
authored
Oct 22, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make as explicit, use nullptr
parent
eac3606e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
12 deletions
+13
-12
Modules/devinfo/solidhelper.h
Modules/devinfo/solidhelper.h
+1
-1
Modules/memory/chartWidget.h
Modules/memory/chartWidget.h
+7
-6
Modules/memory/swapMemoryChart.h
Modules/memory/swapMemoryChart.h
+1
-1
Modules/memory/totalMemoryChart.h
Modules/memory/totalMemoryChart.h
+1
-1
infokcmmodel.h
infokcmmodel.h
+1
-1
infokcmproxymodel.h
infokcmproxymodel.h
+1
-1
sidepanel.h
sidepanel.h
+1
-1
No files found.
Modules/devinfo/solidhelper.h
View file @
891c9788
...
...
@@ -30,7 +30,7 @@ class SolidHelper
{
public:
SolidHelper
()
{}
;
SolidHelper
()
{}
Solid
::
DeviceInterface
::
Type
deviceType
(
const
Solid
::
Device
*
);
};
...
...
Modules/memory/chartWidget.h
View file @
891c9788
...
...
@@ -33,8 +33,9 @@ class QWidget;
#include "base.h"
class
Chart
:
public
QWidget
{
Q_OBJECT
public:
Chart
(
QWidget
*
parent
=
nullptr
);
explicit
Chart
(
QWidget
*
parent
=
nullptr
);
void
setMemoryInfos
(
t_memsize
*
memoryInfos
);
void
setFreeMemoryLabel
(
QLabel
*
freeMemoryLabel
);
...
...
@@ -45,9 +46,9 @@ protected:
bool
drawChart
(
t_memsize
total
,
const
QList
<
t_memsize
>&
used
,
const
QList
<
QColor
>&
colors
,
const
QList
<
QString
>&
texts
);
t_memsize
*
memoryInfos
;
t_memsize
*
memoryInfos
=
nullptr
;
QLabel
*
freeMemoryLabel
;
QLabel
*
freeMemoryLabel
=
nullptr
;
};
...
...
@@ -64,11 +65,11 @@ public:
private:
QLabel
*
titleLabel
;
QLabel
*
titleLabel
=
nullptr
;
Chart
*
chart
;
Chart
*
chart
=
nullptr
;
QLabel
*
freeMemoryLabel
;
QLabel
*
freeMemoryLabel
=
nullptr
;
};
...
...
Modules/memory/swapMemoryChart.h
View file @
891c9788
...
...
@@ -35,7 +35,7 @@ public:
/**
* Initialize the list view item and task.
*/
SwapMemoryChart
(
QWidget
*
parent
=
nullptr
);
explicit
SwapMemoryChart
(
QWidget
*
parent
=
nullptr
);
protected:
...
...
Modules/memory/totalMemoryChart.h
View file @
891c9788
...
...
@@ -35,7 +35,7 @@ public:
/**
* Initialize the list view item and task.
*/
TotalMemoryChart
(
QWidget
*
parent
=
nullptr
);
explicit
TotalMemoryChart
(
QWidget
*
parent
=
nullptr
);
protected:
...
...
infokcmmodel.h
View file @
891c9788
...
...
@@ -51,7 +51,7 @@ class InfoKcmModel : public QAbstractItemModel
*
* @param parent objects parent
*/
InfoKcmModel
(
QObject
*
parent
);
explicit
InfoKcmModel
(
QObject
*
parent
);
~
InfoKcmModel
();
...
...
infokcmproxymodel.h
View file @
891c9788
...
...
@@ -41,7 +41,7 @@ class InfoKcmProxyModel : public QSortFilterProxyModel
*
* @param parent objects parent
*/
InfoKcmProxyModel
(
QObject
*
parent
);
explicit
InfoKcmProxyModel
(
QObject
*
parent
);
/**
* Check if left item is less than right item
...
...
sidepanel.h
View file @
891c9788
...
...
@@ -49,7 +49,7 @@ class SidePanel : public QTreeView
*
* @param parent objects parent
*/
SidePanel
(
QWidget
*
parent
);
explicit
SidePanel
(
QWidget
*
parent
);
/**
* Destory SidePanel 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