[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/network/kbluetooth/src
From: Christoph Feck <christoph () maxiom ! de>
Date: 2009-11-03 23:31:18
Message-ID: 1257291078.924433.29587.nullmailer () svn ! kde ! org
[Download RAW message or body]
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 <kwallet.h>
#if KDE_IS_VERSION(4, 3, 73)
+ #define PARENT_ICON_CLASS KStatusNotifierItem
#include <KStatusNotifierItem>
#elif KDE_IS_VERSION(4, 3, 65)
+ #define PARENT_ICON_CLASS KNotificationItem
#include <KNotificationItem>
#else
+ #define PARENT_ICON_CLASS KNotificationItem
#include <knotificationitem-1/knotificationitem.h>
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic