From 24e0799ccc85967d958b1de706186ec154f64226 Mon Sep 17 00:00:00 2001 From: David Redondo Date: Fri, 22 May 2020 22:54:17 +0200 Subject: Add KStandardShortcut::findByName(const QString&) and deprecate find(const char*) KStandardShortcut::name returns a QString, this makes the api symmetric and more straightforward to use. --- autotests/kstandardshortcuttest.h | 1 + 1 file changed, 1 insertion(+) (limited to 'autotests/kstandardshortcuttest.h') diff --git a/autotests/kstandardshortcuttest.h b/autotests/kstandardshortcuttest.h index 3d186226..ae484458 100644 --- a/autotests/kstandardshortcuttest.h +++ b/autotests/kstandardshortcuttest.h @@ -19,6 +19,7 @@ private Q_SLOTS: void testLabel(); void testShortcut(); void testFindStdAccel(); + void testFindByName(); }; #endif -- cgit v1.2.1