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 --- templates/basic/menuapp3.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/basic/menuapp3.py') diff --git a/templates/basic/menuapp3.py b/templates/basic/menuapp3.py index 9051661..cd46f81 100644 --- a/templates/basic/menuapp3.py +++ b/templates/basic/menuapp3.py @@ -43,7 +43,7 @@ import sys from qt import TQPopupMenu, SIGNAL -from tdecore import TDEApplication, TDECmdLineArgs, KAboutData, i18n, KShortcut +from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, KShortcut from tdeui import KMainWindow, KMessageBox, KStdAction, KAction, KActionCollection STATUSBAR_LEFT = 1 @@ -144,8 +144,8 @@ class MainWin (KMainWindow): description = "A basic application template" version = "1.0" -aboutData = KAboutData ("menuapp3", "",\ - version, description, KAboutData.License_GPL,\ +aboutData = TDEAboutData ("menuapp3", "",\ + version, description, TDEAboutData.License_GPL,\ "(C) 2003 whoever the author is") aboutData.addAuthor ("author1", "whatever they did", "email@somedomain") -- cgit v1.2.1