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/menudemo.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/menudemo.py')
-rw-r--r-- | examples/menudemo.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/menudemo.py b/examples/menudemo.py index f6426ce..59931e8 100644 --- a/examples/menudemo.py +++ b/examples/menudemo.py @@ -43,7 +43,7 @@ import sys from qt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet -from tdecore import TDEApplication, TDECmdLineArgs, KAboutData, i18n, KIcon, KIconLoader, KShortcut +from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, KIcon, KIconLoader, KShortcut from tdeui import KMainWindow, KMessageBox, KStdAction, KAction, KToggleAction, KFontSizeAction, KFontAction, KRadioAction,\ KActionSeparator, KActionMenu, KWindowListMenu @@ -274,8 +274,8 @@ class MainWin (KMainWindow): description = "A basic application template" version = "1.0" -aboutData = KAboutData ("", "",\ - version, description, KAboutData.License_GPL,\ +aboutData = TDEAboutData ("", "",\ + version, description, TDEAboutData.License_GPL,\ "(C) 2003 whoever the author is") aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") |