summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler/basic_widgets
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pytde-sampler/basic_widgets')
-rw-r--r--examples/pytde-sampler/basic_widgets/datepicker.py4
-rw-r--r--examples/pytde-sampler/basic_widgets/historycombo.py10
2 files changed, 7 insertions, 7 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)
diff --git a/examples/pytde-sampler/basic_widgets/historycombo.py b/examples/pytde-sampler/basic_widgets/historycombo.py
index a43e8a9..8891235 100644
--- a/examples/pytde-sampler/basic_widgets/historycombo.py
+++ b/examples/pytde-sampler/basic_widgets/historycombo.py
@@ -1,5 +1,5 @@
from PyTQt.tqt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQStringList, TQLabel, \
- SIGNAL, SLOT
+ TQ_SIGNAL, TQ_SLOT
from tdeui import KHistoryCombo, KTextEdit
@@ -41,11 +41,11 @@ class MainFrame(TQFrame):
layout.addWidget(self.historyCombo, 0)
layout.addStretch(10)
- self.connect(self.historyCombo, SIGNAL('activated(const TQString& )'),
- self.historyCombo, SLOT('addToHistory(const TQString&)'))
- self.connect(self.historyCombo, SIGNAL('cleared()'),
+ self.connect(self.historyCombo, TQ_SIGNAL('activated(const TQString& )'),
+ self.historyCombo, TQ_SLOT('addToHistory(const TQString&)'))
+ self.connect(self.historyCombo, TQ_SIGNAL('cleared()'),
self.historyCleared)
- self.connect(self.historyCombo, SIGNAL('activated(const TQString &)'),
+ self.connect(self.historyCombo, TQ_SIGNAL('activated(const TQString &)'),
self.historySelection.setText)
def historyCleared(self):