class KColorDrag

#### PyKDE - Python Bindings for KDE

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

Module | kdeui
Class | KColorDrag
Inherits | QStoredDrag

### methods

- KColorDrag (dragsource = 0, name = 0)

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

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

  returns a KColorDrag instance
  Argument | Type | Default
  --- | --- | ---
  col | QColor |
  dragsource | QWidget | 0
  name | char | 0

- canDecode (e)

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

- decode (e, col)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  e | QMimeSource |
  col | QColor |

- encodedData (m)

  returns (QByteArray)
  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 | QColor |
  dragsource | QWidget |

- setColor (col)

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