Commit 8f706d08 authored by Laurent Montel's avatar Laurent Montel 😁

Remove slot in public function

parent 851fbd73
......@@ -302,7 +302,7 @@ void SplitterCollapser::slotClicked()
d->mSplitter->setSizes(sizes);
}
void SplitterCollapser::slotCollapse()
void SplitterCollapser::collapse()
{
if (d->isVisible()) {
slotClicked();
......@@ -310,7 +310,7 @@ void SplitterCollapser::slotCollapse()
// else do nothing
}
void SplitterCollapser::slotRestore()
void SplitterCollapser::restore()
{
if (!d->isVisible()) {
slotClicked();
......@@ -318,7 +318,7 @@ void SplitterCollapser::slotRestore()
// else do nothing
}
void SplitterCollapser::slotSetCollapsed(bool collapse)
void SplitterCollapser::setCollapsed(bool collapse)
{
if (collapse == d->isVisible()) {
slotClicked();
......
......@@ -46,9 +46,9 @@ public:
QSize sizeHint() const;
public Q_SLOTS:
void slotCollapse();
void slotRestore();
void slotSetCollapsed(bool collapsed);
void collapse();
void restore();
void setCollapsed(bool collapsed);
private Q_SLOTS:
void slotClicked();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment