diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:31:03 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:31:03 -0600 |
commit | 58229b7f2f011bb94adadea107eff15e929ccb3c (patch) | |
tree | 890ee6e9ede9357a7ac850de0aa6c075b3807ee1 /app_templates | |
parent | 39ae18201b21432f1cf765a324bbc593a1c5f55d (diff) | |
download | pytdeextensions-58229b7f2f011bb94adadea107eff15e929ccb3c.tar.gz pytdeextensions-58229b7f2f011bb94adadea107eff15e929ccb3c.zip |
Rename KGlobal, KProcess, and KClipboard 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 | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app_templates/kcontrol_module/src/kcontrol_module.py b/app_templates/kcontrol_module/src/kcontrol_module.py index a33e43e..423b029 100755 --- a/app_templates/kcontrol_module/src/kcontrol_module.py +++ b/app_templates/kcontrol_module/src/kcontrol_module.py @@ -69,7 +69,7 @@ class KcontrolModuleApp(programbase): # The appdir needs to be explicitly otherwise we won't be able to # load our icons and images. - KGlobal.iconLoader().addAppDir("kcontrol_module") + TDEGlobal.iconLoader().addAppDir("kcontrol_module") if standalone: toplayout = QVBoxLayout( self.plainPage(), 0, KDialog.spacingHint() ) diff --git a/app_templates/kdeapp/src/kdeapp.py b/app_templates/kdeapp/src/kdeapp.py index 12c30bd..2aa4899 100755 --- a/app_templates/kdeapp/src/kdeapp.py +++ b/app_templates/kdeapp/src/kdeapp.py @@ -223,13 +223,13 @@ class KdeApp(KMainWindow): def optionsConfigureToolbars(self): # use the standard toolbar editor - self.saveMainWindowSettings(KGlobal.config()) + self.saveMainWindowSettings(TDEGlobal.config()) def newToolbarConfig(self): # this slot is called when user clicks "Ok" or "Apply" in the toolbar editor. # recreate our GUI, and re-apply the settings (e.g. "text under icons", etc.) self.createGUI() - self.applyMainWindowSettings(KGlobal.config()) + self.applyMainWindowSettings(TDEGlobal.config()) def changeStatusbar(self,text): # display the text on the statusbar |