Changeset 792 for kde/kreadconfig
- Timestamp:
- Sep 2, 2009, 3:48:54 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kde/kreadconfig/kreadconfig.py
- Property svn:keywords
-
old new 1 1 Id 2 Rev
-
r791 r792 26 26 27 27 def getFullName( config ): 28 """get the full name of a config group""" 28 29 if config.name() == "<default>": 29 30 return "" … … 34 35 35 36 def dumpGroup( config ): 37 """print the entries of a config group""" 36 38 print getFullName( config ) 37 39 for i in config.entryMap(): … … 40 42 41 43 def dumpSubGroups( config ): 44 """print entries of the config group and all subgroups""" 42 45 dumpGroup( config ) 43 46 #print dir( config ) … … 47 50 48 51 49 appName = " KApplication"52 appName = "kreadconfig.py" 50 53 catalog = "" 51 programName = ki18n (" KApplication")52 version = " 1.0"53 description = ki18n (" KApplication/KMainWindow/KAboutData example")54 programName = ki18n ("kreadconfig.py") 55 version = "$Rev$" 56 description = ki18n ("show KDE configuration files") 54 57 license = KAboutData.License_GPL 55 58 copyright = ki18n ("(c) 2009 Jörg Steffens") … … 61 64 license, copyright, text, homePage, bugEmail) 62 65 63 64 66 KCmdLineArgs.init (sys.argv, aboutData) 65 67 app = KApplication () - Property svn:keywords
Note:
See TracChangeset
for help on using the changeset viewer.