summaryrefslogtreecommitdiffstats
path: root/akregator/HACKING
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/HACKING')
-rw-r--r--akregator/HACKING32
1 files changed, 16 insertions, 16 deletions
diff --git a/akregator/HACKING b/akregator/HACKING
index 7ff481182..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
@@ -145,15 +145,15 @@ class QSomething;
namespace Akregator {
-class Test : public QObject
+class Test : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
typedef QValueList<Test> list;
Test();
- Test(QString someString);
+ Test(TQString someString);
explicit Test(int i = 0);
virtual ~Test();
@@ -163,10 +163,10 @@ class Test : public QObject
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 QObject
static void someProtectedStaticFunc();
- protected Q_SLOTS:
+ protected slots:
void protectedSlot();
protected:
@@ -185,7 +185,7 @@ class Test : public QObject
static int staticPrivateMethod();
- private Q_SLOTS:
+ private slots:
void privateSlotIndeed(int youWonder);
private:
@@ -212,7 +212,7 @@ test.cpp:
namespace Akregator {
Test::Test()
- : QObject()
+ : TQObject()
, m_protectedVar(0)
, m_privateVar(0)
, m_tastyThing(0)
@@ -220,8 +220,8 @@ Test::Test()
{
}
-Test::Test(QString someString)
- : QObject()
+Test::Test(TQString someString)
+ : TQObject()
, m_protectedVar(0)
, m_privateVar(0)
, m_tastyThing(someString)
@@ -230,7 +230,7 @@ Test::Test(QString someString)
}
Test::Test(int i);
- : QObject()
+ : TQObject()
, m_protectedVar(0)
, m_privateVar(0)
, m_tastyThing(i)