summaryrefslogtreecommitdiffstats
path: root/libkcal/HACKING
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/HACKING')
-rw-r--r--libkcal/HACKING8
1 files changed, 8 insertions, 0 deletions
diff --git a/libkcal/HACKING b/libkcal/HACKING
new file mode 100644
index 000000000..1029d1b42
--- /dev/null
+++ b/libkcal/HACKING
@@ -0,0 +1,8 @@
+See kdelibs/kabc/HACKING or http://korganizer.kde.org/develop/hacking.html for
+general coding style conventions.
+
+Additional conventions for libkcal and KOrganizer:
+
+- Don't use dynamic_cast. In most cases the use of dynamic_cast is an indication
+for design problems. In addition it isn't always available, e.g. when compiling
+without run-time type information for KOrganizer/Embedded.