Results 1 to 2 of 2

Thread: How to modify QHash values?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Wiki edits
    5

    Default Re: How to modify QHash values?

    Qt Code:
    1. hash["key"] = *pointerToYourClassPacketObject;
    To copy to clipboard, switch view to plain text mode 

    If you have values (plural) associated with a key you need QMultiHash.

  2. The following user says thank you to Lykurg for this useful post:

    darshan (19th February 2009)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.