Hello Frank,

Wednesday, March 25, 2009, 11:01:26 AM, you wrote:

FB> Hello Steve,
FB> I have look at the docu for the class.
FB> But the doc say, that this is for input only,
FB> but my problem is the output that must be go
FB> into the QTextStream.

    cgicc knows nothing about the output, it is your application
    that is responsible for what to do with the output cgicc produces.
    You may want to put it to cout or QTextStream or whatever.

    QString str;
    QTextStream ts( &str, IO_WriteOnly );
    ts << cgicc::a("Send Mail").set("href", "mailto:[email protected]";);

    or you may try to redirect cout to QTextStream



FB> Frank


FB> Steven King schrieb:
>> Hi Frank,
>> 
>> You could try creating a sub-class of the cgicc::CgiInput class and
>> aggregate a QTextStream instance within that object. Im only guessing
>> :)
>> 
>> Good luck,
>> 
>> Steve
>> 
>>> Date: Sun, 22 Mar 2009 19:44:41 +0100
>>> From: Frank B?ttner <[email protected]>
>>> Subject: [help-cgicc] cgicc and Qt
>>> To: [email protected]
>>> Message-ID: <[email protected]>
>>> Content-Type: text/plain; charset="utf-8"
>>>
>>> Hallo,
>>> I try to use cgicc with the Qt Framework.
>>> But my problem is, to connect it with the QTextStream class of qt.
>>> Have anybody try it`on an idea how to do it?
>>>




-- 
www.rol.ru
Best regards,
 Igor                            mailto:[email protected]



_______________________________________________
help-cgicc mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-cgicc

Reply via email to