summaryrefslogtreecommitdiffstats
path: root/akregator/HACKING
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/HACKING')
-rw-r--r--akregator/HACKING20
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: