Avoid Q_INTERFACES-related warning with Qt >= 4.6
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 9 Feb 2010 22:12:39 +0000 (23:12 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 9 Feb 2010 22:12:39 +0000 (23:12 +0100)
src/qtui/chatviewsearchcontroller.h
src/qtui/columnhandleitem.h

index adf1c96..9e3adf5 100644 (file)
@@ -91,6 +91,9 @@ private:
 
 class SearchHighlightItem : public QObject, public QGraphicsItem {
   Q_OBJECT
+#if QT_VERSION >= 0x040600
+  Q_INTERFACES(QGraphicsItem)
+#endif
 
 public:
   SearchHighlightItem(QRectF wordRect, QGraphicsItem *parent = 0);
index 9274473..2947bba 100644 (file)
@@ -30,6 +30,9 @@
 
 class ColumnHandleItem : public QObject, public QGraphicsItem {
   Q_OBJECT
+#if QT_VERSION >= 0x040600
+  Q_INTERFACES(QGraphicsItem)
+#endif
 
 public:
   ColumnHandleItem(qreal width, QGraphicsItem *parent = 0);