From 48e3133af032d731c7ba5bb98bbb3b23433e981f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 22 Jan 2013 20:03:33 -0600 Subject: Rename KInstance and KAboutData to avoid conflicts with KDE4 --- app_templates/kcontrol_module/src/kcontrol_module.py | 6 +++--- app_templates/kdeapp/src/kdeapp.py | 4 ++-- app_templates/kdeutility/src/kdeutility.py | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'app_templates') diff --git a/app_templates/kcontrol_module/src/kcontrol_module.py b/app_templates/kcontrol_module/src/kcontrol_module.py index 75c9ade..a33e43e 100755 --- a/app_templates/kcontrol_module/src/kcontrol_module.py +++ b/app_templates/kcontrol_module/src/kcontrol_module.py @@ -30,8 +30,8 @@ version = "0.1" def AboutData(): global version,description - about_data = KAboutData("kcontrol_module", "kcontrol_module", version, \ - description, KAboutData.License_GPL, "(C) 2005 AUTHOR", None, None,\ + about_data = TDEAboutData("kcontrol_module", "kcontrol_module", version, \ + description, TDEAboutData.License_GPL, "(C) 2005 AUTHOR", None, None,\ "your@email.com") about_data.addAuthor("AUTHOR", None, "your@email.com") return about_data @@ -137,7 +137,7 @@ class KcontrolModuleApp(programbase): pass def aboutData(self): - # Return the KAboutData object which we created during initialisation. + # Return the TDEAboutData object which we created during initialisation. return self.aboutdata def buttons(self): diff --git a/app_templates/kdeapp/src/kdeapp.py b/app_templates/kdeapp/src/kdeapp.py index 48a0783..12c30bd 100755 --- a/app_templates/kdeapp/src/kdeapp.py +++ b/app_templates/kdeapp/src/kdeapp.py @@ -245,8 +245,8 @@ options = [ ("+[URL]", "Document to open", "") ] def main(): global kapp,version,description,options - aboutdata = KAboutData("kdeapp", "KdeApp", version, description, \ - KAboutData.License_GPL, "(C) 2005 AUTHOR", None, None, "your@email.com") + aboutdata = TDEAboutData("kdeapp", "KdeApp", version, description, \ + TDEAboutData.License_GPL, "(C) 2005 AUTHOR", None, None, "your@email.com") aboutdata.addAuthor("AUTHOR", None, "your@email.com") TDECmdLineArgs.init(sys.argv,aboutdata) TDECmdLineArgs.addCmdLineOptions(options) diff --git a/app_templates/kdeutility/src/kdeutility.py b/app_templates/kdeutility/src/kdeutility.py index cda1bd8..73a6833 100755 --- a/app_templates/kdeutility/src/kdeutility.py +++ b/app_templates/kdeutility/src/kdeutility.py @@ -36,8 +36,8 @@ options = [] # No command line options. def main(): global kapp,version,description,options - aboutdata = KAboutData("kdeutility", "KdeUtility", version, description, \ - KAboutData.License_GPL, "(C) 2005 AUTHOR", None, None, "your@email.com") + aboutdata = TDEAboutData("kdeutility", "KdeUtility", version, description, \ + TDEAboutData.License_GPL, "(C) 2005 AUTHOR", None, None, "your@email.com") aboutdata.addAuthor("AUTHOR", None, "your@email.com") TDECmdLineArgs.init(sys.argv,aboutdata) #TDECmdLineArgs.addCmdLineOptions(options) -- cgit v1.2.1