- Timestamp:
- Mar 9, 2010, 6:26:11 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kde/kreadconfig/kread-desktopfile.py
r820 r833 116 116 117 117 118 print "filename: ", config.fileName() 119 print "readName(): ", config.readName() 120 print 'readEntry( "Name" ): ', config.group("Desktop Entry").readEntry( "Name" ) 121 print 'readEntry( "Name", "default" ): ', config.group("Desktop Entry").readEntry( "Name", "default" ).toString() 122 print "icon: ", config.readIcon() 123 print "noDisplay(): ", config.noDisplay() 124 print 'readEntry( "NoDisplay" ): ', config.group("Desktop Entry").readEntry( "NoDisplay" ) 125 print 'readEntry( "NoDisplay", True ): ', config.group("Desktop Entry").readEntry( "NoDisplay", True ).toString() 126 print 'readEntry( "NoDisplay", False ): ', config.group("Desktop Entry").readEntry( "NoDisplay", False ).toString() 118 print "filename: ", config.fileName() 119 print "readName(): ", config.readName() 120 print 'readEntry( "Name" ): ', config.group("Desktop Entry").readEntry( "Name" ) 121 print 'readEntry( "Name", "default" ): ', config.group("Desktop Entry").readEntry( "Name", "default" ).toString() 122 print "icon: ", config.readIcon() 123 print "noDisplay(): ", config.noDisplay() 124 print 'readEntry( "NoDisplay" ): ', config.group("Desktop Entry").readEntry( "NoDisplay" ) 125 print 'readEntry( "NoDisplay", True ): ', config.group("Desktop Entry").readEntry( "NoDisplay", True ).toString() 126 print 'readEntry( "NoDisplay", "True" ): ', config.group("Desktop Entry").readEntry( "NoDisplay", "True" ).toString() 127 print 'readEntry( "NoDisplay", False ): ', config.group("Desktop Entry").readEntry( "NoDisplay", False ).toString() 128 print 'readEntry( "NoDisplay", "False" ): ', config.group("Desktop Entry").readEntry( "NoDisplay", "False" ).toString() 129 127 130 128 131 print
Note:
See TracChangeset
for help on using the changeset viewer.