|
|
|
@ -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 ):
|
|
|
|
|