summaryrefslogtreecommitdiffstats
path: root/examples3/bigtable.py
diff options
context:
space:
mode:
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)