diff options
-rw-r--r-- | grubconfig/grubconfig.py | 2 | ||||
-rw-r--r-- | mountconfig/SMBShareSelectDialog.py | 6 | ||||
-rw-r--r-- | mountconfig/SimpleCommandRunner.py | 2 | ||||
-rw-r--r-- | mountconfig/fuser.py | 2 | ||||
-rwxr-xr-x | mountconfig/mountconfig.py | 2 | ||||
-rw-r--r-- | mountconfig/sizeview.py | 2 | ||||
-rwxr-xr-x | serviceconfig/serviceconfig.py | 2 | ||||
-rw-r--r-- | setup.py | 2 | ||||
-rwxr-xr-x | userconfig/userconfig.py | 2 | ||||
-rwxr-xr-x | wineconfig/firstrunwizard.py | 2 | ||||
-rw-r--r-- | wineconfig/kcm_wineconfig.cpp | 4 | ||||
-rwxr-xr-x | wineconfig/wineconfig.py | 6 | ||||
-rw-r--r-- | wineconfig/winewrite.py | 2 |
13 files changed, 18 insertions, 18 deletions
diff --git a/grubconfig/grubconfig.py b/grubconfig/grubconfig.py index d9d24a4..91a6406 100644 --- a/grubconfig/grubconfig.py +++ b/grubconfig/grubconfig.py @@ -19,7 +19,7 @@ import sys import os import os.path -from PyTQt.qt import * +from PyTQt.tqt import * from tdeui import * from tdecore import * from tdefile import * diff --git a/mountconfig/SMBShareSelectDialog.py b/mountconfig/SMBShareSelectDialog.py index 617ee04..3c2915b 100644 --- a/mountconfig/SMBShareSelectDialog.py +++ b/mountconfig/SMBShareSelectDialog.py @@ -14,7 +14,7 @@ # # ########################################################################### -from PyTQt.qt import * +from PyTQt.tqt import * from tdeui import * from tdecore import * from tdeio import * @@ -309,7 +309,7 @@ class SMBShareSelectDialog(KDialogBase): if self.selecteditem is None: return - if state==QButton.Off: + if state==TQButton.Off: self.guestradio.setChecked(True) self.userradio.setChecked(False) @@ -326,7 +326,7 @@ class SMBShareSelectDialog(KDialogBase): if self.updatinggui: return self.updatinggui = True - if state==QButton.Off: + if state==TQButton.Off: self.userradio.setChecked(True) self.guestradio.setChecked(False) diff --git a/mountconfig/SimpleCommandRunner.py b/mountconfig/SimpleCommandRunner.py index a6767b5..9936ba1 100644 --- a/mountconfig/SimpleCommandRunner.py +++ b/mountconfig/SimpleCommandRunner.py @@ -13,7 +13,7 @@ # (at your option) any later version. # # # ########################################################################### -from PyTQt.qt import * +from PyTQt.tqt import * from tdecore import * import locale diff --git a/mountconfig/fuser.py b/mountconfig/fuser.py index 06cf1a9..a84be6d 100644 --- a/mountconfig/fuser.py +++ b/mountconfig/fuser.py @@ -22,7 +22,7 @@ TODO: import sys import os -from PyTQt.qt import * +from PyTQt.tqt import * from tdeui import * #import kdedesigner from fuser_ui import * diff --git a/mountconfig/mountconfig.py b/mountconfig/mountconfig.py index f348aa6..3f6ced5 100755 --- a/mountconfig/mountconfig.py +++ b/mountconfig/mountconfig.py @@ -19,7 +19,7 @@ import sys import os import os.path -from PyTQt.qt import * +from PyTQt.tqt import * from tdeui import * from tdecore import * from tdefile import * diff --git a/mountconfig/sizeview.py b/mountconfig/sizeview.py index 49ce9f6..33b1560 100644 --- a/mountconfig/sizeview.py +++ b/mountconfig/sizeview.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -from PyTQt.qt import * +from PyTQt.tqt import * from tdecore import * import sys, os diff --git a/serviceconfig/serviceconfig.py b/serviceconfig/serviceconfig.py index d806f8e..23c5c17 100755 --- a/serviceconfig/serviceconfig.py +++ b/serviceconfig/serviceconfig.py @@ -19,7 +19,7 @@ import sys import os import os.path -from PyTQt.qt import * +from PyTQt.tqt import * from tdeui import * from tdecore import * import posix @@ -29,7 +29,7 @@ def doit(): author_email = "[email protected]", url = "http://www.simonzone.com/software/guidance/", min_kde_version = "3.0.0", - min_qt_version = "3.0.0", + min_tqt_version = "3.0.0", license = "GPL", docbooks = [('doc/en','en')], package_dir = {'':'modules'}, diff --git a/userconfig/userconfig.py b/userconfig/userconfig.py index 9ef5bdc..e467661 100755 --- a/userconfig/userconfig.py +++ b/userconfig/userconfig.py @@ -18,7 +18,7 @@ import sys import os.path -from PyTQt.qt import * +from PyTQt.tqt import * from tdeui import * from tdecore import * from tdefile import * diff --git a/wineconfig/firstrunwizard.py b/wineconfig/firstrunwizard.py index 8d22264..fc832ba 100755 --- a/wineconfig/firstrunwizard.py +++ b/wineconfig/firstrunwizard.py @@ -16,7 +16,7 @@ # # ########################################################################### -from PyTQt.qt import * +from PyTQt.tqt import * from tdecore import * from tdeui import * from tdefile import * diff --git a/wineconfig/kcm_wineconfig.cpp b/wineconfig/kcm_wineconfig.cpp index a1f9a69..5a052a7 100644 --- a/wineconfig/kcm_wineconfig.cpp +++ b/wineconfig/kcm_wineconfig.cpp @@ -76,10 +76,10 @@ static TDECModule* return_instance( TQWidget *parent, const char *name ) { // Inject a helper function TQString bridge = TQString("import sip_tqt\n" - "from PyTQt import qt\n" + "from PyTQt import tqt\n" "def kcontrol_bridge_" FACTORY "(parent,name):\n" " if parent!=0:\n" - " wparent = sip_tqt.wrapinstance(parent,qt.TQWidget)\n" + " wparent = sip_tqt.wrapinstance(parent,tqt.TQWidget)\n" " else:\n" " wparent = None\n" " inst = " FACTORY "(wparent, name)\n" diff --git a/wineconfig/wineconfig.py b/wineconfig/wineconfig.py index b8027ea..f5ab322 100755 --- a/wineconfig/wineconfig.py +++ b/wineconfig/wineconfig.py @@ -19,7 +19,7 @@ import sys import os import os.path -from PyTQt.qt import * +from PyTQt.tqt import * from tdecore import * from tdeui import * from tdefile import * @@ -3017,7 +3017,7 @@ class ApplicationsPage(TQWidget): #native_apps_layout.addWidget(self.browsercombo,0,1) #native_apps_layout.setColStretch(1,1) - #QToolTip.add(self.browsercombo, + #TQToolTip.add(self.browsercombo, #i18n("<p>Select the browser to be launched when clicking on a link" +\ #" in a Windows application.</p>")) @@ -3033,7 +3033,7 @@ class ApplicationsPage(TQWidget): #self.connect(self.mailercombo,SIGNAL("activated(int)"),self.slotMailerActivated) #native_apps_layout.addWidget(self.mailercombo,1,1) - #QToolTip.add(self.mailercombo, + #TQToolTip.add(self.mailercombo, #i18n("<p>Select the mail client to be launched when clicking on" +\ #" a mailto link in a Windows application.</p>")) diff --git a/wineconfig/winewrite.py b/wineconfig/winewrite.py index db01614..b208e66 100644 --- a/wineconfig/winewrite.py +++ b/wineconfig/winewrite.py @@ -133,7 +133,7 @@ def SetKeyValues(key,settings): file.write("REGEDIT4\n\n[" + key + "]\n") for setting in settings: - # Casting to a python string is necessary for older versions of pyQT + # Casting to a python string is necessary for older versions of PyTQt if str(settings[setting])[:4] == 'hex:': file.write('"'+str(setting)+'"='+str(settings[setting])+'\n') else: |