summaryrefslogtreecommitdiffstats
path: root/examples/pykde-sampler/xwin/__init__.py
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-03 22:23:44 -0600
committerTimothy Pearson <[email protected]>2011-12-03 22:23:44 -0600
commit203ba231d0276943aae36111f9ec1e949f3c6a4c (patch)
treef039f7a5b5fc2da88a96876971bac580d87f6788 /examples/pykde-sampler/xwin/__init__.py
parentfd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff)
downloadpytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz
pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip
Initial TQt conversion
Diffstat (limited to 'examples/pykde-sampler/xwin/__init__.py')
-rw-r--r--examples/pykde-sampler/xwin/__init__.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/pykde-sampler/xwin/__init__.py b/examples/pykde-sampler/xwin/__init__.py
index f9ff0b1..34787fd 100644
--- a/examples/pykde-sampler/xwin/__init__.py
+++ b/examples/pykde-sampler/xwin/__init__.py
@@ -4,13 +4,13 @@ iconName = 'kcmx'
helpText = """KDE and PyKDE allow interaction with the X Window system. Check
out the nifty samples below."""
-from qt import QFrame, QLabel, QVBoxLayout
+from qt import TQFrame, TQLabel, TQVBoxLayout
-class MainFrame(QFrame):
+class MainFrame(TQFrame):
def __init__(self, parent=None):
- QFrame.__init__(self, parent)
- layout = QVBoxLayout(self)
- self.text = QLabel(helpText, self)
+ TQFrame.__init__(self, parent)
+ layout = TQVBoxLayout(self)
+ self.text = TQLabel(helpText, self)
layout.addWidget(self.text, 1)