From kde-commits Tue Nov 03 23:31:18 2009 From: Christoph Feck Date: Tue, 03 Nov 2009 23:31:18 +0000 To: kde-commits Subject: playground/network/kbluetooth/src Message-Id: <1257291078.924433.29587.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=125729108400361 SVN commit 1044532 by cfeck: Fix last commit to not break moc Copied from commit r1044312 M +4 -6 trayicon.h --- trunk/playground/network/kbluetooth/src/trayicon.h #1044531:1044532 @@ -48,20 +48,18 @@ #include #if KDE_IS_VERSION(4, 3, 73) + #define PARENT_ICON_CLASS KStatusNotifierItem #include #elif KDE_IS_VERSION(4, 3, 65) + #define PARENT_ICON_CLASS KNotificationItem #include #else + #define PARENT_ICON_CLASS KNotificationItem #include using namespace Experimental; #endif - -#if KDE_IS_VERSION(4, 3, 73) -class KBlueTray : public KStatusNotifierItem -#else -class KBlueTray : public KNotificationItem -#endif +class KBlueTray : public PARENT_ICON_CLASS { Q_OBJECT