Review Request 120135: Port KAppTemplate to KF5

Simon Wächter waechter.simon at gmail.com
Sat Sep 13 07:22:12 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120135/
-----------------------------------------------------------

(Updated Sept. 13, 2014, 9:22 a.m.)


Review request for KDevelop and Jonathan Riddell.


Changes
-------

Fixed the last two issues. Other "todo" things will be done in the next patch(es).


Repository: kapptemplate


Description
-------

This is an initial port of the KAppTemplate application to KF5. These things were changed:

- Updated all CMake files
- Ported the codebased including the test cases (Everything still depends on KDELibs4Support)
- Changed the icon names, so they are installed in the right direction

There are still several smaller issues like a non working help menu, wrong titles (KDE 4), a missing application icon and outdated templates in general. In the next day I will fix these problems. For more information see the TODO file.

There is also the idea to create a shared library, so KAppTemplate and the app template wizard of KDevelop can share the same codebase. With this step, we could also think about renaming KAppTemplate to KTemplates, so people can use file and application templates - this step would also be quite suitable for KDevelop. 

Opinions about that ?

If people accept the patch I will create a KF5 branch.


Diffs (updated)
-----

  icons/hi64-app-kapptemplate.png 4f4062d98dd0e1121a73ec3108270be081239a5c 
  icons/hi64-apps-kapptemplate.png PRE-CREATION 
  icons/hisc-app-kapptemplate.svg e7d38fa 
  icons/hisc-apps-kapptemplate.svg PRE-CREATION 
  kapptemplate.cpp a221ac4 
  main.cpp 068e714 
  tests/CMakeLists.txt 2a70758 
  tests/macrosubstitutiontest.cpp 8a35536 
  tests/namevalidatortest.cpp e75e28a 
  apptemplatesmodel.h c54994a 
  apptemplatesmodel.cpp 5b62bbd 
  choicepage.cpp aa4bf9c 
  cmake/modules/KAppTemplateMacro.cmake 1dd61b2 
  doc/CMakeLists.txt f9ca3cc 
  generatepage.cpp fde5c75 
  icons/CMakeLists.txt 69b754f 
  icons/hi128-app-kapptemplate.png fed10624fc9b3af141f0bcc594894bc51edbeb33 
  icons/hi128-apps-kapptemplate.png PRE-CREATION 
  icons/hi16-app-kapptemplate.png aba9f967dc225072a4b708048cd271ae612a98cd 
  icons/hi16-apps-kapptemplate.png PRE-CREATION 
  icons/hi22-app-kapptemplate.png 2205f643e4593090e5f8833643b950fcc02d944c 
  icons/hi22-apps-kapptemplate.png PRE-CREATION 
  icons/hi32-app-kapptemplate.png 2c87092947889bf1010471faf5ea4315f9d82197 
  icons/hi32-apps-kapptemplate.png PRE-CREATION 
  icons/hi48-app-kapptemplate.png 5e896b92f3704c81421517527cf21c79e4309ac9 
  icons/hi48-apps-kapptemplate.png PRE-CREATION 
  .gitignore PRE-CREATION 
  CMakeLists.txt 0c162c4 
  TODO PRE-CREATION 
  apptemplateitem.cpp 01bbc5f 

Diff: https://git.reviewboard.kde.org/r/120135/diff/


Testing
-------

Compilation, testing and installing was done under a project neon 5 system. The core functionallity is working fine (For problems see the TODO file)


Thanks,

Simon Wächter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140913/13449121/attachment.html>


More information about the KDevelop-devel mailing list