Translations:Development/Tutorials/Using Actions/41/en

From KDE TechBase

In the end, this creates a QAction with the correct icon, text and shortcut and even adds it to the File menu.