[Kde-print-devel] [GSoC2007 openprinting.org] Update 25 June 2007

Cristian Tibirna tibirna at kde.org
Tue Jun 26 02:53:28 CEST 2007


On 25 June 2007 14:07, Gavin Beatty wrote:
> Code has now been uploaded to
> [1]branches/work/soc-kdeprint-openprintingdotorg. At the moment the code
> does not compile. This is a C++ issue more than anything - a type issue
> (even worse! >:( ).
>
> Right now, cmakekde/g++ gives this error:
> <error>
> .../mainwidget.cpp: In constructor ‘MainWidget::MainWidget(QWidget*)’:
> .../mainwidget.cpp:30: error: no matching function for call
> to ‘XmlQueryJob::XmlQueryJob(MainWidget* const, KUrl*&, MainWidget* const)’
> .../xmlqueryjob.h:16: note: candidates are: XmlQueryJob::XmlQueryJob(const
> QWidget*, const KUrl&, QObject*)

You're passing a KUrl pointer where a KUrl reference is required. Dereference 
the pointer (put a * in front of it in your call to the XmlQueryJob 
constructor).



-- 
Cristian Tibirna
KDE developer .. tibirna at kde.org .. http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-print-devel/attachments/20070625/17a7e311/attachment-0001.pgp 


More information about the Kde-print-devel mailing list