Translations:Development/Tutorials/Using Actions/39/en
They are very simple to use. Once the library has been included (#include <KStandardAction>), simply supply it with what you want the function to do and which QActionCollection to add it to. For example: