diff options
Diffstat (limited to 'examples/uiqxembed.py')
| -rw-r--r-- | examples/uiqxembed.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/uiqxembed.py b/examples/uiqxembed.py index 341cc3a..21e31da 100644 --- a/examples/uiqxembed.py +++ b/examples/uiqxembed.py @@ -69,7 +69,7 @@ class ExampleForm(QXEmbedExample): self.launchPid = pid ## cheap TQTimer.singleShot(2000, self.embedLaunchedWindow) else: - print 'failed to start %s' % name + print('failed to start %s' % name) return def embedLaunchedWindow(self): @@ -101,16 +101,16 @@ class ExampleMain(TDEMainWindow): if __name__ == '__main__': - aname = 'PyKDE QXEmbed Sample' - desc = 'A Simple PyKDE QXEmbed Sample' - ver = '1.0' + aname = b'PyTDE QXEmbed Sample' + desc = b'A Simple PyTDE QXEmbed Sample' + ver = b'1.0' lic = TDEAboutData.License_GPL - author = 'Troy Melhase' - authormail = 'troy@gci.net' + author = b'Troy Melhase' + authormail = b'troy@gci.net' - about = TDEAboutData(aname, aname, ver, desc, lic, '%s (c) 2004' % authormail) - about.addAuthor(author, 'hi, mom!', authormail) - about.addAuthor ('Jim Bublitz', 'For PyKDE', 'jbublitz@nwinternet.com') + about = TDEAboutData(aname, aname, ver, desc, lic, b'troy@gci.net (c) 2004') + about.addAuthor(author, b'hi, mom!', authormail) + about.addAuthor (b'Jim Bublitz', b'For PyTDE', b'jbublitz@nwinternet.com') TDECmdLineArgs.init(sys.argv, about) app = TDEApplication() mainWindow = ExampleMain() |
