Translations:Development/Tutorials/Using Actions/18/en: Difference between revisions
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 07:31, 26 October 2019
This builds upon the KXmlGuiWindow code from Tutorial 2. Most of the changes are to mainwindow.cpp, an important structural change being that the constructor for MainWindow now calls setupActions() instead of setupGUI(). setupActions() is where the new QAction code goes before finally calling setupGUI() itself.