diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-22 20:03:49 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-22 20:03:49 -0600 |
| commit | 387a27b62f25387e42a850739ced151d64a2e760 (patch) | |
| tree | bbba39b506feb102175f10aa296b201a5a4557f5 /examples/uiqxembed.py | |
| parent | 3d1fa8562bf693237a1a76918b4487cca3e2e356 (diff) | |
| download | pytde-387a27b62f25387e42a850739ced151d64a2e760.tar.gz pytde-387a27b62f25387e42a850739ced151d64a2e760.zip | |
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'examples/uiqxembed.py')
| -rw-r--r-- | examples/uiqxembed.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/uiqxembed.py b/examples/uiqxembed.py index a204d7a..969f23a 100644 --- a/examples/uiqxembed.py +++ b/examples/uiqxembed.py @@ -6,7 +6,7 @@ import sys from qt import TQIconSet, TQProcess, TQTimer, SIGNAL, SLOT -from tdecore import KAboutData, TDEApplication, TDECmdLineArgs, KGlobal, KIcon +from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, KGlobal, KIcon from tdecore import KWin, KWinModule from tdeui import KComboBox, KMainWindow, KPushButton, QXEmbed @@ -104,11 +104,11 @@ if __name__ == '__main__': aname = 'PyKDE QXEmbed Sample' desc = 'A Simple PyKDE QXEmbed Sample' ver = '1.0' - lic = KAboutData.License_GPL + lic = TDEAboutData.License_GPL author = 'Troy Melhase' authormail = 'troy@gci.net' - about = KAboutData(aname, aname, ver, desc, lic, '%s (c) 2004' % authormail) + 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') TDECmdLineArgs.init(sys.argv, about) |
