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/xmlmenudemo.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/xmlmenudemo.py')
-rw-r--r-- | examples/xmlmenudemo.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/xmlmenudemo.py b/examples/xmlmenudemo.py index bc9a9a2..5279896 100644 --- a/examples/xmlmenudemo.py +++ b/examples/xmlmenudemo.py @@ -43,7 +43,7 @@ import sys, os from qt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet -from tdecore import TDEApplication, TDECmdLineArgs, KAboutData, i18n, KIcon, KIconLoader, KShortcut, KGlobal +from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, KIcon, KIconLoader, KShortcut, KGlobal from tdeui import KMainWindow, KMessageBox, KStdAction, KAction, KToggleAction, KFontSizeAction, KFontAction, KRadioAction,\ KActionSeparator, KActionMenu, KWindowListMenu, KXMLGUIClient, KActionCollection @@ -273,8 +273,8 @@ version = "1.0" # The appName (xmlmenudemo - first argument) is required # if the program is to automatically locate it *ui.rc file -aboutData = KAboutData ("xmlmenudemo", "xmlmenudemo",\ - version, description, KAboutData.License_GPL,\ +aboutData = TDEAboutData ("xmlmenudemo", "xmlmenudemo",\ + version, description, TDEAboutData.License_GPL,\ "(C) 2003 whoever the author is") aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") |