Skip to content
  • Andi Clemens's avatar
    Adapt digiKam coding style guides: · c85950e3
    Andi Clemens authored
        This is a huge patch to finally have a common coding style in the source
        code.
        
        This patch adds:
        
            - curly brackets to all single line statements
            - left pointer / reference operator style (char* bla)
            - indent 4 spaces
            - convert tab -> spaces
        
        I did not change the libs from 3rdparty and the ones from libs/jpegutils.
        Code compiles fine under Linux, there shouldn't be code breakage because we
        only reformat the code and add missing brackets. If code is broken now
        (logic
        errors due to missing brackets), it was broken before.
        
        I add this as one single patch so we can easily revert it, if needed.
        I think it is really important to have one common style in the code, and
        that
        we don't mix it.
        
        Gilles,
        
        can you check if all compiles fine under Windows and Mac?
        
        Andi
    
    
    svn path=/branches/extragear/graphics/digikam/; revision=1200840
    c85950e3