diff options
Diffstat (limited to 'wineconfig')
-rwxr-xr-x | wineconfig/firstrunwizard.py | 6 | ||||
-rw-r--r-- | wineconfig/kcm_wineconfig.cpp | 2 | ||||
-rwxr-xr-x | wineconfig/wineconfig.py | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/wineconfig/firstrunwizard.py b/wineconfig/firstrunwizard.py index f2d456c..2bd9943 100755 --- a/wineconfig/firstrunwizard.py +++ b/wineconfig/firstrunwizard.py @@ -37,7 +37,7 @@ class FirstRunWizard(KWizard): if not name: self.setName("firstrunwizard") - self.imagedir = unicode(KGlobal.dirs().findDirs("data","guidance/pics")[0]) + self.imagedir = unicode(TDEGlobal.dirs().findDirs("data","guidance/pics")[0]) self.setupPage1() self.setupPageVersion() @@ -83,7 +83,7 @@ class FirstRunWizard(KWizard): self.winefolderedit = KLineEdit(self.winepath,hbox) self.urlcompletion = KURLCompletion(KURLCompletion.DirCompletion) self.winefolderedit.setCompletionObject(self.urlcompletion) - self.winefolderedit.setCompletionMode(KGlobalSettings.CompletionPopup) + self.winefolderedit.setCompletionMode(TDEGlobalSettings.CompletionPopup) self.connect(self.winefolderedit,SIGNAL("textChanged(const QString &)"),self.slotWineFolderEdited) self.browsecreatebutton = KPushButton(i18n("Browse"),hbox) @@ -101,7 +101,7 @@ class FirstRunWizard(KWizard): self.existingwinefolderedit = KLineEdit("",hbox) self.urlcompletion = KURLCompletion(KURLCompletion.DirCompletion) self.existingwinefolderedit.setCompletionObject(self.urlcompletion) - self.existingwinefolderedit.setCompletionMode(KGlobalSettings.CompletionPopup) + self.existingwinefolderedit.setCompletionMode(TDEGlobalSettings.CompletionPopup) self.connect(self.existingwinefolderedit,SIGNAL("textChanged(const QString &)"),self.slotWineFolderEdited) self.browseexistingbutton = KPushButton(i18n("Browse"),hbox) diff --git a/wineconfig/kcm_wineconfig.cpp b/wineconfig/kcm_wineconfig.cpp index 1dc0d70..7a34a4e 100644 --- a/wineconfig/kcm_wineconfig.cpp +++ b/wineconfig/kcm_wineconfig.cpp @@ -142,7 +142,7 @@ static KCModule* return_instance( QWidget *parent, const char *name ) { //pyize->releaseLock (); // take care of any translation info - KGlobal::locale()->insertCatalogue(script); + TDEGlobal::locale()->insertCatalogue(script); // Return the pointer to our new KCModule return kcmodule; diff --git a/wineconfig/wineconfig.py b/wineconfig/wineconfig.py index 7828180..3b1cf85 100755 --- a/wineconfig/wineconfig.py +++ b/wineconfig/wineconfig.py @@ -62,7 +62,7 @@ class WineConfigApp(programbase): ######################################################################## def __init__(self,parent=None,name=None): global standalone,kapp,default_winepath,application - KGlobal.locale().insertCatalogue("guidance") + TDEGlobal.locale().insertCatalogue("guidance") if standalone: KDialogBase.__init__(self,KJanusWidget.Tabbed,"Wine Configuration",\ @@ -84,7 +84,7 @@ class WineConfigApp(programbase): # much smaller to fit on low resolution screens. self.compact_mode = kapp.desktop().height()<=600 - KGlobal.iconLoader().addAppDir("guidance") + TDEGlobal.iconLoader().addAppDir("guidance") self.wineconfigchanged = False @@ -566,7 +566,7 @@ class DrivesPage(QWidget): self.fsfolderedit = KLineEdit("/",hbox2) self.urlcompletion = KURLCompletion(KURLCompletion.DirCompletion) self.fsfolderedit.setCompletionObject(self.urlcompletion) - self.fsfolderedit.setCompletionMode(KGlobalSettings.CompletionPopup) + self.fsfolderedit.setCompletionMode(TDEGlobalSettings.CompletionPopup) self.connect(self.fsfolderedit,SIGNAL("textChanged(const QString &)"),self.slotFolderEdited) self.browsebutton = KPushButton(i18n("Browse"),hbox2) |