summaryrefslogtreecommitdiffstats
path: root/akregator/HACKING
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-02-05 11:19:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-05 11:19:36 +0900
commit477975ca208e5f68bc748118dc6a18bd94895961 (patch)
tree670e3912afc908378c1d75084ded99713b6e5817 /akregator/HACKING
parentd2f343cc239e1fa25c9581cf35bada96692c41db (diff)
downloadtdepim-477975ca208e5f68bc748118dc6a18bd94895961.tar.gz
tdepim-477975ca208e5f68bc748118dc6a18bd94895961.zip
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'akregator/HACKING')
-rw-r--r--akregator/HACKING18
1 files changed, 9 insertions, 9 deletions
diff --git a/akregator/HACKING b/akregator/HACKING
index cf8b640b0..3dc85fbd0 100644
--- a/akregator/HACKING
+++ b/akregator/HACKING
@@ -87,17 +87,17 @@ class should be roughly as follows:
public typedefs:
public ctors:
public methods:
-public Q_SLOTS:
-Q_SIGNALS:
+public slots:
+signals:
protected methods:
-protected Q_SLOTS:
+protected slots:
protected fields:
private methods:
-private Q_SLOTS:
+private slots:
private fields:
private ctors: // if you define ctors/dtor as private, put them at end
-If there are no private Q_SLOTS there is no need for two private sections, however
+If there are no private 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 TQObject
static Test *instance() { return m_instance; }
- public Q_SLOTS:
+ public slots:
void receive(QSomething &);
- Q_SIGNALS:
+ signals:
void send(QSomething &);
protected:
@@ -174,7 +174,7 @@ class Test : public TQObject
static void someProtectedStaticFunc();
- protected Q_SLOTS:
+ protected slots:
void protectedSlot();
protected:
@@ -185,7 +185,7 @@ class Test : public TQObject
static int staticPrivateMethod();
- private Q_SLOTS:
+ private slots:
void privateSlotIndeed(int youWonder);
private: