[Qt-interest] Passing QList<QStringList> as arguments
David Villalobos Cambronero
david.villalobos.c at gmail.com
Tue Aug 24 21:43:04 CEST 2010
Hi, that is beacause I found that making the declaration this way, the error
is not raised.
QStringList *headers = new QStringList("-V,(**.)");
headers->append("David");
headers->append("Vil");
headers->append("Vil");
QList<QStringList *> *rows = new QList<QStringList *>;
rows->append(new QStringList("David V"));
QPlainTextEdit *replicationStatus = new
QPlainTextEdit(conn->outputAsTable(headers, rows));
So I change the declaration
Regards
---
David
On Tue, Aug 24, 2010 at 13:35, John Weeks <john at wavemetrics.com> wrote:
>
> On Aug 24, 2010, at 12:34 PM, John Weeks wrote:
>
> class QList<QStringList *>;
>
>
> Is there an extra start in there?
>
>
> Woops- I meant "star"
>
> Regards, John Weeks
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100824/48fdbf7d/attachment.html
More information about the Qt-interest-old
mailing list