diff options
author | Timothy Pearson <[email protected]> | 2013-01-21 18:37:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-21 18:37:40 -0600 |
commit | 91de85901bde4c10196c4be34604043e622bec46 (patch) | |
tree | bf09fe5825da900a46909b2a14e3ece7f0750cbf /app_templates | |
parent | 5c2e3a7cf5cc632b67b8029b38653478e55cb4e3 (diff) | |
download | pytdeextensions-91de85901bde4c10196c4be34604043e622bec46.tar.gz pytdeextensions-91de85901bde4c10196c4be34604043e622bec46.zip |
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'app_templates')
-rwxr-xr-x | app_templates/kcontrol_module/src/kcontrol_module.py | 2 | ||||
-rwxr-xr-x | app_templates/kdeapp/src/kdeapp.py | 6 | ||||
-rwxr-xr-x | app_templates/kdeutility/src/kdeutility.py | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/app_templates/kcontrol_module/src/kcontrol_module.py b/app_templates/kcontrol_module/src/kcontrol_module.py index 9dde365..75c9ade 100755 --- a/app_templates/kcontrol_module/src/kcontrol_module.py +++ b/app_templates/kcontrol_module/src/kcontrol_module.py @@ -149,7 +149,7 @@ class KcontrolModuleApp(programbase): def main(): global kapp about_data = AboutData() - KCmdLineArgs.init(sys.argv,about_data) + TDECmdLineArgs.init(sys.argv,about_data) kapp = TDEApplication() myapp = KcontrolModuleApp() myapp.exec_loop() diff --git a/app_templates/kdeapp/src/kdeapp.py b/app_templates/kdeapp/src/kdeapp.py index d37400a..48a0783 100755 --- a/app_templates/kdeapp/src/kdeapp.py +++ b/app_templates/kdeapp/src/kdeapp.py @@ -248,8 +248,8 @@ def main(): aboutdata = KAboutData("kdeapp", "KdeApp", version, description, \ KAboutData.License_GPL, "(C) 2005 AUTHOR", None, None, "[email protected]") aboutdata.addAuthor("AUTHOR", None, "[email protected]") - KCmdLineArgs.init(sys.argv,aboutdata) - KCmdLineArgs.addCmdLineOptions(options) + TDECmdLineArgs.init(sys.argv,aboutdata) + TDECmdLineArgs.addCmdLineOptions(options) kapp = TDEApplication() # register ourselves as a dcop client @@ -263,7 +263,7 @@ def main(): n += 1 else: # no session.. just start up normally - args = KCmdLineArgs.parsedArgs() + args = TDECmdLineArgs.parsedArgs() if args.count() == 0: widget = KdeApp() widget.show() diff --git a/app_templates/kdeutility/src/kdeutility.py b/app_templates/kdeutility/src/kdeutility.py index c19c5c5..cda1bd8 100755 --- a/app_templates/kdeutility/src/kdeutility.py +++ b/app_templates/kdeutility/src/kdeutility.py @@ -39,8 +39,8 @@ def main(): aboutdata = KAboutData("kdeutility", "KdeUtility", version, description, \ KAboutData.License_GPL, "(C) 2005 AUTHOR", None, None, "[email protected]") aboutdata.addAuthor("AUTHOR", None, "[email protected]") - KCmdLineArgs.init(sys.argv,aboutdata) - #KCmdLineArgs.addCmdLineOptions(options) + TDECmdLineArgs.init(sys.argv,aboutdata) + #TDECmdLineArgs.addCmdLineOptions(options) kapp = TDEApplication() dialog = KDEUtilityDialog() |