Warning, /plasma/kactivitymanagerd/README.developers is written in an unsupported language. File is not indexed.
0001 0002 Compiler compatibility 0003 ====================== 0004 0005 You can (and should) use more modern C++ coding practices. Including 0006 auto, lambdas, smart pointers etc. You can use anything that GCC 4.7 0007 can compile. 0008 0009 These are the compilers you need to test your patches against: 0010 - GCC 4.7 0011 - LLVM/Clang 3.1 0012 0013 When you set up different builds alongside the main one, you can use 0014 scripts/commit.sh to build them all before committing. The script 0015 calls git commit if all builds finished successfully. See the script 0016 for more info. 0017 0018 0019 File naming 0020 =========== 0021 0022 The service, and the rest of the repository should be in camel-case 0023 (with the exception of source files that don't have corresponding 0024 headers, or vice-versa). 0025 0026 0027 CONVENIENCE MACROS AND METHODS 0028 ============================== 0029 0030 There are some convenience macros and methods defined in the headers placed 0031 in the service/utils/ directory. 0032 0033 D_PTR 0034 ----- 0035 0036 d_ptr.h and d_ptr_implementation.h define a smart pointer way of doing 0037 the d-ptr (aka pimpl) idiom. 0038 0039 remove_if 0040 --------- 0041 0042 remove_if.h is a generic implementation of the erase-remove idiom 0043 0044 for_each_assoc, find_if_assoc 0045 ----------------------------- 0046 0047 for_each_assoc.h and find_if_assoc.h define the for_each and find_if 0048 algorithms for associative containers. Works with both Qt and STL containers. 0049