X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatviewsearchcontroller.h;h=9e3adf5bc72bc119b5f2a791803fc7ac5068ec29;hp=83c904c1d5c35fe1b796bbe06b9a9edee640f088;hb=ff39958dd98644e73b7b77bdd986944134f78d09;hpb=99934fe47293f61e1e62ecc0f0d49f958a992c32 diff --git a/src/qtui/chatviewsearchcontroller.h b/src/qtui/chatviewsearchcontroller.h index 83c904c1..9e3adf5b 100644 --- a/src/qtui/chatviewsearchcontroller.h +++ b/src/qtui/chatviewsearchcontroller.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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); @@ -110,7 +113,7 @@ private slots: private: QRectF _boundingRect; bool _highlighted; - qreal _alpha; + int _alpha; QTimeLine _timeLine; };