I just did a clean build and had the same result, seems like this method
is used outside of deprecated namespace:
#ifndef KDE_NO_DEPRECATED
KDE_DEPRECATED void selectionClipboardUrlPasted(const KUrl &url);
#endif
On 05/21/2011 11:04 AM, Dawit A wrote:
Those classes have not changed from KDE 4.6. Most likely you need to
do a clean build. At lease a clean kdewebkit build.
On Sat, May 21, 2011 at 10:59 AM, Andriy Rysin<[email protected]> wrote:
In file included from
/home/arysin/work/OSS/KDE/kdelibs/kdewebkit/kgraphicswebview.cpp:85:0:
/home/arysin/kde/build/KDE/kdelibs/kdewebkit/kgraphicswebview.moc: In member
function ‘virtual int KGraphicsWebView::qt_metacall(QMetaObject::Call, int,
void**)’:
/home/arysin/kde/build/KDE/kdelibs/kdewebkit/kgraphicswebview.moc:79:87:
error: no matching function for call to
‘KGraphicsWebView::selectionClipboardUrlPasted(const KUrl&)’
/home/arysin/work/OSS/KDE/kdelibs/kdewebkit/kgraphicswebview.h:146:10: note:
candidate is: void KGraphicsWebView::selectionClipboardUrlPasted(const
KUrl&, const QString&)
In file included from
/home/arysin/work/OSS/KDE/kdelibs/kdewebkit/kgraphicswebview.cpp:85:0:
/home/arysin/kde/build/KDE/kdelibs/kdewebkit/kgraphicswebview.moc: At global
scope:
/home/arysin/kde/build/KDE/kdelibs/kdewebkit/kgraphicswebview.moc:91:6:
error: prototype for ‘void
KGraphicsWebView::selectionClipboardUrlPasted(const KUrl&)’ does not match
any in class ‘KGraphicsWebView’
/home/arysin/work/OSS/KDE/kdelibs/kdewebkit/kgraphicswebview.h:146:10:
error: candidate is: void
KGraphicsWebView::selectionClipboardUrlPasted(const KUrl&, const QString&)