diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /akregator/HACKING | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'akregator/HACKING')
-rw-r--r-- | akregator/HACKING | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/akregator/HACKING b/akregator/HACKING index 6e5c1b97d..4567e4d49 100644 --- a/akregator/HACKING +++ b/akregator/HACKING @@ -66,7 +66,7 @@ Spaces ================================================================================ Spaces should be used between the conditional / loop type and the -conditional statement. They should not be used after parenthesis. However +conditional statement. They should not be used after tqparenthesis. However the should be to mark of mathematical or comparative operators. if ( foo == bar ) @@ -87,17 +87,17 @@ class should be roughly as follows: public typedefs: public ctors: public methods: -public slots: -signals: +public Q_SLOTS: +Q_SIGNALS: protected methods: -protected slots: +protected Q_SLOTS: protected fields: private methods: -private slots: +private Q_SLOTS: private fields: private ctors: // if you define ctors/dtor as private, put them at end -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 @@ -163,10 +163,10 @@ class Test : public QObject static Test *instance() { return m_instance; } - public slots: + public Q_SLOTS: void receive(QSomething &); - signals: + Q_SIGNALS: void send(QSomething &); protected: @@ -174,7 +174,7 @@ class Test : public QObject static void someProtectedStaticFunc(); - protected slots: + protected Q_SLOTS: void protectedSlot(); protected: @@ -185,7 +185,7 @@ class Test : public QObject static int staticPrivateMethod(); - private slots: + private Q_SLOTS: void privateSlotIndeed(int youWonder); private: |