summaryrefslogtreecommitdiffstats
path: root/examples/demo/sql
diff options
context:
space:
mode:
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 = "?";