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

From KDE TechBase

For example, if we wanted to let the user of Tutorial 2 clear the text box by clicking a button in the toolbar, from an option in the File menu or through a keyboard shortcut, it could all be done with one QAction.