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
Education
Kalzium
Commits
2b2ed3fa
Commit
2b2ed3fa
authored
Jan 05, 2022
by
Laurent Montel
Browse files
Use Q_SLOTS
parent
026f10c6
Changes
25
Hide whitespace changes
Inline
Side-by-side
src/calculator/calculator.h
View file @
2b2ed3fa
...
...
@@ -54,16 +54,16 @@ private:
#ifdef HAVE_FACILE
EQChemDialog
*
m_equationBalancer
;
// The equation balancer
#endif
protected
slots
:
protected
Q_SLOTS
:
/**
* invoke the help of the correct chapter
*/
virtual
void
slotHelp
();
private
slots
:
private
Q_SLOTS
:
// occurs when an tree item is selected, opens the corresponding calculator
void
slotItemSelection
(
QTreeWidgetItem
*
item
);
public
slots
:
public
Q_SLOTS
:
};
#endif // CALCULATOR_H
src/calculator/concCalculator.h
View file @
2b2ed3fa
...
...
@@ -68,7 +68,7 @@ public:
explicit
concCalculator
(
QWidget
*
parent
=
nullptr
);
~
concCalculator
();
public
slots
:
public
Q_SLOTS
:
// Sub-routines involved in calculations of the unit
/// Calculates the amount of solute
...
...
src/calculator/gasCalculator.h
View file @
2b2ed3fa
...
...
@@ -61,7 +61,7 @@ public:
explicit
gasCalculator
(
QWidget
*
parent
=
nullptr
);
~
gasCalculator
();
public
slots
:
public
Q_SLOTS
:
/// Calculates the Pressure and updates the UI
void
calculatePressure
();
...
...
src/calculator/nuclearCalculator.h
View file @
2b2ed3fa
...
...
@@ -51,7 +51,7 @@ public:
explicit
nuclearCalculator
(
QWidget
*
parent
=
nullptr
);
~
nuclearCalculator
();
public
slots
:
public
Q_SLOTS
:
/// Calculates the initial amount and updates the UI
void
calculateInitAmount
();
...
...
src/calculator/titrationCalculator.h
View file @
2b2ed3fa
...
...
@@ -35,7 +35,7 @@ public:
explicit
titrationCalculator
(
QWidget
*
parent
=
nullptr
);
~
titrationCalculator
();
public
slots
:
public
Q_SLOTS
:
void
on_pushButton_clicked
();
void
on_xmin_valueChanged
(
double
val
);
void
on_xmax_valueChanged
(
double
val
);
...
...
src/detailedgraphicaloverview.h
View file @
2b2ed3fa
...
...
@@ -30,7 +30,7 @@ public:
*/
explicit
DetailedGraphicalOverview
(
QWidget
*
parent
);
public
slots
:
public
Q_SLOTS
:
/**
* Set @p el as the element to be drawn
*/
...
...
src/detailinfodlg.h
View file @
2b2ed3fa
...
...
@@ -115,7 +115,7 @@ private:
/// overloaded function to add link as the displayed String
QString
createWikiLink
(
QString
link
);
private
slots
:
private
Q_SLOTS
:
void
slotLinkClicked
(
const
QUrl
&
url
);
void
showNextElement
();
...
...
src/elementdataviewer.h
View file @
2b2ed3fa
...
...
@@ -117,18 +117,18 @@ private:
void
setLimits
();
protected
slots
:
protected
Q_SLOTS
:
/**
* invoke the help of the correct chapter
*/
virtual
void
slotHelp
();
private
slots
:
private
Q_SLOTS
:
void
rangeChanged
();
void
fullRange
();
void
swapXYAxis
();
public
slots
:
public
Q_SLOTS
:
void
slotZoomIn
();
void
slotZoomOut
();
...
...
src/exportdialog.h
View file @
2b2ed3fa
...
...
@@ -54,7 +54,7 @@ private:
Ui
::
exportDialogForm
ui
;
QTextStream
*
m_outputStream
;
public
slots
:
public
Q_SLOTS
:
void
slotOkClicked
();
/**
* Open help page
...
...
src/gradientwidget_impl.h
View file @
2b2ed3fa
...
...
@@ -41,14 +41,14 @@ Q_SIGNALS:
*/
void
gradientValueChanged
(
double
);
public
slots
:
public
Q_SLOTS
:
/**
* Sets the comboboxes to the current values.
* the current values come form the elementProperty class.
*/
void
slotGradientChanged
();
private
slots
:
private
Q_SLOTS
:
void
play
(
void
);
void
stop
(
void
);
void
tick
(
void
);
...
...
src/isotopetable/isotopeguideview.h
View file @
2b2ed3fa
...
...
@@ -37,7 +37,7 @@ private:
void
mouseReleaseEvent
(
QMouseEvent
*
event
)
override
;
void
mouseMoveEvent
(
QMouseEvent
*
event
)
override
;
private
slots
:
private
Q_SLOTS
:
void
setZoomLevel
(
double
zoomLevel
);
void
setVisibleSceneRect
(
const
QPolygonF
&
sceneRect
);
};
...
...
src/isotopetable/isotopetabledialog.h
View file @
2b2ed3fa
...
...
@@ -29,7 +29,7 @@ public:
private:
Ui
::
isotopeWidget
ui
;
private
slots
:
private
Q_SLOTS
:
void
updateDockWidget
(
IsotopeItem
*
);
void
zoom
(
int
);
void
slotZoomLevelChanged
(
double
);
...
...
src/kalzium.h
View file @
2b2ed3fa
...
...
@@ -134,7 +134,7 @@ private:
Q_SIGNALS:
void
numerationChanged
(
int
);
private
slots
:
private
Q_SLOTS
:
/**
* opens the information dialog for the element @p number
*/
...
...
src/kalziumelementproperty.h
View file @
2b2ed3fa
...
...
@@ -118,7 +118,7 @@ Q_SIGNALS:
*/
void
propertyChanged
();
public
slots
:
public
Q_SLOTS
:
/**
* gets the value from the gradientwidget. The value which is used to
* determine if an element is active or not.
...
...
src/legendwidget.h
View file @
2b2ed3fa
...
...
@@ -35,7 +35,7 @@ Q_SIGNALS:
void
elementMatched
(
int
element
);
void
resetElementMatch
();
public
slots
:
public
Q_SLOTS
:
void
updateContent
();
void
setDockArea
(
Qt
::
DockWidgetArea
newDockArea
);
...
...
src/molcalcwidget.h
View file @
2b2ed3fa
...
...
@@ -35,13 +35,13 @@ public:
void
hideExtra
();
~
MolcalcWidget
()
override
;
protected
slots
:
protected
Q_SLOTS
:
void
slotCalculate
();
protected:
void
keyPressEvent
(
QKeyEvent
*
e
)
override
;
private
slots
:
private
Q_SLOTS
:
void
clear
();
void
addAlias
();
...
...
src/orbitswidget.h
View file @
2b2ed3fa
...
...
@@ -33,7 +33,7 @@ private:
QList
<
int
>
numOfElectrons
;
protected
slots
:
protected
Q_SLOTS
:
virtual
void
paintEvent
(
QPaintEvent
*
)
override
;
};
...
...
src/psetable/periodictableview.h
View file @
2b2ed3fa
...
...
@@ -67,7 +67,7 @@ Q_SIGNALS:
*/
void
numerationChange
(
int
num
);
public
slots
:
public
Q_SLOTS
:
/**
* Change the pse table to the given id.
* @param newtable id of the pse table.
...
...
src/rsdialog.h
View file @
2b2ed3fa
...
...
@@ -36,10 +36,10 @@ public:
QString
sphrase
(
int
number
);
public
slots
:
public
Q_SLOTS
:
void
filter
();
private
slots
:
private
Q_SLOTS
:
void
slotHelp
();
private:
...
...
src/search.h
View file @
2b2ed3fa
...
...
@@ -69,7 +69,7 @@ public:
*/
bool
matches
(
int
el
)
const
;
public
slots
:
public
Q_SLOTS
:
/**
* Search the @p text by looking at the element using the
* specified @p kind
...
...
Prev
1
2
Next
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