×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    105

    Unhappy XmlListModel and setRawHeader

    XmlListModel indeed provide a very convienient way to parse XML and rss feeds. However, I am facing an issue.

    My feed requires some sort of API key and token to be passed via the raw headers.. in the past.. I use to do it this way=>
    Code:
            reqNew.setRawHeader("AccountKey","mykey");
            reqNew.setRawHeader("UniqueUserID","123456");
    So how do I do it with Qt Quick now? I didn't find anywhere that allows me to set the headers.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: XmlListModel and setRawHeader

    i suppose reqNew is an object to QNetworkAccessManager, so AFAIK there is no Qt Quick Element to do that actually, you can try that in Qt C++

Similar Threads

  1. XmlListModel problem
    By bgenady in forum [Archived] Qt Quick
    Replies: 2
    Last Post: 2011-08-01, 06:51
  2. Replies: 6
    Last Post: 2011-07-27, 18:41
  3. Problem with XMLListModel
    By manikantan in forum [Archived] Qt Quick
    Replies: 3
    Last Post: 2011-06-27, 16:43
  4. to receive and send sms from and to mobile and PC in java
    By manoj_2580 in forum PC Suite API and PC Connectivity SDK
    Replies: 4
    Last Post: 2010-10-22, 16:21
  5. 6600 and SAP and HFP and Mercedes
    By wave129 in forum Bluetooth Technology
    Replies: 1
    Last Post: 2007-03-26, 11:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×