Suggest to use setupGUI() instead of setXMLFile()

Review Request #128159 - Created June 12, 2016 and submitted

Information
Elvis Angelaccio
kparts
master
5ad0a46...
Reviewers
kdeframeworks
dfaure

KXMLGui-based apps should always use setupGUI(), which has several advantages over setXMLFile() and calls it implicitly.

This patch also adds a code snippet about this.


  

Issues

  • 0
  • 3
  • 0
  • 3
Description From Last Updated
David Faure
Elvis Angelaccio
David Faure
Elvis Angelaccio
David Faure
Elvis Angelaccio
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit c6a5d8e08001c5f6fe5e072ee48534eee31cab43 by Elvis Angelaccio to branch master.
Friedrich W. H. Kossebau

Not using "Create" with the setupGUI() call though ran across the initial idea of this patch,
as now setXMLFile() is no longer called implicitly when the "Create" flag is not passed to
setupGUI() :)

Filed https://phabricator.kde.org/D5181 to fix this up.

Loading...