<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error C2248: &#x27;QDomNodeList::QDomNodeList&#x27; : cannot access private member declared in class &#x27;QDomNodeList&#x27;]]></title><description><![CDATA[<p dir="auto">Hallo,</p>
<p dir="auto">Ich bin dabei mich in Qt einzuarbeiten. Ich arbeite z.Zt. noch mit Visual Studio 2005. Geht auch soweit ganz gut.<br />
Habe schon ein paar Widgets mit Leben gefüllt.<br />
Nun wollte ich mich mit der XML - Api beschäftigen. Einlesen geht auch schon. Dann kam XPath.<br />
Deshalb brauche ich eine QDomNodeList für das Ergebniss von QDomDocume.elementsByTagName</p>
<p dir="auto">Der Compiler erfreut mich dann mit obiger Meldung. Habe keine Ahnung was da gemacht werden muss.</p>
<p dir="auto">Hoffe es kann mir da jemand helfen</p>
]]></description><link>https://forum.qt.io/topic/10857/error-c2248-qdomnodelist-qdomnodelist-cannot-access-private-member-declared-in-class-qdomnodelist</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 20:49:42 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/10857.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Oct 2011 23:15:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error C2248: &#x27;QDomNodeList::QDomNodeList&#x27; : cannot access private member declared in class &#x27;QDomNodeList&#x27; on Sun, 30 Oct 2011 22:30:32 GMT]]></title><description><![CDATA[<p dir="auto">Manchmal hilft es auch, das Projekt komplett neu zu bauen. Insbesondere wenn man slots ergänzt o.ä.</p>
<p dir="auto">Ansonsten, ein kompletter Code-Schnipsel, der den Fehler getestet(!) reproduziert, wäre hilfreich.</p>
]]></description><link>https://forum.qt.io/post/115053</link><guid isPermaLink="true">https://forum.qt.io/post/115053</guid><dc:creator><![CDATA[goetz]]></dc:creator><pubDate>Sun, 30 Oct 2011 22:30:32 GMT</pubDate></item><item><title><![CDATA[Reply to Error C2248: &#x27;QDomNodeList::QDomNodeList&#x27; : cannot access private member declared in class &#x27;QDomNodeList&#x27; on Sun, 30 Oct 2011 08:55:10 GMT]]></title><description><![CDATA[<p dir="auto">erzeug doch mal ein kleines besipiel, was dein Problem zeigt und lad es irgendwo hoch, das is einfacher zum finden.</p>
]]></description><link>https://forum.qt.io/post/115002</link><guid isPermaLink="true">https://forum.qt.io/post/115002</guid><dc:creator><![CDATA[giesbert]]></dc:creator><pubDate>Sun, 30 Oct 2011 08:55:10 GMT</pubDate></item><item><title><![CDATA[Reply to Error C2248: &#x27;QDomNodeList::QDomNodeList&#x27; : cannot access private member declared in class &#x27;QDomNodeList&#x27; on Sun, 30 Oct 2011 07:47:46 GMT]]></title><description><![CDATA[<p dir="auto">Da habe ich mit beim Post vertippt. Natürlich hast Du da recht. Aber warum auch immer geht es nicht.</p>
]]></description><link>https://forum.qt.io/post/115001</link><guid isPermaLink="true">https://forum.qt.io/post/115001</guid><dc:creator><![CDATA[ThomasJoachim]]></dc:creator><pubDate>Sun, 30 Oct 2011 07:47:46 GMT</pubDate></item><item><title><![CDATA[Reply to Error C2248: &#x27;QDomNodeList::QDomNodeList&#x27; : cannot access private member declared in class &#x27;QDomNodeList&#x27; on Sun, 30 Oct 2011 07:05:47 GMT]]></title><description><![CDATA[<p dir="auto">Dein slot heißt auch nicht xy, sondern OnItemClick.<br />
also:</p>
<p dir="auto">@<br />
TableWidget(QWidget * parent = 0 )<br />
{<br />
connect (    _numToolTable,<br />
SIGNAL(cellClicked ( int, int )),<br />
this,<br />
SLOT (OnItemClick(int int)));<br />
}<br />
@</p>
]]></description><link>https://forum.qt.io/post/115000</link><guid isPermaLink="true">https://forum.qt.io/post/115000</guid><dc:creator><![CDATA[giesbert]]></dc:creator><pubDate>Sun, 30 Oct 2011 07:05:47 GMT</pubDate></item><item><title><![CDATA[Reply to Error C2248: &#x27;QDomNodeList::QDomNodeList&#x27; : cannot access private member declared in class &#x27;QDomNodeList&#x27; on Sat, 29 Oct 2011 23:57:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi Volker,<br />
Mittlerweile funktioniert das alles wieder. Habe ein neues QT . Projekt aufgesetzt und die Sourcen wieder reingepatched. Geht jetzt.<br />
Neues Problem:</p>
<p dir="auto">@<br />
class TableWidget : public QWidget<br />
{<br />
Q_OBJECT</p>
<p dir="auto">/// Das soll mein slot in diesem QWidget werden<br />
///<br />
public slots:<br />
void OnItemClick(int r, int c)<br />
{<br />
// do something with the clicked item<br />
}</p>
<p dir="auto">public:<br />
TableWidget(QWidget * parent = 0 )<br />
{<br />
connect (    _numToolTable,<br />
SIGNAL(cellClicked ( int, int )),<br />
this,<br />
SLOT (xy(int int)));</p>
<p dir="auto">}<br />
private:<br />
ToolTable * _numToolTable; // ToolTable inherited von QTableWidget<br />
};<br />
@</p>
<p dir="auto">Die Applikation läuft hoch und tut auch was.<br />
Aber beim Versuch dieses o.g. connect kommt im Output:</p>
<p dir="auto">Object::connect: No such slot TableWidget::xy(int int)<br />
Object::connect:  (sender name:   'TableWidget')</p>
<p dir="auto">Es kann doch nicht so schwer sein!?</p>
<p dir="auto"><em>EDIT: bitte code bereiche mit einem @-tag versehen, Gerolf</em></p>
]]></description><link>https://forum.qt.io/post/114995</link><guid isPermaLink="true">https://forum.qt.io/post/114995</guid><dc:creator><![CDATA[ThomasJoachim]]></dc:creator><pubDate>Sat, 29 Oct 2011 23:57:27 GMT</pubDate></item><item><title><![CDATA[Reply to Error C2248: &#x27;QDomNodeList::QDomNodeList&#x27; : cannot access private member declared in class &#x27;QDomNodeList&#x27; on Sat, 29 Oct 2011 22:03:52 GMT]]></title><description><![CDATA[<p dir="auto">Willkommen hier in DevNet.</p>
<p dir="auto">Eigentlich sollte das "out of the box" funktionieren. Ich verwende die genannten Funktionen ständig bei mir im Projekt, früher auch mit VS 2005.</p>
<p dir="auto">Kannst Du mal einen Quellcode-Schnipsel hier reinstellen, dann können wir uns das genauer ansehen.</p>
]]></description><link>https://forum.qt.io/post/114983</link><guid isPermaLink="true">https://forum.qt.io/post/114983</guid><dc:creator><![CDATA[goetz]]></dc:creator><pubDate>Sat, 29 Oct 2011 22:03:52 GMT</pubDate></item></channel></rss>