[kdelibs/frameworks] tier4/kde4support/src/kdeui: Unbreak build

Aurélien Gâteau agateau at kde.org
Fri Nov 8 08:23:52 UTC 2013


Git commit bb9fd7c91ccee66bbd6f4efef944e20c19a23178 by Aurélien Gâteau.
Committed on 08/11/2013 at 08:23.
Pushed by gateau into branch 'frameworks'.

Unbreak build

Moc was failing on the KDE4SUPPORT_DEPRECATED macro. I initially tried to
just wrap it in a "#ifndef KDE_NO_DEPRECATED" block, but it still did
not like it, so I removed the KDE4SUPPORT_DEPRECATED.

What is the proper way to mark a signal deprecated?

CCMAIL: kde-frameworks-devel at kde.org

M  +3    -1    tier4/kde4support/src/kdeui/kglobalsettings.h

http://commits.kde.org/kdelibs/bb9fd7c91ccee66bbd6f4efef944e20c19a23178

diff --git a/tier4/kde4support/src/kdeui/kglobalsettings.h b/tier4/kde4support/src/kdeui/kglobalsettings.h
index 3ce0b5c..c2607a6 100644
--- a/tier4/kde4support/src/kdeui/kglobalsettings.h
+++ b/tier4/kde4support/src/kdeui/kglobalsettings.h
@@ -665,7 +665,9 @@ Q_SIGNALS:
      *
      * @deprecated since 5.0, use KIconLoader::iconChanged(int)
      */
-    KDE4SUPPORT_DEPRECATED void iconChanged(int group);
+#ifndef KDE_NO_DEPRECATED
+    void iconChanged(int group);
+#endif
 
     /**
      * Emitted when the cursor theme has been changed.


More information about the Kde-frameworks-devel mailing list