summaryrefslogtreecommitdiffstats
path: root/examples/uisampler.py
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-10 10:12:35 +0900
committerMichele Calgaro <[email protected]>2024-01-10 10:12:35 +0900
commitd94985267d6f224c5a9833736762f466d264374d (patch)
tree493b94e70d01d14903bf19aece4af02da401190c /examples/uisampler.py
parent36e3e3e1b3a8d802d926b424391e2cc9d3b19c20 (diff)
downloadpytde-d94985267d6f224c5a9833736762f466d264374d.tar.gz
pytde-d94985267d6f224c5a9833736762f466d264374d.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'examples/uisampler.py')
-rw-r--r--examples/uisampler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/uisampler.py b/examples/uisampler.py
index e52a3b6..57ae1c0 100644
--- a/examples/uisampler.py
+++ b/examples/uisampler.py
@@ -1,7 +1,7 @@
import sys
sys.path.append ("./uimodules")
-from PyTQt.tqt import TQSplitter, TQWidgetStack, TQWidget, TQListViewItem, SIGNAL, TQCString , TQScrollView, TQRect, TQt
+from PyTQt.tqt import TQSplitter, TQWidgetStack, TQWidget, TQListViewItem, TQ_SIGNAL, TQCString , TQScrollView, TQRect, TQt
from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData
from tdeui import TDEMainWindow, TDEListView
@@ -160,7 +160,7 @@ class MainWin (TDEMainWindow):
self.setCentralWidget (self.mainView)
self.initListView ()
- self.connect (self.tree, SIGNAL ("clicked (TQListViewItem *)"), self.lvClicked)
+ self.connect (self.tree, TQ_SIGNAL ("clicked (TQListViewItem *)"), self.lvClicked)
self.edit = None
self.currentPageObj = None