summaryrefslogtreecommitdiffstats
path: root/examples/dropsite.py
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-03 00:52:18 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-20 02:10:39 +0100
commit16434e5519f6224e231bc5f7202f0e495eda7bb7 (patch)
treed0a3bc5f18eb65f89c1e6238dcf579e6c9cb80ad /examples/dropsite.py
parent1c362264d328c8886d33061ab992750741f7933a (diff)
downloadpytqt-16434e5519f6224e231bc5f7202f0e495eda7bb7.tar.gz
pytqt-16434e5519f6224e231bc5f7202f0e495eda7bb7.zip
Do rename qt=>tqt on source files, directories and libraries.
Rename pyuic=>pytquic, pylupdate=>pytqlupdate. Do rename qt=>tqt on constants and variables. Do rename QT=>TQT on constants. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'examples/dropsite.py')
-rw-r--r--examples/dropsite.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/dropsite.py b/examples/dropsite.py
index ee8fcfb..162081e 100644
--- a/examples/dropsite.py
+++ b/examples/dropsite.py
@@ -1,7 +1,7 @@
# This is part of the dragdrop example.
-from PyTQt.qt import *
+from PyTQt.tqt import *
import secret
@@ -23,7 +23,7 @@ class DropSite(TQLabel):
drobj = TQTextDrag( self.text(), self )
drobj.dragCopy()
- def backgroundColorChange( self, qcolor ):
+ def backgroundColorChange( self, tqcolor ):
# Reduce flicker by using repaint() rather than update()
self.repaint()