summaryrefslogtreecommitdiffstats
path: root/examples3/SQL
diff options
context:
space:
mode:
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>