-#ifdef HAVE_WEBKIT
- ContentsChatItemPrivate(QTextLayout *l, const QList<ContentsChatItem::Clickable> &c, ContentsChatItem *parent) : ChatItemPrivate(l), contentsItem(parent), clickables(c), hasDragged(false), controller(0) {}
-#else
- ContentsChatItemPrivate(QTextLayout *l, const QList<ContentsChatItem::Clickable> &c, ContentsChatItem *parent) : ChatItemPrivate(l), contentsItem(parent), clickables(c), hasDragged(false) {}
-#endif
- ~ContentsChatItemPrivate();
-
-#ifdef HAVE_WEBKIT
- void loadWebPreview(const QString &url, const QRectF &urlRect);
- void clearPreview();
-
-private:
- class PreviewController;
- class PreviewItem;
- PreviewController *controller;
-#endif //#ifdef HAVE_WEBKIT
+ ContentsChatItemPrivate(const QList<ContentsChatItem::Clickable> &c, ContentsChatItem *parent) : contentsItem(parent), clickables(c) {}