class KStringHandler

#### PyKDE - Python Bindings for KDE

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

Module | tdecore
Class | KStringHandler
Inherits |

### methods

- cEmSqueeze (name, fontMetrics, maxlen = 30)

  returns (TQString)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  fontMetrics | TQFontMetrics |
  maxlen | uint | 30

- cPixelSqueeze (name, fontMetrics, maxPixels)

  returns (TQString)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  fontMetrics | TQFontMetrics |
  maxPixels | uint |

- capwords (text)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  text | TQString |

- capwords (list)

  returns (TQStringList)
  static
  Argument | Type | Default
  --- | --- | ---
  list | TQStringList |

- center (text, width)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  width | uint |

- csqueeze (str, maxlen = 40)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  str | TQString |
  maxlen | uint | 40

- from8Bit (str)

  returns (TQString)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  str | char |

- insword (text, word, pos)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  word | TQString |
  pos | uint |

- isUtf8 (str)

  returns (bool)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  str | char |

- lEmSqueeze (name, fontMetrics, maxlen = 30)

  returns (TQString)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  fontMetrics | TQFontMetrics |
  maxlen | uint | 30

- lPixelSqueeze (name, fontMetrics, maxPixels)

  returns (TQString)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  fontMetrics | TQFontMetrics |
  maxPixels | uint |

- ljust (text, width)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  width | uint |

- lsqueeze (str, maxlen = 40)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  str | TQString |
  maxlen | uint | 40

- matchFileName (filename, pattern)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  filename | TQString |
  pattern | TQString |

- matchFilename (filename, pattern)

  returns (bool)
  static
  Argument | Type | Default
  --- | --- | ---
  filename | TQString |
  pattern | TQString |

- obscure (str)

  returns (TQString)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  str | TQString |

- perlSplit (sep, s, max = 0)

  Not Implemented

- perlSplit (sep, s, max = 0)

  Not Implemented

- perlSplit (sep, s, max = 0)

  Not Implemented

- rEmSqueeze (name, fontMetrics, maxlen = 30)

  returns (TQString)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  fontMetrics | TQFontMetrics |
  maxlen | uint | 30

- rPixelSqueeze (name, fontMetrics, maxPixels)

  returns (TQString)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  name | TQString |
  fontMetrics | TQFontMetrics |
  maxPixels | uint |

- remrange (text, range)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  range | char |

- remword (text, pos)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  pos | uint |

- remword (text, word)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  word | TQString |

- reverse (text)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  text | TQString |

- reverse (list)

  returns (TQStringList)
  static
  Argument | Type | Default
  --- | --- | ---
  list | TQStringList |

- rjust (text, width)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  width | uint |

- rsqueeze (str, maxlen = 40)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  str | TQString |
  maxlen | uint | 40

- setword (text, word, pos)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  word | TQString |
  pos | uint |

- tagURLs (text)

  returns (TQString)
  In versions KDE 3.1.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  text | TQString |

- word (text, pos)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  pos | uint |

- word (text, range)

  returns (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  range | char |