diff options
Diffstat (limited to 'kopete/protocols/oscar/liboscar/HACKING')
-rw-r--r-- | kopete/protocols/oscar/liboscar/HACKING | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/oscar/liboscar/HACKING b/kopete/protocols/oscar/liboscar/HACKING index 9bd25476..36a6edf5 100644 --- a/kopete/protocols/oscar/liboscar/HACKING +++ b/kopete/protocols/oscar/liboscar/HACKING @@ -101,7 +101,7 @@ Spaces ================================================================================ Spaces should be used between the conditional / loop type and the -conditional statement. They should also not be used after parenthesis. However +conditional statement. They should also not be used after tqparenthesis. However the should be to mark of mathematical or comparative operators. if ( foo == bar ) @@ -122,15 +122,15 @@ not be inline in the headers. The organization of the members in a class should roughly as follows: public: -public slots: +public Q_SLOTS: protected: -protected slots: -signals: +protected Q_SLOTS: +Q_SIGNALS: private: // member funtions -private slots: +private Q_SLOTS: private: // member variables -If there are no private slots there is no need for two private sections, however +If there are no private Q_SLOTS there is no need for two private sections, however private functions and private variables should be clearly separated. The implementations files -- .cpp files -- should follow (when possible) the @@ -188,7 +188,7 @@ written in this document. Those files that don't match will be corrected eventua To make things easier on you, kate modelines are provided at the end of certain files to help enforce the coding style. If you're using the new C S&S Indenter that will be in KDE 3.4, I can provide a patch that will automatically implement the space padding around -parenthesis. Please mail me so I can send it to you. +tqparenthesis. Please mail me so I can send it to you. Matt Rogers <mattr@kde.org> |