diff options
Diffstat (limited to 'quanta/components/debugger/pathmapper.cpp')
-rw-r--r-- | quanta/components/debugger/pathmapper.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/quanta/components/debugger/pathmapper.cpp b/quanta/components/debugger/pathmapper.cpp index c38e2fec..e1d74875 100644 --- a/quanta/components/debugger/pathmapper.cpp +++ b/quanta/components/debugger/pathmapper.cpp @@ -27,8 +27,8 @@ #include <qextfileinfo.h> #include <tqdom.h> -PathMapper::PathMapper(TQObject *parent, const char *name) - : TQObject(parent, name) +PathMapper::PathMapper(TQObject *tqparent, const char *name) + : TQObject(tqparent, name) { } @@ -43,7 +43,7 @@ TQString PathMapper::translate(const TQString & path, const TQString & from, con TQString translated = path; // Check if this dir is matched by the maps - if(path.startsWith(from, false)) + if(path.tqstartsWith(from, false)) { translated.remove(0, from.length()); translated = to + translated; @@ -110,21 +110,21 @@ TQString PathMapper::mapServerPathToLocal(const TQString &serverpath) newpath = translate(serverpath, m_serverBasedir, m_localBasedir); // Check if this dir is matched by the basedirs - if(QExtFileInfo::exists(newpath, true, 0L)) + if(TQExtFileInfo::exists(newpath, true, 0L)) return newpath; // Check if any previous mappings fit... for (unsigned int cnt = 0; cnt < m_serverlist.count(); cnt++ ) { newpath = translate(serverpath, m_serverlist[cnt], m_locallist[cnt]); - if(QExtFileInfo::exists(newpath, true, 0L)) + if(TQExtFileInfo::exists(newpath, true, 0L)) return newpath; } // If the basedirs didnt match, check if the file exists, // otherwise scan through the mapping history or show the // mapping dialog - if(!QExtFileInfo::exists(serverpath, true, 0L)) + if(!TQExtFileInfo::exists(serverpath, true, 0L)) { PathMapperDialog pmdlg(serverpath, PathMapperDialog::ServerToLocal); for (unsigned int cnt = 0; cnt < m_serverlist.count(); cnt++ ) |