summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler/dialogs/about
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pytde-sampler/dialogs/about')
-rw-r--r--examples/pytde-sampler/dialogs/about/aboutapp.py4
-rw-r--r--examples/pytde-sampler/dialogs/about/abouttde.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/pytde-sampler/dialogs/about/aboutapp.py b/examples/pytde-sampler/dialogs/about/aboutapp.py
index 737fe57..f5b6d38 100644
--- a/examples/pytde-sampler/dialogs/about/aboutapp.py
+++ b/examples/pytde-sampler/dialogs/about/aboutapp.py
@@ -1,7 +1,7 @@
iconName = 'about_kde'
labelText = 'TDEAboutApplication'
-from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQ_SIGNAL
from tdecore import i18n
from tdeui import TDEAboutApplication, KPushButton, KTextEdit
@@ -22,7 +22,7 @@ class MainFrame(TQFrame):
buttonlayout.addWidget(self.button)
buttonlayout.addStretch(1)
layout.addStretch(1)
- self.connect(self.button, SIGNAL('clicked()'), self.showAboutDialog)
+ self.connect(self.button, TQ_SIGNAL('clicked()'), self.showAboutDialog)
def showAboutDialog(self):
dlg = TDEAboutApplication(self)
diff --git a/examples/pytde-sampler/dialogs/about/abouttde.py b/examples/pytde-sampler/dialogs/about/abouttde.py
index c48e83f..883a1bf 100644
--- a/examples/pytde-sampler/dialogs/about/abouttde.py
+++ b/examples/pytde-sampler/dialogs/about/abouttde.py
@@ -1,7 +1,7 @@
iconName = 'about_kde'
labelText = 'TDEAboutTDE'
-from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL
+from PyTQt.tqt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQ_SIGNAL
from tdecore import i18n
from tdeui import TDEAboutKDE, KPushButton, KTextEdit
@@ -21,7 +21,7 @@ class MainFrame(TQFrame):
buttonlayout.addWidget(self.button)
buttonlayout.addStretch(1)
layout.addStretch(1)
- self.connect(self.button, SIGNAL('clicked()'), self.showAboutDialog)
+ self.connect(self.button, TQ_SIGNAL('clicked()'), self.showAboutDialog)
def showAboutDialog(self):
dlg = TDEAboutKDE(self)