summaryrefslogtreecommitdiffstats
path: root/wineconfig
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-21 19:49:50 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-23 02:18:34 +0100
commit00acd92ff96bd6d3bb3136aa6d6b37314b3ad623 (patch)
tree60db84a70bf9cb13ffbf931151ae7b0f8ffc86e8 /wineconfig
parent94f5a3f12e1c61aa2f3cde2d7b260c08489336ac (diff)
downloadtde-guidance-00acd92ff96bd6d3bb3136aa6d6b37314b3ad623.tar.gz
tde-guidance-00acd92ff96bd6d3bb3136aa6d6b37314b3ad623.zip
Update after renaming qt => tqt in PyTQt module.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'wineconfig')
-rwxr-xr-xwineconfig/firstrunwizard.py2
-rw-r--r--wineconfig/kcm_wineconfig.cpp4
-rwxr-xr-xwineconfig/wineconfig.py6
-rw-r--r--wineconfig/winewrite.py2
4 files changed, 7 insertions, 7 deletions
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: