summaryrefslogtreecommitdiffstats
path: root/examples/demo/sql
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:44:56 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:44:56 -0600
commitceaf41bd779bdcc293a4f43100a3834c72c2c46d (patch)
treeeb429d42c0ab5b5404d65e79ab4e9884775f0614 /examples/demo/sql
parent5dea938f814eff53a106e572c98620ecd0043bd9 (diff)
downloadtqt3-ceaf41bd779bdcc293a4f43100a3834c72c2c46d.tar.gz
tqt3-ceaf41bd779bdcc293a4f43100a3834c72c2c46d.zip
Update from latest conversion script
Diffstat (limited to 'examples/demo/sql')
-rw-r--r--examples/demo/sql/sqlex.ui2
-rw-r--r--examples/demo/sql/sqlex.ui.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/demo/sql/sqlex.ui b/examples/demo/sql/sqlex.ui
index a7e972f8f..189aa6399 100644
--- a/examples/demo/sql/sqlex.ui
+++ b/examples/demo/sql/sqlex.ui
@@ -64,7 +64,7 @@
</column>
<column>
<property name="text">
- <string>Retquired</string>
+ <string>Required</string>
</property>
<property name="clickable">
<bool>true</bool>
diff --git a/examples/demo/sql/sqlex.ui.h b/examples/demo/sql/sqlex.ui.h
index b8e88ca91..bd58d1ee3 100644
--- a/examples/demo/sql/sqlex.ui.h
+++ b/examples/demo/sql/sqlex.ui.h
@@ -72,9 +72,9 @@ void SqlEx::dbConnect()
TQSqlRecordInfo ri = db->recordInfo ( *it );
for ( TQSqlRecordInfo::Iterator it = ri.begin(); it != ri.end(); ++it ) {
TQString req;
- if ( (*it).isRetquired() > 0 ) {
+ if ( (*it).isRequired() > 0 ) {
req = "Yes";
- } else if ( (*it).isRetquired() == 0 ) {
+ } else if ( (*it).isRequired() == 0 ) {
req = "No";
} else {
req = "?";