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/menudemo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/menudemo.py') 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") -- cgit v1.2.1