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
L
libksysguard
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
2
Merge Requests
2
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
libksysguard
Commits
c15ce632
Commit
c15ce632
authored
Nov 16, 2017
by
Kevin Funk
☕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modernize: Use override everywhere
parent
a69ae0f7
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
17 additions
and
17 deletions
+17
-17
ksgrd/SensorAgent.h
ksgrd/SensorAgent.h
+1
-1
ksgrd/SensorManager.h
ksgrd/SensorManager.h
+1
-1
ksgrd/SensorShellAgent.h
ksgrd/SensorShellAgent.h
+1
-1
ksgrd/SensorSocketAgent.h
ksgrd/SensorSocketAgent.h
+1
-1
lsofui/lsof.h
lsofui/lsof.h
+1
-1
processcore/processes.h
processcore/processes.h
+1
-1
processcore/processes_atop_p.h
processcore/processes_atop_p.h
+1
-1
processcore/processes_base_p.h
processcore/processes_base_p.h
+1
-1
processcore/processes_local_p.h
processcore/processes_local_p.h
+1
-1
processcore/processes_remote_p.h
processcore/processes_remote_p.h
+1
-1
processui/ProcessFilter.h
processui/ProcessFilter.h
+1
-1
processui/ProcessModel.h
processui/ProcessModel.h
+1
-1
processui/ProcessModel_p.h
processui/ProcessModel_p.h
+2
-2
processui/ksysguardprocesslist.h
processui/ksysguardprocesslist.h
+1
-1
signalplotter/kgraphicssignalplotter.h
signalplotter/kgraphicssignalplotter.h
+1
-1
signalplotter/ksignalplotter.h
signalplotter/ksignalplotter.h
+1
-1
No files found.
ksgrd/SensorAgent.h
View file @
c15ce632
...
...
@@ -51,7 +51,7 @@ class Q_DECL_EXPORT SensorAgent : public QObject
public:
explicit
SensorAgent
(
SensorManager
*
sm
);
virtual
~
SensorAgent
()
;
~
SensorAgent
()
override
;
virtual
bool
start
(
const
QString
&
host
,
const
QString
&
shell
,
const
QString
&
command
=
QLatin1String
(
""
),
int
port
=
-
1
)
=
0
;
...
...
ksgrd/SensorManager.h
View file @
c15ce632
...
...
@@ -63,7 +63,7 @@ class Q_DECL_EXPORT SensorManager : public QObject
};
explicit
SensorManager
(
QObject
*
parent
=
0
);
~
SensorManager
();
~
SensorManager
()
override
;
/*! Number of hosts connected to */
int
count
()
const
;
...
...
ksgrd/SensorShellAgent.h
View file @
c15ce632
...
...
@@ -51,7 +51,7 @@ class SensorShellAgent : public SensorAgent
public:
explicit
SensorShellAgent
(
SensorManager
*
sm
);
~
SensorShellAgent
();
~
SensorShellAgent
()
override
;
bool
start
(
const
QString
&
host
,
const
QString
&
shell
,
const
QString
&
command
=
QLatin1String
(
QLatin1String
(
""
)),
int
port
=
-
1
)
Q_DECL_OVERRIDE
;
...
...
ksgrd/SensorSocketAgent.h
View file @
c15ce632
...
...
@@ -46,7 +46,7 @@ class SensorSocketAgent : public SensorAgent
public:
explicit
SensorSocketAgent
(
SensorManager
*
sm
);
~
SensorSocketAgent
();
~
SensorSocketAgent
()
override
;
bool
start
(
const
QString
&
host
,
const
QString
&
shell
,
const
QString
&
command
=
QLatin1String
(
""
),
int
port
=
-
1
)
Q_DECL_OVERRIDE
;
...
...
lsofui/lsof.h
View file @
c15ce632
...
...
@@ -33,7 +33,7 @@ class Q_DECL_EXPORT KLsofWidget : public QTreeWidget {
Q_PROPERTY
(
qlonglong
pid
READ
pid
WRITE
setPid
)
public:
KLsofWidget
(
QWidget
*
parent
=
NULL
);
~
KLsofWidget
();
~
KLsofWidget
()
override
;
bool
update
();
private
Q_SLOTS
:
...
...
processcore/processes.h
View file @
c15ce632
...
...
@@ -59,7 +59,7 @@ namespace KSysGuard
public:
Processes
(
const
QString
&
hostname
=
QString
::
null
,
QObject
*
parent
=
0
);
virtual
~
Processes
()
;
~
Processes
()
override
;
enum
UpdateFlag
{
StandardInformation
=
1
,
IOStatistics
=
2
,
...
...
processcore/processes_atop_p.h
View file @
c15ce632
...
...
@@ -39,7 +39,7 @@ namespace KSysGuard
class
ProcessesATop
:
public
AbstractProcesses
{
public:
explicit
ProcessesATop
(
bool
loadDefaultFile
=
true
);
virtual
~
ProcessesATop
()
;
~
ProcessesATop
()
override
;
QSet
<
long
>
getAllPids
()
Q_DECL_OVERRIDE
;
long
getParentPid
(
long
pid
)
Q_DECL_OVERRIDE
;
bool
updateProcessInfo
(
long
pid
,
Process
*
process
)
Q_DECL_OVERRIDE
;
...
...
processcore/processes_base_p.h
View file @
c15ce632
...
...
@@ -45,7 +45,7 @@ namespace KSysGuard
public:
AbstractProcesses
()
{
errorCode
=
Processes
::
Unknown
;
}
virtual
~
AbstractProcesses
()
{}
~
AbstractProcesses
()
override
{}
/** \brief Get a set of the currently running process PIDs.
*
...
...
processcore/processes_local_p.h
View file @
c15ce632
...
...
@@ -38,7 +38,7 @@ namespace KSysGuard
class
ProcessesLocal
:
public
AbstractProcesses
{
public:
ProcessesLocal
();
virtual
~
ProcessesLocal
()
;
~
ProcessesLocal
()
override
;
QSet
<
long
>
getAllPids
()
Q_DECL_OVERRIDE
;
long
getParentPid
(
long
pid
)
Q_DECL_OVERRIDE
;
bool
updateProcessInfo
(
long
pid
,
Process
*
process
)
Q_DECL_OVERRIDE
;
...
...
processcore/processes_remote_p.h
View file @
c15ce632
...
...
@@ -33,7 +33,7 @@ namespace KSysGuard
Q_OBJECT
public:
ProcessesRemote
(
const
QString
&
hostname
);
virtual
~
ProcessesRemote
()
;
~
ProcessesRemote
()
override
;
QSet
<
long
>
getAllPids
()
Q_DECL_OVERRIDE
;
long
getParentPid
(
long
pid
)
Q_DECL_OVERRIDE
;
bool
updateProcessInfo
(
long
pid
,
Process
*
process
)
Q_DECL_OVERRIDE
;
...
...
processui/ProcessFilter.h
View file @
c15ce632
...
...
@@ -45,7 +45,7 @@ class KSYSGUARD_EXPORT ProcessFilter : public QSortFilterProxyModel
public:
enum
State
{
AllProcesses
=
0
,
AllProcessesInTreeForm
,
SystemProcesses
,
UserProcesses
,
OwnProcesses
,
ProgramsOnly
};
ProcessFilter
(
QObject
*
parent
=
0
)
:
QSortFilterProxyModel
(
parent
)
{
mFilter
=
AllProcesses
;}
virtual
~
ProcessFilter
()
{}
~
ProcessFilter
()
override
{}
bool
lessThan
(
const
QModelIndex
&
left
,
const
QModelIndex
&
right
)
const
Q_DECL_OVERRIDE
;
State
filter
()
const
{
return
mFilter
;
}
...
...
processui/ProcessModel.h
View file @
c15ce632
...
...
@@ -50,7 +50,7 @@ class KSYSGUARD_EXPORT ProcessModel : public QAbstractItemModel
public:
ProcessModel
(
QObject
*
parent
=
0
,
const
QString
&
host
=
QString
()
);
virtual
~
ProcessModel
()
;
~
ProcessModel
()
override
;
/* Functions for our Model for QAbstractItemModel*/
int
rowCount
(
const
QModelIndex
&
parent
=
QModelIndex
())
const
Q_DECL_OVERRIDE
;
...
...
processui/ProcessModel_p.h
View file @
c15ce632
...
...
@@ -65,7 +65,7 @@ class ProcessModelPrivate : public QObject
Q_OBJECT
public:
ProcessModelPrivate
();
~
ProcessModelPrivate
();
~
ProcessModelPrivate
()
override
;
public
Q_SLOTS
:
#if HAVE_X11
...
...
@@ -146,7 +146,7 @@ class ProcessModelPrivate : public QObject
void
queryForAndUpdateAllXWindows
();
#endif
#endif
v
irtual
void
timerEvent
(
QTimerEvent
*
event
)
;
///< Call dataChanged() for all the processes in mPidsToUpdate
v
oid
timerEvent
(
QTimerEvent
*
event
)
override
;
///< Call dataChanged() for all the processes in mPidsToUpdate
/** @see setIsLocalhost */
bool
mIsLocalhost
;
...
...
processui/ksysguardprocesslist.h
View file @
c15ce632
...
...
@@ -60,7 +60,7 @@ class Q_DECL_EXPORT KSysGuardProcessList : public QWidget
public:
KSysGuardProcessList
(
QWidget
*
parent
=
NULL
,
const
QString
&
hostName
=
QString
());
virtual
~
KSysGuardProcessList
()
;
~
KSysGuardProcessList
()
override
;
QLineEdit
*
filterLineEdit
()
const
;
QTreeView
*
treeView
()
const
;
...
...
signalplotter/kgraphicssignalplotter.h
View file @
c15ce632
...
...
@@ -90,7 +90,7 @@ class Q_DECL_EXPORT KGraphicsSignalPlotter : public QGraphicsWidget
public:
KGraphicsSignalPlotter
(
QGraphicsItem
*
parent
=
0
);
virtual
~
KGraphicsSignalPlotter
()
;
~
KGraphicsSignalPlotter
()
override
;
/** \brief Add a new line to the graph plotter, with the specified color.
*
...
...
signalplotter/ksignalplotter.h
View file @
c15ce632
...
...
@@ -92,7 +92,7 @@ class Q_DECL_EXPORT KSignalPlotter : public QWidget
public:
KSignalPlotter
(
QWidget
*
parent
=
0
);
virtual
~
KSignalPlotter
()
;
~
KSignalPlotter
()
override
;
/** \brief Add a new line to the graph plotter, with the specified color.
*
...
...
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