Bug 3830

Summary: GW: add QIntDict support to KWQ
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: New BugsAssignee: Eric Seidel (no email) <eric>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P4    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on:    
Bug Blocks: 3250    
Attachments:
Description Flags
basically a copy of QPtrDict.h, replacing "T *" with "int" mjs: review+

Eric Seidel (no email)
Reported 2005-07-02 20:54:44 PDT
This patch adds a (sortof hackish) QIntDict to KWQ. This QIntDict subclasses from QPtrCollection, and makes the (potentially bad) assumption that it can simply cast keys from int to (void *) and everything will be hunky dorry. That said, the patch is otherwise quite simple. The header was originally just a copy of QPtrDict with a few T * changed to int.
Attachments
basically a copy of QPtrDict.h, replacing "T *" with "int" (2.14 KB, patch)
2005-07-02 20:55 PDT, Eric Seidel (no email)
mjs: review+
Eric Seidel (no email)
Comment 1 2005-07-02 20:55:56 PDT
Created attachment 2769 [details] basically a copy of QPtrDict.h, replacing "T *" with "int"
Maciej Stachowiak
Comment 2 2005-07-03 00:17:24 PDT
Comment on attachment 2769 [details] basically a copy of QPtrDict.h, replacing "T *" with "int" r=me but please make sure to add a newline to the end of the new file before landing.
Note You need to log in before you can comment on or make changes to this bug.