From 387a27b62f25387e42a850739ced151d64a2e760 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 22 Jan 2013 20:03:49 -0600 Subject: Rename KInstance and KAboutData to avoid conflicts with KDE4 --- examples/uiqxembed.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/uiqxembed.py') 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) -- cgit v1.2.3