Krita/docs/NewCodingPoliciesInMaster

From KDE Community Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

New coding policy standards which should be use in Calligra master

  1. Use Q_SLOTS ans Q_SIGNALS instead of slots/signals keywords we used before
  2. Add Q_DECL_HIDDEN to all Private classes in new code
  3. instead of #include <QDebug> and #include <kdebug.h> use #include <kis_debug.h>