summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codeimport/javaimport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codeimport/javaimport.cpp')
-rw-r--r--umbrello/umbrello/codeimport/javaimport.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/umbrello/umbrello/codeimport/javaimport.cpp b/umbrello/umbrello/codeimport/javaimport.cpp
index ac37e066..0ff5b689 100644
--- a/umbrello/umbrello/codeimport/javaimport.cpp
+++ b/umbrello/umbrello/codeimport/javaimport.cpp
@@ -86,7 +86,7 @@ void JavaImport::fillSource(const TQString& word) {
void JavaImport::spawnImport( TQString file ) {
// if the file is being parsed, don't bother
//
- if (s_filesAlreadyParsed.tqcontains( file ) ) {
+ if (s_filesAlreadyParsed.contains( file ) ) {
return;
}
if (TQFile::exists(file)) {
@@ -112,7 +112,7 @@ UMLObject* JavaImport::resolveClass (TQString className) {
kDebug() << "importJava trying to resolve " << className << endl;
// keep track if we are dealing with an array
//
- bool isArray = className.tqcontains('[');
+ bool isArray = className.contains('[');
// remove any [] so that the class itself can be resolved
//
TQString baseClassName = className;
@@ -271,7 +271,7 @@ bool JavaImport::parseStmt() {
}
while (1) {
const TQString arg = m_source[++start];
- if (! arg.tqcontains( TQRegExp("^[A-Za-z_]") )) {
+ if (! arg.contains( TQRegExp("^[A-Za-z_]") )) {
kDebug() << "importJava(" << name << "): cannot handle template syntax ("
<< arg << ")" << endl;
break;
@@ -420,7 +420,7 @@ bool JavaImport::parseStmt() {
// (of a member of class or interface, or return type
// of an operation.) Up next is the name of the attribute
// or operation.
- if (! keyword.tqcontains( TQRegExp("^\\w") )) {
+ if (! keyword.contains( TQRegExp("^\\w") )) {
kError() << "importJava: ignoring " << keyword << endl;
return false;
}
@@ -441,7 +441,7 @@ bool JavaImport::parseStmt() {
} else {
nextToken = advance();
}
- if (name.tqcontains( TQRegExp("\\W") )) {
+ if (name.contains( TQRegExp("\\W") )) {
kError() << "importJava: expecting name in " << name << endl;
return false;
}