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
f4185277
Commit
f4185277
authored
Jan 15, 2018
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Const'ify
parent
b93ec7aa
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
14 deletions
+14
-14
infocenter.h
infocenter.h
+10
-10
kcmcategoryitem.cpp
kcmcategoryitem.cpp
+1
-1
kcmcategoryitem.h
kcmcategoryitem.h
+1
-1
kcmtreeitem.cpp
kcmtreeitem.cpp
+1
-1
kcmtreeitem.h
kcmtreeitem.h
+1
-1
No files found.
infocenter.h
View file @
f4185277
...
...
@@ -141,19 +141,19 @@ class KInfoCenter : public KXmlGuiWindow
void
clearSearchLine
();
KcmContainer
*
m_contain
;
QSplitter
*
m_splitter
;
KcmContainer
*
m_contain
=
nullptr
;
QSplitter
*
m_splitter
=
nullptr
;
QAction
*
m_aboutKcm
;
QAction
*
m_searchAction
;
QAction
*
m_moduleHelpAction
;
KActionMenu
*
m_helpAction
;
QAction
*
m_aboutKcm
=
nullptr
;
QAction
*
m_searchAction
=
nullptr
;
QAction
*
m_moduleHelpAction
=
nullptr
;
KActionMenu
*
m_helpAction
=
nullptr
;
QWidget
*
m_cWidget
;
KLineEdit
*
m_searchText
;
QWidget
*
m_cWidget
=
nullptr
;
KLineEdit
*
m_searchText
=
nullptr
;
SidePanel
*
m_sideMenu
;
ToolTipManager
*
m_toolTips
;
SidePanel
*
m_sideMenu
=
nullptr
;
ToolTipManager
*
m_toolTips
=
nullptr
;
};
#endif //INFOCENTER
kcmcategoryitem.cpp
View file @
f4185277
...
...
@@ -60,7 +60,7 @@ KCModuleInfo KcmCategoryItem::kcm() const
return
KCModuleInfo
();
}
int
KcmCategoryItem
::
weight
()
int
KcmCategoryItem
::
weight
()
const
{
return
(
category
().
count
()
+
1000
);
}
...
...
kcmcategoryitem.h
View file @
f4185277
...
...
@@ -72,7 +72,7 @@ class KcmCategoryItem : public KcmTreeItem
/**
* Get tree items KCM's weight
*/
int
weight
()
Q_DECL_OVERRIDE
;
int
weight
()
const
Q_DECL_OVERRIDE
;
/**
* Get icon tied to KCM
...
...
kcmtreeitem.cpp
View file @
f4185277
...
...
@@ -120,7 +120,7 @@ KCModuleInfo KcmTreeItem::kcm() const
return
*
m_moduleInfo
;
}
int
KcmTreeItem
::
weight
()
int
KcmTreeItem
::
weight
()
const
{
return
m_moduleInfo
->
weight
();
}
...
...
kcmtreeitem.h
View file @
f4185277
...
...
@@ -130,7 +130,7 @@ class KcmTreeItem
/**
* Get tree items KCM's weight
*/
virtual
int
weight
();
virtual
int
weight
()
const
;
/**
* Get icon tied to KCM
...
...
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