Difference between revisions of "Krita/docs/NewCodingPoliciesInMaster"

< Krita‎ | docs
Jump to: navigation, search
(New coding policy standards which should be use in Calligra master)
Line 2: Line 2:
 
# Use Q_SLOTS ans Q_SIGNALS instead of slots/signals keywords we used before
 
# Use Q_SLOTS ans Q_SIGNALS instead of slots/signals keywords we used before
 
# Add Q_DECL_HIDDEN to all Private classes in new code
 
# Add Q_DECL_HIDDEN to all Private classes in new code
# all #include <QDebug> and #include <kdebug.h> should be #include <kis_debug.h> now
+
# instead of #include <QDebug> and #include <kdebug.h> use #include <kis_debug.h>

Revision as of 18:47, 10 September 2015

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>

Content is available under Creative Commons License SA 4.0 unless otherwise noted.