summaryrefslogtreecommitdiffstats
path: root/languages/java/java.g
diff options
context:
space:
mode:
Diffstat (limited to 'languages/java/java.g')
-rw-r--r--languages/java/java.g16
1 files changed, 8 insertions, 8 deletions
diff --git a/languages/java/java.g b/languages/java/java.g
index 4228a573..15ccf63d 100644
--- a/languages/java/java.g
+++ b/languages/java/java.g
@@ -157,18 +157,18 @@ private:
public:
void setDriver( Driver* d ) { m_driver = d; }
- void setFileName( const QString& fileName ) { m_driver->currentFileName() = fileName; }
+ void setFileName( const TQString& fileName ) { m_driver->currentFileName() = fileName; }
void reportError( const ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex ){
- m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(ex.getMessage().c_str()), ex.getLine(), ex.getColumn()) );
+ m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(ex.getMessage().c_str()), ex.getLine(), ex.getColumn()) );
}
void reportError( const ANTLR_USE_NAMESPACE(std)string& errorMessage ){
- m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(errorMessage.c_str()), LT(1)->getLine(), LT(1)->getColumn()) );
+ m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(errorMessage.c_str()), LT(1)->getLine(), LT(1)->getColumn()) );
}
void reportMessage( const ANTLR_USE_NAMESPACE(std)string& message ){
- m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(message.c_str()), LT(1)->getLine(), LT(1)->getColumn()) );
+ m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(message.c_str()), LT(1)->getLine(), LT(1)->getColumn()) );
}
}
@@ -1061,18 +1061,18 @@ private:
public:
void setDriver( Driver* d ) { m_driver = d; }
- void setFileName( const QString& fileName ) { m_driver->currentFileName() = fileName; }
+ void setFileName( const TQString& fileName ) { m_driver->currentFileName() = fileName; }
virtual void reportError( const ANTLR_USE_NAMESPACE(antlr)RecognitionException& ex ){
- m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(ex.getMessage().c_str()), ex.getLine(), ex.getColumn()) );
+ m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(ex.getMessage().c_str()), ex.getLine(), ex.getColumn()) );
}
virtual void reportError( const ANTLR_USE_NAMESPACE(std)string& errorMessage ){
- m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(errorMessage.c_str()), getLine(), getColumn()) );
+ m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(errorMessage.c_str()), getLine(), getColumn()) );
}
virtual void reportWarning( const ANTLR_USE_NAMESPACE(std)string& warnMessage ){
- m_driver->addProblem( m_driver->currentFileName(), Problem( QString::fromLocal8Bit(warnMessage.c_str()), getLine(), getColumn()) );
+ m_driver->addProblem( m_driver->currentFileName(), Problem( TQString::fromLocal8Bit(warnMessage.c_str()), getLine(), getColumn()) );
}
}