#### PyKDE - Python Bindings for KDE

# class KEncodingFileDialog |
Table of contents
Modules
tdefile Classes
All Classes

Module | tdefile
Class | KEncodingFileDialog
Inherits | KFileDialog

### methods

- KEncodingFileDialog (startDir = TQString .null, encoding = TQString .null, filter = TQString .null, caption = TQString .null, type = KFileDialog .Opening, parent = 0, name = "", modal = 1)

  returns a KEncodingFileDialog instance
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  startDir | TQString | TQString .null
  encoding | TQString | TQString .null
  filter | TQString | TQString .null
  caption | TQString | TQString .null
  type | KFileDialog.OperationMode | KFileDialog .Opening
  parent | TQWidget | 0
  name | char | ""
  modal | bool | 1

- getOpenFileNameAndEncoding (encoding = TQString .null, startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null)

  returns (KEncodingFileDialog.Result)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  encoding | TQString | TQString .null
  startDir | TQString | TQString .null
  filter | TQString | TQString .null
  parent | TQWidget | 0
  caption | TQString | TQString .null

- getOpenFileNamesAndEncoding (encoding = TQString .null, startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null)

  returns (KEncodingFileDialog.Result)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  encoding | TQString | TQString .null
  startDir | TQString | TQString .null
  filter | TQString | TQString .null
  parent | TQWidget | 0
  caption | TQString | TQString .null

- getOpenURLAndEncoding (encoding = TQString .null, startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null)

  returns (KEncodingFileDialog.Result)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  encoding | TQString | TQString .null
  startDir | TQString | TQString .null
  filter | TQString | TQString .null
  parent | TQWidget | 0
  caption | TQString | TQString .null

- getOpenURLsAndEncoding (encoding = TQString .null, startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null)

  returns (KEncodingFileDialog.Result)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  encoding | TQString | TQString .null
  startDir | TQString | TQString .null
  filter | TQString | TQString .null
  parent | TQWidget | 0
  caption | TQString | TQString .null

- getSaveFileNameAndEncoding (encoding = TQString .null, startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null)

  returns (KEncodingFileDialog.Result)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  encoding | TQString | TQString .null
  startDir | TQString | TQString .null
  filter | TQString | TQString .null
  parent | TQWidget | 0
  caption | TQString | TQString .null

- getSaveURLAndEncoding (encoding = TQString .null, startDir = TQString .null, filter = TQString .null, parent = 0, caption = TQString .null)

  returns (KEncodingFileDialog.Result)
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  encoding | TQString | TQString .null
  startDir | TQString | TQString .null
  filter | TQString | TQString .null
  parent | TQWidget | 0
  caption | TQString | TQString .null

- selectedEncoding ()

  returns (TQString)
  In versions KDE 3.2.0 and above only

- virtual_hook (id, data)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  id | int |
  data | void |