diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-05 11:19:36 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-06 10:20:42 +0900 |
commit | 7ad14b004aabad9e185cbc1e894489b24e4b5d48 (patch) | |
tree | ae5b61928c2f83f6b339743277a6b3c2c709a371 /akregator | |
parent | 3b1e4bbb3df6a0de8aa0693038449c6f0359ce91 (diff) | |
download | tdepim-7ad14b004aabad9e185cbc1e894489b24e4b5d48.tar.gz tdepim-7ad14b004aabad9e185cbc1e894489b24e4b5d48.zip |
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 477975ca208e5f68bc748118dc6a18bd94895961)
Diffstat (limited to 'akregator')
-rw-r--r-- | akregator/HACKING | 18 | ||||
-rw-r--r-- | akregator/src/propertieswidgetbase.ui | 4 |
2 files changed, 11 insertions, 11 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: diff --git a/akregator/src/propertieswidgetbase.ui b/akregator/src/propertieswidgetbase.ui index fae011b0a..073c46b4b 100644 --- a/akregator/src/propertieswidgetbase.ui +++ b/akregator/src/propertieswidgetbase.ui @@ -452,10 +452,10 @@ <slot>setEnabled(bool)</slot> </connection> </connections> -<Q_SLOTS> +<slots> <slot access="protected" specifier="pure virtual">slotUpdateComboBoxActivated( int )</slot> <slot access="protected" specifier="pure virtual">slotUpdateCheckBoxToggled( bool )</slot> -</Q_SLOTS> +</slots> <layoutdefaults spacing="6" margin="11"/> <includes> <include location="global" impldecl="in implementation">klineedit.h</include> |