#### PyKDE - Python Bindings for KDE

# class KColorDrag |
Table of contents
Modules
tdeui Classes
All Classes

Module | tdeui
Class | KColorDrag
Inherits | TQStoredDrag

### methods

- KColorDrag (dragsource = 0, name = 0)

  returns a KColorDrag instance
  Argument | Type | Default
  --- | --- | ---
  dragsource | TQWidget | 0
  name | char | 0

- KColorDrag (col, dragsource = 0, name = 0)

  returns a KColorDrag instance
  Argument | Type | Default
  --- | --- | ---
  col | TQColor |
  dragsource | TQWidget | 0
  name | char | 0

- canDecode (e)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  e | TQMimeSource |

- decode (e, col)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  e | TQMimeSource |
  col | TQColor |

- encodedData (m)

  returns (TQByteArray)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  m | char |

- format (i)

  returns (char)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  i | int |

- makeDrag (a0, dragsource)

  returns (KColorDrag)
  static
  Argument | Type | Default
  --- | --- | ---
  a0 | TQColor |
  dragsource | TQWidget |

- setColor (col)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  col | TQColor |