From 931947b852aaa25e62715f2d8d275c0bd47fa3d5 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 24 Dec 2017 17:37:17 +0100 Subject: 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 --- desktop-widgets/simplewidgets.h | 6 ------ 1 file changed, 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); -- cgit v1.2.3-70-g09d2