diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2017-12-24 17:37:17 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-12-26 13:08:49 -0800 |
commit | 931947b852aaa25e62715f2d8d275c0bd47fa3d5 (patch) | |
tree | f64801285a4b322b0b545219aeaf22d1cc2a5446 | |
parent | ff3b107a9de188fd58e010d6b86f30a786293ada (diff) | |
download | subsurface-931947b852aaa25e62715f2d8d275c0bd47fa3d5.tar.gz |
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@mail.tuwien.ac.at>
-rw-r--r-- | desktop-widgets/simplewidgets.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/desktop-widgets/simplewidgets.h b/desktop-widgets/simplewidgets.h index 22f1ddd62..294fe26cf 100644 --- a/desktop-widgets/simplewidgets.h +++ b/desktop-widgets/simplewidgets.h @@ -177,32 +177,26 @@ protected: }; class TagFilter : public FilterBase { - Q_OBJECT public: TagFilter(QWidget *parent = 0); - friend class MultiFilter; }; class BuddyFilter : public FilterBase { - Q_OBJECT public: BuddyFilter(QWidget *parent = 0); }; class SuitFilter : public FilterBase { - Q_OBJECT public: SuitFilter(QWidget *parent = 0); }; class LocationFilter : public FilterBase { - Q_OBJECT public: LocationFilter(QWidget *parent = 0); }; class TextHyperlinkEventFilter : public QObject { - Q_OBJECT public: explicit TextHyperlinkEventFilter(QTextEdit *txtEdit); |