From d94985267d6f224c5a9833736762f466d264374d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 10 Jan 2024 10:12:35 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- examples/uisampler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/uisampler.py') 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 -- cgit v1.2.1