diff options
Diffstat (limited to 'kexi/kexidb/parser/sqlparser.y')
-rw-r--r-- | kexi/kexidb/parser/sqlparser.y | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kexi/kexidb/parser/sqlparser.y b/kexi/kexidb/parser/sqlparser.y index 5a8357f2..ee8bba6b 100644 --- a/kexi/kexidb/parser/sqlparser.y +++ b/kexi/kexidb/parser/sqlparser.y @@ -464,12 +464,12 @@ # include <malloc.h> #endif -#include <qobject.h> +#include <tqobject.h> #include <kdebug.h> #include <klocale.h> -#include <qptrlist.h> -#include <qcstring.h> -#include <qvariant.h> +#include <tqptrlist.h> +#include <tqcstring.h> +#include <tqvariant.h> #include <connection.h> #include <queryschema.h> @@ -500,7 +500,7 @@ using namespace KexiDB; #if 0 struct yyval { - QString parserUserName; + TQString parserUserName; int integerValue; KexiDBField::ColumnType coltype; } @@ -509,7 +509,7 @@ using namespace KexiDB; %} %union { - QString* stringValue; + TQString* stringValue; Q_LLONG integerValue; bool booleanValue; struct realType realValue; @@ -742,7 +742,7 @@ SELECT KexiDBDbg << "SELECT" << endl; // parser->createSelect(); // parser->setOperation(Parser::OP_Select); - $$ = new QuerySchema(); + $$ = new TQuerySchema(); } ; @@ -826,20 +826,20 @@ OrderByColumnId OrderByColumnId: IDENTIFIER { - $$ = new QVariant( *$1 ); + $$ = new TQVariant( *$1 ); KexiDBDbg << "OrderByColumnId: " << *$$ << endl; delete $1; } | IDENTIFIER '.' IDENTIFIER { - $$ = new QVariant( *$1 + "." + *$3 ); + $$ = new TQVariant( *$1 + "." + *$3 ); KexiDBDbg << "OrderByColumnId: " << *$$ << endl; delete $1; delete $3; } | INTEGER_CONST { - $$ = new QVariant($1); + $$ = new TQVariant($1); KexiDBDbg << "OrderByColumnId: " << *$$ << endl; } @@ -1052,10 +1052,10 @@ aExpr9: } | SQL_NULL { - $$ = new ConstExpr( SQL_NULL, QVariant() ); + $$ = new ConstExpr( SQL_NULL, TQVariant() ); KexiDBDbg << " + NULL" << endl; // $$ = new Field(); - //$$->setName(QString::null); + //$$->setName(TQString::null); } | CHARACTER_STRING_LITERAL { @@ -1082,7 +1082,7 @@ aExpr9: } | REAL_CONST { - $$ = new ConstExpr( REAL_CONST, QPoint( $1.integer, $1.fractional ) ); + $$ = new ConstExpr( REAL_CONST, TQPoint( $1.integer, $1.fractional ) ); KexiDBDbg << " + real constant: " << $1.integer << "." << $1.fractional << endl; } | @@ -1350,7 +1350,7 @@ ColWildCard: } | IDENTIFIER '.' '*' { - QString s( *$1 ); + TQString s( *$1 ); s += ".*"; $$ = new VariableExpr(s); KexiDBDbg << " + all columns from " << s << endl; |