Changeset 931947b8 in subsurface


Ignore:
Timestamp:
Dec 26, 2017, 1:08:49 PM (4 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
b86c70a
Parents:
ff3b107
git-author:
Berthold Stoeger <bstoeger@…> (12/24/17 08:37:17)
git-committer:
Dirk Hohndel <dirk@…> (12/26/17 13:08:49)
Message:

Remove Q_OBJECT macros and friend declaration from *Filter classes

Since these classes do not possess any signals/slots,
these macro are unnecessary.

Likewise, the friend declaration in TagFilter? is useless,
since the corresponding fields are in the base class.

Fallout of commit 1a4e7ad0dd29b9eeac2016933cb86bff260dadbb.

Signed-off-by: Berthold Stoeger <bstoeger@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • desktop-widgets/simplewidgets.h

    r1a4e7ad0 r931947b8  
    178178
    179179class TagFilter : public FilterBase {
    180         Q_OBJECT
    181180public:
    182181        TagFilter(QWidget *parent = 0);
    183         friend class MultiFilter;
    184182};
    185183
    186184class BuddyFilter : public FilterBase {
    187         Q_OBJECT
    188185public:
    189186        BuddyFilter(QWidget *parent = 0);
     
    191188
    192189class SuitFilter : public FilterBase {
    193         Q_OBJECT
    194190public:
    195191        SuitFilter(QWidget *parent = 0);
     
    197193
    198194class LocationFilter : public FilterBase {
    199         Q_OBJECT
    200195public:
    201196        LocationFilter(QWidget *parent = 0);
     
    203198
    204199class TextHyperlinkEventFilter : public QObject {
    205         Q_OBJECT
    206200public:
    207201        explicit TextHyperlinkEventFilter(QTextEdit *txtEdit);
Note: See TracChangeset for help on using the changeset viewer.