summaryrefslogtreecommitdiffstats
path: root/languages/cpp/declarationinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/declarationinfo.h')
-rw-r--r--languages/cpp/declarationinfo.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/languages/cpp/declarationinfo.h b/languages/cpp/declarationinfo.h
index f1d28f26..8b55557e 100644
--- a/languages/cpp/declarationinfo.h
+++ b/languages/cpp/declarationinfo.h
@@ -22,16 +22,16 @@
#ifndef DECLARATIONINFO_H
#define DECLARATIONINFO_H
-#include <qstring.h>
+#include <tqstring.h>
struct DeclarationInfo {
class File {
- QString m_file;
+ TQString m_file;
public:
- File( const QString& file = "" ) : m_file( file ) {
+ File( const TQString& file = "" ) : m_file( file ) {
}
- operator QString() const {
+ operator TQString() const {
return m_file;
}
};
@@ -43,15 +43,15 @@ struct DeclarationInfo {
return !name.isEmpty();
}
- QString locationToText() const {
- return QString("line %1 col %2 - line %3 col %4\nfile: %5").arg(startLine).arg(startCol).arg(endLine).arg(endCol).arg(file);
+ TQString locationToText() const {
+ return TQString("line %1 col %2 - line %3 col %4\nfile: %5").arg(startLine).arg(startCol).arg(endLine).arg(endCol).arg(file);
}
- QString toText() const {
+ TQString toText() const {
if( name.isEmpty() ) return "";
- QString ret;
- ret = QString("name: " + name + "\n" ) + locationToText();
+ TQString ret;
+ ret = TQString("name: " + name + "\n" ) + locationToText();
if( !comment.isEmpty() ) {
ret += "\n\"" + comment + "\"";
}
@@ -62,8 +62,8 @@ struct DeclarationInfo {
int endLine, endCol;
File file;
- QString name;
- QString comment;
+ TQString name;
+ TQString comment;
};