#### PyKDE - Python Bindings for KDE

# class KKey |
Table of contents
Modules
tdecore Classes
All Classes

Module | tdecore
Class | KKey
Inherits |

### enums

- (anonymous) = {MOD_FLAG_COUNT }
- (anonymous) = {QtWIN }
- (anonymous) = {QtWIN }
- (anonymous) = {QtWIN }
- ModFlag = {SHIFT, CTRL, ALT, WIN }

### methods

- KKey ()

  returns a KKey instance

- KKey (keyTQt)

  returns a KKey instance
  Argument | Type | Default
  --- | --- | ---
  keyTQt | int |

- KKey (keySeq)

  returns a KKey instance
  Argument | Type | Default
  --- | --- | ---
  keySeq | TQKeySequence |

- KKey (keyEvent)

  returns a KKey instance
  Argument | Type | Default
  --- | --- | ---
  keyEvent | TQKeyEvent |

- KKey (key)

  returns a KKey instance
  Argument | Type | Default
  --- | --- | ---
  key | KKey |

- KKey (key)

  returns a KKey instance
  Argument | Type | Default
  --- | --- | ---
  key | TQString |

- KKey (key, mod)

  returns a KKey instance
  Argument | Type | Default
  --- | --- | ---
  key | uint |
  mod | uint |

- clear ()

  returns nothing

- compare (key)

  returns (int)
  Argument | Type | Default
  --- | --- | ---
  key | KKey |

- init (keyTQt)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  keyTQt | int |

- init (keySeq)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  keySeq | TQKeySequence |

- init (keyEvent)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  keyEvent | TQKeyEvent |

- init (key)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  key | KKey |

- init (key)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  key | TQString |

- init (key, mod)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  key | uint |
  mod | uint |

- isNull ()

  returns (bool)

- isValidNative ()

  Not Implemented

- isValidTQt ()

  Not Implemented

- keyCodeQt ()

  returns (int)

- modFlagLabel (f)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  f | KKey.ModFlag |

- modFlags ()

  returns (uint)

- null ()

  returns (KKey)
  static

- simplify ()

  returns nothing

- sym ()

  returns (uint)

- toString ()

  returns (TQString)

- toStringInternal ()

  returns (TQString)

## operators

- operator != (a0)

  returns (bool)
  In versions KDE 3.1.4 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | KKey |

- operator < (a0)

  returns (bool)
  In versions KDE 3.1.4 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | KKey |

- operator == (a0)

  returns (bool)
  In versions KDE 3.1.4 and above only
  Argument | Type | Default
  --- | --- | ---
  a0 | KKey |