Changeset 792


Ignore:
Timestamp:
Sep 2, 2009, 3:48:54 PM (15 years ago)
Author:
joergs
Message:

more comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kde/kreadconfig/kreadconfig.py

    • Property svn:keywords
      •  

        old new  
        11Id
         2Rev
    r791 r792  
    2626
    2727def getFullName( config ):
     28  """get the full name of a config group"""
    2829  if config.name() == "<default>":
    2930    return ""
     
    3435
    3536def dumpGroup( config ):
     37  """print the entries of a config group"""
    3638  print getFullName( config )
    3739  for i in config.entryMap():
     
    4042
    4143def dumpSubGroups( config ):
     44  """print entries of the config group and all subgroups"""
    4245  dumpGroup( config )
    4346  #print dir( config )
     
    4750
    4851
    49 appName     = "KApplication"
     52appName     = "kreadconfig.py"
    5053catalog     = ""
    51 programName = ki18n ("KApplication")
    52 version     = "1.0"
    53 description = ki18n ("KApplication/KMainWindow/KAboutData example")
     54programName = ki18n ("kreadconfig.py")
     55version     = "$Rev$"
     56description = ki18n ("show KDE configuration files")
    5457license     = KAboutData.License_GPL
    5558copyright   = ki18n ("(c) 2009 Jörg Steffens")
     
    6164                        license, copyright, text, homePage, bugEmail)
    6265 
    63  
    6466KCmdLineArgs.init (sys.argv, aboutData)
    6567app = KApplication ()
Note: See TracChangeset for help on using the changeset viewer.