summaryrefslogtreecommitdiffstats
path: root/kompare/libdiff2/kompare.h
diff options
context:
space:
mode:
Diffstat (limited to 'kompare/libdiff2/kompare.h')
-rw-r--r--kompare/libdiff2/kompare.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/kompare/libdiff2/kompare.h b/kompare/libdiff2/kompare.h
index 1ed5c4c7..8f6b7fe5 100644
--- a/kompare/libdiff2/kompare.h
+++ b/kompare/libdiff2/kompare.h
@@ -84,8 +84,8 @@ namespace Kompare
enum Generator _generator = UnknownGenerator,
KURL _source = KURL(),
KURL _destination = KURL(),
- QString _localSource = "",
- QString _localDestination = ""
+ TQString _localSource = "",
+ TQString _localDestination = ""
)
{
mode = _mode;
@@ -103,8 +103,8 @@ namespace Kompare
enum Generator generator;
KURL source;
KURL destination;
- QString localSource;
- QString localDestination;
+ TQString localSource;
+ TQString localDestination;
};
} // End of namespace Kompare
@@ -114,7 +114,7 @@ namespace Kompare
class KompareFunctions
{
public:
- static QString constructRelativePath( const QString& from, const QString& to )
+ static TQString constructRelativePath( const TQString& from, const TQString& to )
{
KURL fromURL( from );
KURL toURL( to );
@@ -130,12 +130,12 @@ public:
if( !root.isValid() ) return to;
- QString relative;
+ TQString relative;
for( ; upLevels > 0; upLevels-- ) {
relative += "../";
}
- relative += QString( to ).replace( 0, root.path(1).length(), "" );
+ relative += TQString( to ).replace( 0, root.path(1).length(), "" );
return relative;
}