summaryrefslogtreecommitdiffstats
path: root/src/sql/qsqlextension_p.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-11-01 22:46:51 +0900
committerMichele Calgaro <[email protected]>2018-11-01 22:49:13 +0900
commit959ee5c58899a2ab20c5632711d0f555270ed95e (patch)
tree403b1a5ada429fed1f131b582ca2a11a47302f66 /src/sql/qsqlextension_p.h
parent86f493cd128cce79860200ab94cc30cf74a68b25 (diff)
downloadtqt3-959ee5c58899a2ab20c5632711d0f555270ed95e.tar.gz
tqt3-959ee5c58899a2ab20c5632711d0f555270ed95e.zip
Improved class name used in previous commit. Suggestion comes from
Slavek :-) Signed-off-by: Michele Calgaro <[email protected]> Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 9226c02de91e8f4c50552186fe696d82771f70fa)
Diffstat (limited to 'src/sql/qsqlextension_p.h')
-rw-r--r--src/sql/qsqlextension_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sql/qsqlextension_p.h b/src/sql/qsqlextension_p.h
index 7b1d46afc..5a762b006 100644
--- a/src/sql/qsqlextension_p.h
+++ b/src/sql/qsqlextension_p.h
@@ -71,11 +71,11 @@
#define TQM_TEMPLATE_EXTERN_SQL Q_TEMPLATE_EXTERN
#endif
-struct TQtParam {
- TQtParam( const TQVariant& v = TQVariant(), TQSql::ParameterType t = TQSql::In ): value( v ), typ( t ) {}
+struct TQSqlParam {
+ TQSqlParam( const TQVariant& v = TQVariant(), TQSql::ParameterType t = TQSql::In ): value( v ), typ( t ) {}
TQVariant value;
TQSql::ParameterType typ;
- Q_DUMMY_COMPARISON_OPERATOR(TQtParam)
+ Q_DUMMY_COMPARISON_OPERATOR(TQSqlParam)
};
struct Holder {
@@ -114,7 +114,7 @@ public:
int bindCount;
TQMap<int, TQString> index;
- typedef TQMap<TQString, TQtParam> ValueMap;
+ typedef TQMap<TQString, TQSqlParam> ValueMap;
ValueMap values;
// convenience container for TQSqlQuery