/*
This file is part of the KDE project
- SPDX-FileCopyrightText: 2022 Felix Ernst <felixernst@zohomail.eu>
+ SPDX-FileCopyrightText: 2022 Felix Ernst <felixernst@kde.org>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
return m_contents;
};
- inline bool hasSomethingToShow() {
+ inline bool hasSomethingToShow()
+ {
return contents() != BottomBar::GeneralContents || m_internalContextMenu;
}
/**
* When it does not make sense to show any specific contents, this signal is emitted and the receiver hides the bar.
- * Later it might sense to show it again e.g. because the user selected items. Then this signal is used to request showing of the bar.
+ * Later it might make sense to show it again e.g. because the user selected items. Then this signal is used to request showing of the bar.
*/
void barVisibilityChangeRequested(bool visible);