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