#### PyKDE - Python Bindings for KDE

# class KURLDrag

Table of contents
Modules
kdecore Classes
All Classes

Module | kdecore
Class | KURLDrag
Inherits | QUriDrag

### methods

- KURLDrag (urls, dragSource, name)

  returns a KURLDrag instance
  In versions KDE 3.1.4 and above only

  Argument | Type | Default
  --- | --- | ---
  urls | KURL.List |
  dragSource | QWidget |
  name | char |

- KURLDrag (urls, metaData, dragSource, name)

  returns a KURLDrag instance
  In versions KDE 3.1.4 and above only

  Argument | Type | Default
  --- | --- | ---
  urls | KURL.List |
  metaData | QMap<QString,QString> |
  dragSource | QWidget |
  name | char |

- KURLDrag (urls, metaData, dragSource, name)

  returns a KURLDrag instance
  In versions KDE 3.1.4 and above only

  Argument | Type | Default
  --- | --- | ---
  urls | QStrList |
  metaData | QMap<QString,QString> |
  dragSource | QWidget |
  name | char |

- decode (e, urls)

  returns (bool)
  In versions KDE 3.1.4 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  e | QMimeSource |
  urls | KURL.List |

- decode (e, urls, metaData)

  returns (bool)
  In versions KDE 3.1.4 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  e | QMimeSource |
  urls | KURL.List |
  metaData | QMap<QString,QString> |

- encodedData (mime)

  returns (QByteArray)
  In versions KDE 3.5.0 and above only

  Argument | Type | Default
  --- | --- | ---
  mime | char |

- encodedData (a0)

  returns (QByteArray)
  In versions less than KDE 3.5.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | char |

- format (i)

  returns (char)
  In versions KDE 3.5.0 and above only

  Argument | Type | Default
  --- | --- | ---
  i | int |

- format (a0)

  returns (char)
  In versions less than KDE 3.5.0 only

  Argument | Type | Default
  --- | --- | ---
  a0 | int |

- metaData ()

  returns (QMap<QString,QString>)
  In versions KDE 3.1.4 and above only

- newDrag (urls, dragSource = 0, name = 0)

  returns (KURLDrag)
  In versions KDE 3.1.4 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  urls | KURL.List |
  dragSource | QWidget | 0
  name | char | 0

- newDrag (urls, metaData, dragSource = 0, name = 0)

  returns (KURLDrag)
  In versions KDE 3.1.4 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  urls | KURL.List |
  metaData | QMap<QString,QString> |
  dragSource | QWidget | 0
  name | char | 0

- setExportAsText (exp)

  returns nothing
  In versions KDE 3.4.0 and above only

  Argument | Type | Default
  --- | --- | ---
  exp | bool |

- stringToUrl (s)

  returns (KURL)
  In versions KDE 3.2.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  s | QCString |

- urlToString (url)

  returns (QString)
  In versions KDE 3.2.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  url | KURL |