File indexing completed on 2025-01-05 05:18:57
0001 // SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0002 // 0003 // SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0004 0005 #include "KLLMActionMenu.h" 0006 #include <KLocalizedString> 0007 #include <QMenu> 0008 0009 using namespace KLLMWidgets; 0010 KLLMActionMenu::KLLMActionMenu(QObject *parent) 0011 : KActionMenu{parent} 0012 { 0013 // TODO: fix i18n 0014 setText(i18n("Info")); 0015 delete menu(); 0016 auto subMenu = new QMenu; 0017 setMenu(subMenu); 0018 } 0019 0020 KLLMActionMenu::~KLLMActionMenu() = default; 0021 0022 void KLLMActionMenu::updateMenu() 0023 { 0024 } 0025 0026 #include "moc_KLLMActionMenu.cpp"