summaryrefslogtreecommitdiffstats
path: root/examples3/bigtable.py
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-29 01:11:08 -0600
commit8a055d66f43592c257cece2eb8cc021808062917 (patch)
treed0922f201bd5d24b62a33160d1d9baf9e89f9a70 /examples3/bigtable.py
parentb388516ca2691303a076a0764fd40bf7116fe43d (diff)
downloadpytqt-8a055d66f43592c257cece2eb8cc021808062917.tar.gz
pytqt-8a055d66f43592c257cece2eb8cc021808062917.zip
Initial TQt conversion
Diffstat (limited to 'examples3/bigtable.py')
-rwxr-xr-xexamples3/bigtable.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples3/bigtable.py b/examples3/bigtable.py
index da17619..61fcb71 100755
--- a/examples3/bigtable.py
+++ b/examples3/bigtable.py
@@ -5,7 +5,7 @@
#**
#** Copyright (C) 1992-1998 Troll Tech AS. All rights reserved.
#**
-#** This file is part of an example program for PyQt. This example
+#** This file is part of an example program for PyTQt. This example
#** program may be used, distributed and modified without limitation.
#**
#*****************************************************************************/
@@ -21,9 +21,9 @@ FALSE = 0
numRows = 1000000
numCols = 1000000
-class MyTable(QTable):
+class MyTable(TQTable):
def __init__(self, r, c):
- QTable.__init__(self, r, c)
+ TQTable.__init__(self, r, c)
self.items = {}
self.widgets = {}
self.setCaption("This is a big table with 1.000.000x1.000.000 cells...")
@@ -64,7 +64,7 @@ class MyTable(QTable):
if __name__ == '__main__':
- app = QApplication(sys.argv)
+ app = TQApplication(sys.argv)
table = MyTable(numRows, numCols)
app.setMainWidget(table)