summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-21 19:54:39 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-23 02:22:38 +0100
commit9aeb41f6661094373820a2dd02a5a984540bd437 (patch)
treefa8a965464d35dc24c2b2c7001b864998cfad1c0
parent9be5499101c28522c831605d603bc7a3dcc01edb (diff)
downloadamarok-9aeb41f6.tar.gz
amarok-9aeb41f6.zip
Update after renaming qt => tqt in PyTQt module.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rwxr-xr-xamarok/src/scripts/alarm/alarm.py2
-rwxr-xr-xamarok/src/scripts/amarok_live/amarok_live.py4
-rwxr-xr-xamarok/src/scripts/templates/python_qt_template.py6
-rwxr-xr-xamarok/src/scripts/webcontrol/WebControl.py2
4 files changed, 7 insertions, 7 deletions
diff --git a/amarok/src/scripts/alarm/alarm.py b/amarok/src/scripts/alarm/alarm.py
index 990d9510..e515320b 100755
--- a/amarok/src/scripts/alarm/alarm.py
+++ b/amarok/src/scripts/alarm/alarm.py
@@ -22,7 +22,7 @@ import threading
from os import *
try:
- from PyTQt.qt import *
+ from PyTQt.tqt import *
except:
popen( "kdialog --sorry 'PyTQt (TQt bindings for Python) is required for this script.'" )
raise
diff --git a/amarok/src/scripts/amarok_live/amarok_live.py b/amarok/src/scripts/amarok_live/amarok_live.py
index cf731369..0a4b58cd 100755
--- a/amarok/src/scripts/amarok_live/amarok_live.py
+++ b/amarok/src/scripts/amarok_live/amarok_live.py
@@ -2,7 +2,7 @@
############################################################################
# Python wrapper script for running the Amarok LiveCD remastering scripts
-# from within Amarok. Based on the Python-Qt template script for Amarok
+# from within Amarok. Based on the Python-TQt template script for Amarok
# (c) 2005 Mark Kretschmann <markey@web.de>
#
# (c) 2005 Leo Franchi <lfranchi@gmail.com>
@@ -25,7 +25,7 @@ import signal
from time import sleep
try:
- from TQt.qt import *
+ from TQt.tqt import *
except:
os.popen( "kdialog --sorry 'PyTQt (TQt bindings for Python) is required for this script.'" )
raise
diff --git a/amarok/src/scripts/templates/python_qt_template.py b/amarok/src/scripts/templates/python_qt_template.py
index c1bb4420..1a2417fa 100755
--- a/amarok/src/scripts/templates/python_qt_template.py
+++ b/amarok/src/scripts/templates/python_qt_template.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
############################################################################
-# Python-Qt template script for Amarok
+# Python-TQt template script for Amarok
# (c) 2005 Mark Kretschmann <markey@web.de>
#
# Depends on: Python 3, PyTQt
@@ -22,7 +22,7 @@ import signal
from time import sleep
try:
- from PyTQt.qt import *
+ from PyTQt.tqt import *
except:
os.popen( "kdialog --sorry 'PyTQt (TQt bindings for Python) is required for this script.'" )
raise
@@ -32,7 +32,7 @@ except:
debug_prefix = "[Test Script]"
-class ConfigDialog( QDialog ):
+class ConfigDialog( TQDialog ):
""" Configuration widget """
def __init__( self ):
diff --git a/amarok/src/scripts/webcontrol/WebControl.py b/amarok/src/scripts/webcontrol/WebControl.py
index 03f97e7f..03a5f9f4 100755
--- a/amarok/src/scripts/webcontrol/WebControl.py
+++ b/amarok/src/scripts/webcontrol/WebControl.py
@@ -40,7 +40,7 @@ import time
import string
try:
- from PyTQt.qt import *
+ from PyTQt.tqt import *
except:
os.popen( "kdialog --sorry 'PyTQt (TQt bindings for Python) is required for this script.'" )
raise