The source code conventions are:

EXAMPLE:

namespace foospace
{
    class Bar
    {
    public:
        int foo();
    private:
        int m_foo;
    };

    int Bar::foo()
    {
        switch (x)
        {
        case 1:
            break;
        default:
            break;
        }
        if (isBar)
        {
            bar();
            return m_foo + 1;
        }
        else
            return 0;
    }
}

If you are using KDevelop this is very simple.

Settings->Configure KDevelop->Formatting

GENERAL
* User Defined

INDENTATION
* Use spaces: 4
* Maximimum in statement: 40
* Minimum in conditional: Twice Current
Indent Namespaces
Indent Labels

OTHER
* Brackets: Break
* Padding: Add spaces around operators
* One Liners
	Keep one-line statements
	Keep one-line blocks

Finally,

I don't use comments very often.  I think it comments make code harder to read.  

That said, if the code is unclear, I'm sorry.  Let me know
and I'll try and make it clearer.  

If you commit code, please follow same.
