summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler/basic_widgets/datepicker.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pytde-sampler/basic_widgets/datepicker.py')
-rw-r--r--examples/pytde-sampler/basic_widgets/datepicker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pytde-sampler/basic_widgets/datepicker.py b/examples/pytde-sampler/basic_widgets/datepicker.py
index 467a96a..51571cb 100644
--- a/examples/pytde-sampler/basic_widgets/datepicker.py
+++ b/examples/pytde-sampler/basic_widgets/datepicker.py
@@ -1,4 +1,4 @@
-from PyTQt.tqt import TQFrame, TQStringList, TQVBoxLayout, SIGNAL, TQLabel, TQSizePolicy, TQt
+from PyTQt.tqt import TQFrame, TQStringList, TQVBoxLayout, TQ_SIGNAL, TQLabel, TQSizePolicy, TQt
from PyTQt.tqttable import TQTable
from tdeui import KTextEdit, KDatePicker, KDateWidget
@@ -37,6 +37,6 @@ class MainFrame(TQFrame):
layout.addWidget(self.other, 0)
layout.addWidget(self.dateDisplay, 2)
- self.connect(self.datePicker, SIGNAL('dateChanged(TQDate)'),
+ self.connect(self.datePicker, TQ_SIGNAL('dateChanged(TQDate)'),
self.dateDisplay.setDate)