class KKey

#### PyKDE - Python Bindings for KDE

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

Module | kdecore
Class | KKey
Inherits |

### enums

- (anonymous) = {MOD_FLAG_COUNT = 4 }
- (anonymous) = {QtWIN = 16777216 }
- (anonymous) = {QtWIN = 16777216 }
- (anonymous) = {QtWIN = 16777216 }
- ModFlag = {SHIFT = 1, CTRL = 2, ALT = 4, WIN = 8 }

### methods

- KKey ()

  returns a KKey instance

- KKey (keyQt)

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

- KKey (keySeq)

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

- KKey (keyEvent)

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

- KKey (key)

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

- KKey (key)

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

- 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 (keyQt)

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

- init (keySeq)

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

- init (keyEvent)

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

- init (key)

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

- init (key)

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

- init (key, mod)

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

- isNull ()

  returns (bool)

- isValidNative ()

  Not Implemented

- isValidQt ()

  Not Implemented

- keyCodeQt ()

  returns (int)

- modFlagLabel (f)

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

- modFlags ()

  returns (uint)

- null ()

  returns (KKey)
  static

- simplify ()

  returns nothing

- sym ()

  returns (uint)

- toString ()

  returns (QString)

- toStringInternal ()

  returns (QString)

## 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 |