[Kde-bindings] [Bug 257780] New: PyKDE4: Kurl.List doesn't provide any list specific methods

Dennis Malcorps dennis.malcorps at gmail.com
Wed Nov 24 13:15:35 UTC 2010


           Summary: PyKDE4: Kurl.List doesn't provide any list specific
           Product: bindings
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings at kde.org
        ReportedBy: dennis.malcorps at gmail.com

Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

KUrl.List is derived from QList, but there are no methods like append, extend,
pop, etc. The only available methods are the ones that belong directly to

Reproducible: Always

Steps to Reproduce:
>>> from PyKDE4 import kdecore
>>> dir(kdecore.KUrl.List)

Actual Results:  
['DecodeOptions', 'PreferKdeUrls', 'PreferLocalUrls', '__add__', '__class__',
'__contains__', '__delattr__', '__delitem__', '__dict__', '__doc__', '__eq__',
'__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__',
'__hash__', '__iadd__', '__imul__', '__init__', '__le__', '__len__', '__lt__',
'__module__', '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__',
'__repr__', '__rmul__', '__setattr__', '__setitem__', '__sizeof__', '__str__',
'__subclasshook__', '__weakref__', 'canDecode', 'fromMimeData',
'mimeDataTypes', 'populateMimeData', 'toStringList']

Expected Results:  
Since QLists are mapped to python lists, KUrl.List should provide all methods a
python list provides.

version: 4.7.3-1+b1

version: 4:4.4.5-3

Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Kde-bindings mailing list