summaryrefslogtreecommitdiffstats
path: root/examples3/SQL
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-05 16:47:30 -0600
committerTimothy Pearson <[email protected]>2011-12-05 16:47:30 -0600
commitd2b09f66d0c8c8c26ec613b96d7c248e78a5c52f (patch)
tree9800b39774d9dfd7a1c3526ed8438ea0b44e3171 /examples3/SQL
parent003f16c7d64a30a5a8b7de3a3fd79f021a866105 (diff)
downloadpytqt-d2b09f66d0c8c8c26ec613b96d7c248e78a5c52f.tar.gz
pytqt-d2b09f66d0c8c8c26ec613b96d7c248e78a5c52f.zip
Fix Retquired accidental conversion
Diffstat (limited to 'examples3/SQL')
-rwxr-xr-xexamples3/SQL/runsqlex.py4
-rw-r--r--examples3/SQL/sqlex.ui2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples3/SQL/runsqlex.py b/examples3/SQL/runsqlex.py
index 09f567d..0ac779f 100755
--- a/examples3/SQL/runsqlex.py
+++ b/examples3/SQL/runsqlex.py
@@ -102,9 +102,9 @@ class MainWindow(SqlEx):
fields = db.recordInfo(t)
for f in fields:
req = "?"
- if f.isRetquired() > 0:
+ if f.isRequired() > 0:
req = "Yes"
- elif f.isRetquired() == 0:
+ elif f.isRequired() == 0:
req = "No"
fi = TQListViewItem(lvi, f.name(), TQVariant.typeToName(f.type()), req)
lvi.insertItem(fi)
diff --git a/examples3/SQL/sqlex.ui b/examples3/SQL/sqlex.ui
index 5b9303d..64b3d0f 100644
--- a/examples3/SQL/sqlex.ui
+++ b/examples3/SQL/sqlex.ui
@@ -110,7 +110,7 @@
</column>
<column>
<property name="text">
- <string>Retquired</string>
+ <string>Required</string>
</property>
<property name="clickable">
<bool>true</bool>