diff options
author | Michele Calgaro <[email protected]> | 2024-01-10 10:12:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-11 10:03:49 +0900 |
commit | db88dbbdb24193c81d3b4b893553b78cddf32eb3 (patch) | |
tree | 392ed8ab9606ee7a8a67b201e84a8b4a9e8ddb5a /examples/uitdemdi.py | |
parent | bab19cc2a24fceccebe4477c4af99a6a162ef998 (diff) | |
download | pytde-db88dbbdb24193c81d3b4b893553b78cddf32eb3.tar.gz pytde-db88dbbdb24193c81d3b4b893553b78cddf32eb3.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit d94985267d6f224c5a9833736762f466d264374d)
Diffstat (limited to 'examples/uitdemdi.py')
-rw-r--r-- | examples/uitdemdi.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/uitdemdi.py b/examples/uitdemdi.py index 5be4c94..9f3f5d4 100644 --- a/examples/uitdemdi.py +++ b/examples/uitdemdi.py @@ -28,7 +28,7 @@ All is not rosy, however: import os import sys -from PyTQt.tqt import SIGNAL, TQVBoxLayout, TQLabel +from PyTQt.tqt import TQ_SIGNAL, TQVBoxLayout, TQLabel from tdecore import i18n, TDEAboutData, TDEApplication, TDEGlobal, TDEIcon, TDECmdLineArgs from tdeui import KDockWidget, TDEListBox, KStdAction @@ -39,9 +39,9 @@ except (ImportError, ): sys.exit(1) -sigChildCloseRequest = SIGNAL('childWindowCloseRequest(KMdiChildView *)') -sigChildViewActivated = SIGNAL('viewActivated(KMdiChildView *)') -sigBoxSelectionChanged = SIGNAL('selectionChanged(TQListBoxItem *)') +sigChildCloseRequest = TQ_SIGNAL('childWindowCloseRequest(KMdiChildView *)') +sigChildViewActivated = TQ_SIGNAL('viewActivated(KMdiChildView *)') +sigBoxSelectionChanged = TQ_SIGNAL('selectionChanged(TQListBoxItem *)') def getIcon(name, group=TDEIcon.NoGroup, size=TDEIcon.SizeSmall): |