diff options
Diffstat (limited to 'src/svnqt/entry.cpp')
-rw-r--r-- | src/svnqt/entry.cpp | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/src/svnqt/entry.cpp b/src/svnqt/entry.cpp index 27c14cf..e6c3b7f 100644 --- a/src/svnqt/entry.cpp +++ b/src/svnqt/entry.cpp @@ -33,7 +33,7 @@ namespace svn { - class SVNQT_NOEXPORT Entry_private + class SVNTQT_NOEXPORT Entry_private { protected: void init_clean(); @@ -45,7 +45,7 @@ namespace svn bool m_valid; LockEntry m_Lock; - QString _name,_url,_repos,_uuid,_copyfrom_url,_conflict_old,_conflict_new,_conflict_wrk,_prejfile,_checksum,_cmt_author; + TQString _name,_url,_repos,_uuid,_copyfrom_url,_conflict_old,_conflict_new,_conflict_wrk,_prejfile,_checksum,_cmt_author; bool _copied,_deleted,_absent,_incomplete; svn_revnum_t _revision,_copyfrom_rev,_cmt_rev; svn_node_kind_t _kind; @@ -60,15 +60,15 @@ namespace svn void init(const Entry_private&src); void - init(const QString&url,const DirEntryPtr&src); + init(const TQString&url,const DirEntryPtr&src); void - init(const QString&url,const InfoEntry&src); + init(const TQString&url,const InfoEntry&src); }; void Entry_private::init_clean() { _name = _url = _repos = _uuid = _copyfrom_url = _conflict_old = _conflict_new = _conflict_wrk - = _prejfile = _checksum = _cmt_author = QString::null; + = _prejfile = _checksum = _cmt_author = TQString(); _revision = _copyfrom_rev = _cmt_rev = -1; _kind = svn_node_unknown; _schedule = svn_wc_schedule_normal; @@ -98,36 +98,36 @@ namespace svn { if (src) { // copy & convert the contents of src - _name = QString::FROMUTF8(src->name); + _name = TQString::FROMUTF8(src->name); _revision = src->revision; - _url = QString::FROMUTF8(src->url); - _repos = QString::FROMUTF8(src->repos); - _uuid = QString::FROMUTF8(src->uuid); + _url = TQString::FROMUTF8(src->url); + _repos = TQString::FROMUTF8(src->repos); + _uuid = TQString::FROMUTF8(src->uuid); _kind = src->kind; _schedule = src->schedule; _copied = src->copied!=0; _deleted = src->deleted!=0; _absent = src->absent!=0; _incomplete = src->incomplete!=0; - _copyfrom_url=QString::FROMUTF8(src->copyfrom_url); + _copyfrom_url=TQString::FROMUTF8(src->copyfrom_url); _copyfrom_rev = src->copyfrom_rev; - _conflict_old = QString::FROMUTF8(src->conflict_old); - _conflict_new = QString::FROMUTF8(src->conflict_new); - _conflict_wrk = QString::FROMUTF8(src->conflict_wrk); - _prejfile = QString::FROMUTF8(src->prejfile); + _conflict_old = TQString::FROMUTF8(src->conflict_old); + _conflict_new = TQString::FROMUTF8(src->conflict_new); + _conflict_wrk = TQString::FROMUTF8(src->conflict_wrk); + _prejfile = TQString::FROMUTF8(src->prejfile); _text_time = src->text_time; _prop_time = src->prop_time; - _checksum = QString::FROMUTF8(src->checksum); + _checksum = TQString::FROMUTF8(src->checksum); _cmt_rev = src->cmt_rev; _cmt_date = src->cmt_date; - _cmt_author = QString::FROMUTF8(src->cmt_author); + _cmt_author = TQString::FROMUTF8(src->cmt_author); m_Lock.init(src); m_valid = true; } else { m_valid = false; m_Lock=LockEntry(); _name= - _url=_repos=_uuid=_copyfrom_url=_conflict_old=_conflict_new=_conflict_wrk=_prejfile=_checksum=_cmt_author= QString::null; + _url=_repos=_uuid=_copyfrom_url=_conflict_old=_conflict_new=_conflict_wrk=_prejfile=_checksum=_cmt_author= TQString(); _copied=_deleted=_absent=_incomplete = false; _kind = svn_node_unknown; _schedule=svn_wc_schedule_normal; @@ -165,7 +165,7 @@ namespace svn m_valid=src.m_valid; } - void Entry_private::init(const QString&url,const DirEntryPtr&dirEntry) + void Entry_private::init(const TQString&url,const DirEntryPtr&dirEntry) { init(0); _url = url; @@ -184,7 +184,7 @@ namespace svn } } - void Entry_private::init(const QString&url,const InfoEntry&src) + void Entry_private::init(const TQString&url,const InfoEntry&src) { init(0); _name = src.Name(); @@ -217,13 +217,13 @@ namespace svn } } - Entry::Entry (const QString&url,const DirEntryPtr&src) + Entry::Entry (const TQString&url,const DirEntryPtr&src) : m_Data(new Entry_private()) { m_Data->init(url,src); } - Entry::Entry (const QString&url,const InfoEntry&src) + Entry::Entry (const TQString&url,const InfoEntry&src) : m_Data(new Entry_private()) { m_Data->init(url,src); @@ -253,7 +253,7 @@ namespace svn return m_Data->m_Lock; } - const QString& + const TQString& Entry::cmtAuthor () const { return m_Data->_cmt_author; @@ -270,7 +270,7 @@ namespace svn { return m_Data->_cmt_rev; } - const QString& + const TQString& Entry::checksum () const { return m_Data->_checksum; @@ -287,23 +287,23 @@ namespace svn { return m_Data->_text_time; } - const QString& + const TQString& Entry::prejfile () const { return m_Data->_prejfile; } - const QString& + const TQString& Entry::conflictWrk () const { return m_Data->_conflict_wrk; } - const QString& + const TQString& Entry::conflictNew () const { return m_Data->_conflict_new; } - const QString& + const TQString& Entry::conflictOld () const { return m_Data->_conflict_old; @@ -313,7 +313,7 @@ namespace svn { return m_Data->_copyfrom_rev; } - const QString& + const TQString& Entry::copyfromUrl () const { return m_Data->_copyfrom_url; @@ -344,17 +344,17 @@ namespace svn { return m_Data->_kind; } - const QString& + const TQString& Entry::uuid () const { return m_Data->_uuid; } - const QString& + const TQString& Entry::repos () const { return m_Data->_repos; } - const QString& + const TQString& Entry::url () const { return m_Data->_url; @@ -364,7 +364,7 @@ namespace svn { return m_Data->_revision; } - const QString& + const TQString& Entry::name () const { return m_Data->_name; |