diff --git a/private/effects/halopainter.cpp b/private/effects/halopainter.cpp index a62404489..0bfc3530d 100644 --- a/private/effects/halopainter.cpp +++ b/private/effects/halopainter.cpp @@ -22,6 +22,8 @@ #include +namespace Plasma +{ static inline qreal gaussian(qreal x, qreal sigma) { @@ -244,3 +246,5 @@ void HaloPainter::paint(QPainter *painter, const QRect &textRect) const painter->drawPixmap(hr.topLeft(), *pixmap); } +} // namespace Plasma + diff --git a/private/effects/halopainter_p.h b/private/effects/halopainter_p.h index 81118223b..e117a6990 100644 --- a/private/effects/halopainter_p.h +++ b/private/effects/halopainter_p.h @@ -26,6 +26,7 @@ class QRect; class QPainter; +namespace Plasma { class TileSet { @@ -73,5 +74,7 @@ private: mutable QCache m_haloCache; }; +} // namespace Plasma + #endif