diff options
Diffstat (limited to 'src/svnqt/status.cpp')
-rw-r--r-- | src/svnqt/status.cpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/svnqt/status.cpp b/src/svnqt/status.cpp index c5e47a3..a7913f6 100644 --- a/src/svnqt/status.cpp +++ b/src/svnqt/status.cpp @@ -175,7 +175,7 @@ namespace svn m_hasReal=true; } - Status::Status (const Status & src) + tqStatus::tqStatus (const tqStatus & src) : m_Data(new Status_private()) { if( &src != this ) @@ -188,37 +188,37 @@ namespace svn } } - Status::Status (const TQString&path, svn_wc_status2_t * status) + tqStatus::tqStatus (const TQString&path, svn_wc_status2_t * status) : m_Data(new Status_private()) { m_Data->init(path, status); } - Status::Status (const char*path, svn_wc_status2_t * status) + tqStatus::tqStatus (const char*path, svn_wc_status2_t * status) : m_Data(new Status_private()) { m_Data->init(TQString::FROMUTF8(path),status); } - Status::Status(const TQString&url,const DirEntryPtr&src) + tqStatus::tqStatus(const TQString&url,const DirEntryPtr&src) : m_Data(new Status_private()) { m_Data->init(url,src); } - Status::Status(const TQString&url,const InfoEntry&src) + tqStatus::tqStatus(const TQString&url,const InfoEntry&src) : m_Data(new Status_private()) { m_Data->init(url,src); } - Status::~Status () + tqStatus::~tqStatus () { delete m_Data; } - Status & - Status::operator=(const Status & status) + tqStatus & + tqStatus::operator=(const tqStatus & status) { if (this == &status) return *this; @@ -231,89 +231,89 @@ namespace svn } const LockEntry& - Status::lockEntry () const + tqStatus::lockEntry () const { return m_Data->m_Lock; } svn_wc_status_kind - Status::reposPropStatus () const + tqStatus::reposProptqStatus () const { return m_Data->_repos_prop_status; } svn_wc_status_kind - Status::reposTextStatus () const + tqStatus::reposTexttqStatus () const { return m_Data->_repos_text_status; } bool - Status::isSwitched () const + tqStatus::isSwitched () const { return m_Data->_switched != 0; } bool - Status::isCopied () const + tqStatus::isCopied () const { return m_Data->_copied; } bool - Status::isLocked () const + tqStatus::isLocked () const { return m_Data->m_Lock.Locked(); } bool - Status::isModified()const + tqStatus::isModified()const { - return textStatus()==svn_wc_status_modified||propStatus()==svn_wc_status_modified - ||textStatus ()==svn_wc_status_replaced; + return texttqStatus()==svn_wc_status_modified||proptqStatus()==svn_wc_status_modified + ||texttqStatus ()==svn_wc_status_replaced; } bool - Status::isRealVersioned()const + tqStatus::isRealVersioned()const { return m_Data->m_hasReal; } bool - Status::isVersioned () const + tqStatus::isVersioned () const { return m_Data->m_isVersioned; } svn_wc_status_kind - Status::propStatus () const + tqStatus::proptqStatus () const { return m_Data->_prop_status; } svn_wc_status_kind - Status::textStatus () const + tqStatus::texttqStatus () const { return m_Data->_text_status; } const Entry& - Status::entry () const + tqStatus::entry () const { return m_Data->m_entry; } const TQString& - Status::path () const + tqStatus::path () const { return m_Data->m_Path; } bool - Status::validReposStatus()const + tqStatus::validRepostqStatus()const { - return reposTextStatus()!=svn_wc_status_none||reposPropStatus()!=svn_wc_status_none; + return reposTexttqStatus()!=svn_wc_status_none||reposProptqStatus()!=svn_wc_status_none; } bool - Status::validLocalStatus()const + tqStatus::validLocaltqStatus()const { - return textStatus()!=svn_wc_status_none||propStatus()!=svn_wc_status_none; + return texttqStatus()!=svn_wc_status_none||proptqStatus()!=svn_wc_status_none; } } |