diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:15:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:15:16 -0600 |
commit | d6609da6b8c963fc19b622ab37f38e65df4e0a29 (patch) | |
tree | 66b2ac7b12897c16ac5226da82c451c04994f9cd /src/svnqt/status.cpp | |
parent | 548395e018d377eaa8fede0fba271da8b6c49fc9 (diff) | |
download | tdesvn-d6609da6b8c963fc19b622ab37f38e65df4e0a29.tar.gz tdesvn-d6609da6b8c963fc19b622ab37f38e65df4e0a29.zip |
Rename old tq methods that no longer need a unique name
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 a7913f6..c5e47a3 100644 --- a/src/svnqt/status.cpp +++ b/src/svnqt/status.cpp @@ -175,7 +175,7 @@ namespace svn m_hasReal=true; } - tqStatus::tqStatus (const tqStatus & src) + Status::Status (const Status & src) : m_Data(new Status_private()) { if( &src != this ) @@ -188,37 +188,37 @@ namespace svn } } - tqStatus::tqStatus (const TQString&path, svn_wc_status2_t * status) + Status::Status (const TQString&path, svn_wc_status2_t * status) : m_Data(new Status_private()) { m_Data->init(path, status); } - tqStatus::tqStatus (const char*path, svn_wc_status2_t * status) + Status::Status (const char*path, svn_wc_status2_t * status) : m_Data(new Status_private()) { m_Data->init(TQString::FROMUTF8(path),status); } - tqStatus::tqStatus(const TQString&url,const DirEntryPtr&src) + Status::Status(const TQString&url,const DirEntryPtr&src) : m_Data(new Status_private()) { m_Data->init(url,src); } - tqStatus::tqStatus(const TQString&url,const InfoEntry&src) + Status::Status(const TQString&url,const InfoEntry&src) : m_Data(new Status_private()) { m_Data->init(url,src); } - tqStatus::~tqStatus () + Status::~Status () { delete m_Data; } - tqStatus & - tqStatus::operator=(const tqStatus & status) + Status & + Status::operator=(const Status & status) { if (this == &status) return *this; @@ -231,89 +231,89 @@ namespace svn } const LockEntry& - tqStatus::lockEntry () const + Status::lockEntry () const { return m_Data->m_Lock; } svn_wc_status_kind - tqStatus::reposProptqStatus () const + Status::reposPropStatus () const { return m_Data->_repos_prop_status; } svn_wc_status_kind - tqStatus::reposTexttqStatus () const + Status::reposTextStatus () const { return m_Data->_repos_text_status; } bool - tqStatus::isSwitched () const + Status::isSwitched () const { return m_Data->_switched != 0; } bool - tqStatus::isCopied () const + Status::isCopied () const { return m_Data->_copied; } bool - tqStatus::isLocked () const + Status::isLocked () const { return m_Data->m_Lock.Locked(); } bool - tqStatus::isModified()const + Status::isModified()const { - return texttqStatus()==svn_wc_status_modified||proptqStatus()==svn_wc_status_modified - ||texttqStatus ()==svn_wc_status_replaced; + return textStatus()==svn_wc_status_modified||propStatus()==svn_wc_status_modified + ||textStatus ()==svn_wc_status_replaced; } bool - tqStatus::isRealVersioned()const + Status::isRealVersioned()const { return m_Data->m_hasReal; } bool - tqStatus::isVersioned () const + Status::isVersioned () const { return m_Data->m_isVersioned; } svn_wc_status_kind - tqStatus::proptqStatus () const + Status::propStatus () const { return m_Data->_prop_status; } svn_wc_status_kind - tqStatus::texttqStatus () const + Status::textStatus () const { return m_Data->_text_status; } const Entry& - tqStatus::entry () const + Status::entry () const { return m_Data->m_entry; } const TQString& - tqStatus::path () const + Status::path () const { return m_Data->m_Path; } bool - tqStatus::validRepostqStatus()const + Status::validReposStatus()const { - return reposTexttqStatus()!=svn_wc_status_none||reposProptqStatus()!=svn_wc_status_none; + return reposTextStatus()!=svn_wc_status_none||reposPropStatus()!=svn_wc_status_none; } bool - tqStatus::validLocaltqStatus()const + Status::validLocalStatus()const { - return texttqStatus()!=svn_wc_status_none||proptqStatus()!=svn_wc_status_none; + return textStatus()!=svn_wc_status_none||propStatus()!=svn_wc_status_none; } } |