summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/umlnamespace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/umlnamespace.cpp')
-rw-r--r--umbrello/umbrello/umlnamespace.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/umbrello/umbrello/umlnamespace.cpp b/umbrello/umbrello/umlnamespace.cpp
index f2d81eeb..45c40de6 100644
--- a/umbrello/umbrello/umlnamespace.cpp
+++ b/umbrello/umbrello/umlnamespace.cpp
@@ -10,20 +10,20 @@
***************************************************************************/
#include "umlnamespace.h"
-#include "qregexp.h"
+#include "tqregexp.h"
namespace Uml {
-bool tagEq (const QString& inTag, const QString& inPattern) {
- QString tag = inTag;
- QString pattern = inPattern;
- tag.remove( QRegExp("^\\w+:") ); // remove leading "UML:" or other
+bool tagEq (const TQString& inTag, const TQString& inPattern) {
+ TQString tag = inTag;
+ TQString pattern = inPattern;
+ tag.remove( TQRegExp("^\\w+:") ); // remove leading "UML:" or other
int patSections = pattern.contains( '.' ) + 1;
- QString tagEnd = tag.section( '.', -patSections );
+ TQString tagEnd = tag.section( '.', -patSections );
return (tagEnd.lower() == pattern.lower());
}
-QString Visibility::toString(Value value, bool mnemonic) {
+TQString Visibility::toString(Value value, bool mnemonic) {
switch (value) {
case Protected:
return (mnemonic ? "#" : "protected");
@@ -41,7 +41,7 @@ QString Visibility::toString(Value value, bool mnemonic) {
}
}
-Visibility Visibility::fromString(const QString& vis) {
+Visibility Visibility::fromString(const TQString& vis) {
if (vis == "public" || vis == "+")
return Visibility(Public);
else if (vis == "protected" || vis == "#")
@@ -64,7 +64,7 @@ Visibility::Visibility(): _v(Public) {
Visibility::Visibility(Value v): _v(v) {
}
-QString Visibility::toString(bool mnemonic) const {
+TQString Visibility::toString(bool mnemonic) const {
return toString(_v, mnemonic);
}