#### PyKDE - Python Bindings for KDE

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

Module | kdecore
Class | KCmdLineArgs
Inherits |

### methods

- KCmdLineArgs (_options, _name, _id)

  returns a KCmdLineArgs instance
  Argument | Type | Default
  --- | --- | ---
  _options | KCmdLineOptions |
  _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 KCmdLineOptions object (KCmdLineOptions 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 (QString)
  static

- enable_i18n ()

  returns nothing
  static

- getOption (option)

  returns (QCString)
  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 (QValueList)
  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 | KAboutData |
  noKApp | bool | 0

- init (about)

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

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

- makeURL (urlArg)

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

- parsedArgs (id = 0)

  returns (KCmdLineArgs)
  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 | QString |

- ~KCmdLineArgs ()

  returns nothing