Commit d4e38836 authored by hausmann's avatar hausmann

Make it possible to copy QWebHistoryItem objects.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 4fb87ca3
......@@ -28,6 +28,17 @@
#include <QSharedData>
QWebHistoryItem::QWebHistoryItem(const QWebHistoryItem &other)
: d(other.d)
{
}
QWebHistoryItem &QWebHistoryItem::operator=(const QWebHistoryItem &other)
{
d = other.d;
return *this;
}
QWebHistoryItem::~QWebHistoryItem()
{
}
......
......@@ -96,6 +96,8 @@ class QWebHistoryItemPrivate;
class QWEBKIT_EXPORT QWebHistoryItem
{
public:
QWebHistoryItem(const QWebHistoryItem &other);
QWebHistoryItem &operator=(const QWebHistoryItem &other);
~QWebHistoryItem();
QWebHistoryItem *parent() const;
......
2007-06-14 Simon Hausmann <hausmann@kde.org>
Reviewed by Zack.
Make it possible to copy QWebHistoryItem objects.
* Api/qwebpagehistory.cpp:
* Api/qwebpagehistory.h:
2007-06-14 Lars Knoll <lars@trolltech.com>
Reviewed by George
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment