X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fwebpreviewitem.h;h=1ad2e85158bc7f7e842027c3bbb7840acd04404b;hb=60bf8c5270a523172fd4e4dd4768058af612439f;hp=c5bcbb660137bf6ec9a45e844cc8aedb2d951a8c;hpb=d36a37a4a2e2fa889cf12d596258f9ba4dfcc5ed;p=quassel.git diff --git a/src/qtui/webpreviewitem.h b/src/qtui/webpreviewitem.h index c5bcbb66..1ad2e851 100644 --- a/src/qtui/webpreviewitem.h +++ b/src/qtui/webpreviewitem.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-09 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #ifndef WEBPREVIEWITEM_H @@ -25,15 +25,18 @@ #include -class WebPreviewItem : public QGraphicsItem { +class WebPreviewItem : public QGraphicsItem +{ public: - WebPreviewItem(const QUrl &url); - virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); - virtual inline QRectF boundingRect() const { return _boundingRect; } + WebPreviewItem(const QUrl &url); + virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0); + virtual inline QRectF boundingRect() const { return _boundingRect; } private: - QRectF _boundingRect; + QRectF _boundingRect; }; + + #endif //#ifdef HAVE_WEBKIT #endif //WEBPREVIEWITEM_H