summaryrefslogtreecommitdiffstats
path: root/src/svnqt/status.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svnqt/status.cpp')
-rw-r--r--src/svnqt/status.cpp84
1 files changed, 42 insertions, 42 deletions
diff --git a/src/svnqt/status.cpp b/src/svnqt/status.cpp
index 15a4af0..f178229 100644
--- a/src/svnqt/status.cpp
+++ b/src/svnqt/status.cpp
@@ -38,7 +38,7 @@
namespace svn
{
- class SVNQT_NOEXPORT Status_private
+ class SVNTQT_NOEXPORT Status_private
{
public:
Status_private();
@@ -50,17 +50,17 @@ namespace svn
* @param status if NULL isVersioned will be false
*/
void
- init (const QString&path, const svn_wc_status2_t * status);
+ init (const TQString&path, const svn_wc_status2_t * status);
void
- init (const QString&path,const Status_private&src);
+ init (const TQString&path,const Status_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 setPath(const QString&);
+ void setPath(const TQString&);
- QString m_Path;
+ TQString m_Path;
bool m_isVersioned;
bool m_hasReal;
LockEntry m_Lock;
@@ -79,18 +79,18 @@ namespace svn
{
}
- void Status_private::setPath(const QString&aPath)
+ void Status_private::setPath(const TQString&aPath)
{
Pool pool;
if (!Url::isValid(aPath)) {
m_Path = aPath;
} else {
const char * int_path = svn_path_uri_decode(aPath.TOUTF8(), pool.pool () );
- m_Path = QString::FROMUTF8(int_path);
+ m_Path = TQString::FROMUTF8(int_path);
}
}
- void Status_private::init (const QString&path, const svn_wc_status2_t * status)
+ void Status_private::init (const TQString&path, const svn_wc_status2_t * status)
{
setPath(path);
if (!status)
@@ -131,7 +131,7 @@ namespace svn
}
void
- Status_private::init (const QString&path,const Status_private&src)
+ Status_private::init (const TQString&path,const Status_private&src)
{
setPath(path);
m_Lock=src.m_Lock;
@@ -146,7 +146,7 @@ namespace svn
_switched=src._switched;
}
- void Status_private::init(const QString&url,const DirEntryPtr&src)
+ void Status_private::init(const TQString&url,const DirEntryPtr&src)
{
m_entry=Entry(url,src);
setPath(url);
@@ -162,7 +162,7 @@ namespace svn
_repos_prop_status = svn_wc_status_normal;
}
- void Status_private::init(const QString&url,const InfoEntry&src)
+ void Status_private::init(const TQString&url,const InfoEntry&src)
{
m_entry=Entry(url,src);
setPath(url);
@@ -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 QString&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(QString::FROMUTF8(path),status);
+ m_Data->init(TQString::FROMUTF8(path),status);
}
- Status::Status(const QString&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 QString&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 QString&
- Status::path () const
+ const TQString&
+ 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;
}
}