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 # # (c) 2005 Leo Franchi @@ -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 # # 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