class TDECmdLineArgs

#### PyKDE - Python Bindings for KDE

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

Module | tdecore
Class | TDECmdLineArgs
Inherits |

### methods

- TDECmdLineArgs (_options, _name, _id)

  returns a TDECmdLineArgs instance
  Argument | Type | Default
  --- | --- | ---
  _options | TDECmdLineOptions |
  _name | char |
  _id | char |

- addCmdLineOptions (options, name = 0, id = 0, afterId = 0)

  returns nothing
  static
  Argument | Type | Default
  --- | --- | ---
  options | a Python list of tuples |
  name | char | 0
  id | char | 0
  afterId | char | 0
  A Pytbon list of tuples (name, description, default) is the first parameter instead of a TDECmdLineOptions object (TDECmdLineOptions is not used); NULL (or None) parameters to mark the end of the list are not required

- addTempFileOption ()

  returns nothing
  In versions KDE 3.4.0 and above only
  static

- appName ()

  returns (char)
  static

- arg (n)

  returns (char)
  Argument | Type | Default
  --- | --- | ---
  n | int |

- clear ()

  returns nothing

- count ()

  returns (int)

- cwd ()

  returns (TQString)
  static

- enable_i18n ()

  returns nothing
  static

- getOption (option)

  returns (TQCString)
  Argument | Type | Default
  --- | --- | ---
  option | char |

- getOptionList (option)

  returns (QCStringList)
  In versions KDE 3.1.4 and above only
  Argument | Type | Default
  --- | --- | ---
  option | char |

- getOptionList (a0)

  returns (TQValueList)
  In versions less than KDE 3.1.3 only
  Argument | Type | Default
  --- | --- | ---
  a0 | char |

- init (_argc, _argv, _appname, programName, _description, _version, noKApp = 0)

  returns nothing
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  _argc | int |
  _argv | char |
  _appname | char |
  programName | char |
  _description | char |
  _version | char |
  noKApp | bool | 0

- init (_argv, _appname, _description, _version, noKApp = False)

  returns nothing
  static
  Argument | Type | Default
  --- | --- | ---
  _argv | a Python list of strings which may be modified |
  _appname | char |
  _description | char |
  _version | char |
  noKApp | bool | False

- init (_argv, about, noKApp = 0)

  returns nothing
  static
  Argument | Type | Default
  --- | --- | ---
  _argv | a Python list of strings which may be modified |
  about | TDEAboutData |
  noKApp | bool | 0

- init (about)

  returns nothing
  static
  Argument | Type | Default
  --- | --- | ---
  about | TDEAboutData |

- isSet (option)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  option | char |

- isTempFileSet ()

  returns (bool)
  In versions KDE 3.4.0 and above only
  static

- loadAppArgs (a0)

  returns nothing
  In versions KDE 3.2.0 and above only
  static
  Argument | Type | Default
  --- | --- | ---
  a0 | TQDataStream |

- makeURL (urlArg)

  returns (KURL)
  static
  Argument | Type | Default
  --- | --- | ---
  urlArg | char |

- parsedArgs (id = 0)

  returns (TDECmdLineArgs)
  static
  Argument | Type | Default
  --- | --- | ---
  id | char | 0

- reset ()

  returns nothing
  In versions KDE 3.2.0 and above only
  static

- setCwd (cwd)

  returns nothing
  static
  Argument | Type | Default
  --- | --- | ---
  cwd | char |

- url (n)

  returns (KURL)
  Argument | Type | Default
  --- | --- | ---
  n | int |

- usage (id = 0)

  returns nothing
  static
  Argument | Type | Default
  --- | --- | ---
  id | char | 0

- usage (error)

  returns nothing
  static
  Argument | Type | Default
  --- | --- | ---
  error | TQString |

- ~TDECmdLineArgs ()

  returns nothing