File indexing completed on 2024-05-12 05:06:13
0001 /* 0002 SPDX-FileCopyrightText: 2022 Thomas Baumgart <tbaumgart@kde.org> 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 #include "kmmyesno.h" 0007 0008 // ---------------------------------------------------------------------------- 0009 // QT Includes 0010 0011 // ---------------------------------------------------------------------------- 0012 // KDE Includes 0013 0014 #include <KLocalizedString> 0015 0016 // ---------------------------------------------------------------------------- 0017 // Project Includes 0018 0019 KGuiItem KMMYesNo::yes() 0020 { 0021 return KGuiItem(i18nc("@action:button", "Yes"), QStringLiteral("dialog-ok")); 0022 } 0023 0024 KGuiItem KMMYesNo::no() 0025 { 0026 return KGuiItem(i18nc("@action:button", "No"), QStringLiteral("dialog-cancel")); 0027 }