summaryrefslogtreecommitdiffstats
path: root/src/svnfrontend/svnitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svnfrontend/svnitem.cpp')
-rw-r--r--src/svnfrontend/svnitem.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/svnfrontend/svnitem.cpp b/src/svnfrontend/svnitem.cpp
index dee0435..55015a3 100644
--- a/src/svnfrontend/svnitem.cpp
+++ b/src/svnfrontend/svnitem.cpp
@@ -68,7 +68,7 @@ protected:
};
SvnItem_p::SvnItem_p()
- :ref_count(),m_Stat(new svn::Status())
+ :ref_count(),m_Stat(new svn::tqStatus())
{
init();
}
@@ -238,11 +238,11 @@ TQPixmap SvnItem::getPixmap(const TQPixmap&_p,int size,bool overlay)
SvnActions*wrap = getWrapper();
bool mod = false;
TQPixmap p2 = TQPixmap();
- if (p_Item->m_Stat->textStatus()==svn_wc_status_conflicted) {
+ if (p_Item->m_Stat->texttqStatus()==svn_wc_status_conflicted) {
m_bgColor = CONFLICT;
if (overlay)
p2 = tdesvnPartFactory::instance()->iconLoader()->loadIcon("tdesvnconflicted",KIcon::Desktop,size);
- } else if (p_Item->m_Stat->textStatus ()==svn_wc_status_missing) {
+ } else if (p_Item->m_Stat->texttqStatus ()==svn_wc_status_missing) {
m_bgColor = MISSING;
} else if (isLocked()||wrap->checkReposLockCache(fullName())) {
if (overlay) p2 = tdesvnPartFactory::instance()->iconLoader()->loadIcon("tdesvnlocked",KIcon::Desktop,size);
@@ -253,10 +253,10 @@ TQPixmap SvnItem::getPixmap(const TQPixmap&_p,int size,bool overlay)
} else if (wrap->isUpdated(p_Item->m_Stat->path())) {
if (overlay) p2 = tdesvnPartFactory::instance()->iconLoader()->loadIcon("tdesvnupdates",KIcon::Desktop,size);
m_bgColor = UPDATES;
- } else if (p_Item->m_Stat->textStatus()==svn_wc_status_deleted) {
+ } else if (p_Item->m_Stat->texttqStatus()==svn_wc_status_deleted) {
if (overlay) p2 = tdesvnPartFactory::instance()->iconLoader()->loadIcon("tdesvndeleted",KIcon::Desktop,size);
m_bgColor = DELETED;
- } else if (p_Item->m_Stat->textStatus()==svn_wc_status_added ) {
+ } else if (p_Item->m_Stat->texttqStatus()==svn_wc_status_added ) {
if (overlay) p2 = tdesvnPartFactory::instance()->iconLoader()->loadIcon("tdesvnadded",KIcon::Desktop,size);
m_bgColor = ADDED;
} else if (isModified()) {
@@ -358,26 +358,26 @@ bool SvnItem::isRealVersioned()const
bool SvnItem::isIgnored()const
{
- return p_Item->m_Stat->textStatus()==svn_wc_status_ignored;
+ return p_Item->m_Stat->texttqStatus()==svn_wc_status_ignored;
}
bool SvnItem::isRemoteAdded()const
{
return getWrapper()->isUpdated(p_Item->m_Stat->path()) &&
- p_Item->m_Stat->validReposStatus()&&!p_Item->m_Stat->validLocalStatus();
+ p_Item->m_Stat->validRepostqStatus()&&!p_Item->m_Stat->validLocaltqStatus();
}
TQString SvnItem::infoText()const
{
TQString info_text = "";
if (getWrapper()->isUpdated(p_Item->m_Stat->path())) {
- if (p_Item->m_Stat->validReposStatus()&&!p_Item->m_Stat->validLocalStatus()) {
+ if (p_Item->m_Stat->validRepostqStatus()&&!p_Item->m_Stat->validLocaltqStatus()) {
info_text = i18n("Added in repository");
} else {
info_text = i18n("Needs update");
}
} else {
- switch(p_Item->m_Stat->textStatus ()) {
+ switch(p_Item->m_Stat->texttqStatus ()) {
case svn_wc_status_modified:
info_text = i18n("Locally modified");
break;
@@ -412,7 +412,7 @@ TQString SvnItem::infoText()const
break;
}
if (info_text.isEmpty()) {
- switch (p_Item->m_Stat->propStatus ()) {
+ switch (p_Item->m_Stat->proptqStatus ()) {
case svn_wc_status_modified:
info_text = i18n("Property modified");
break;
@@ -444,7 +444,7 @@ TQString SvnItem::lockOwner()const
if (p_Item->m_Stat->entry().lockEntry().Locked()) {
return p_Item->m_Stat->entry().lockEntry().Owner();
}
- svn::SharedPointer<svn::Status> tmp;
+ svn::SharedPointer<svn::tqStatus> tmp;
if (getWrapper()->checkReposLockCache(fullName(),tmp) && tmp) {
return tmp->lockEntry().Owner();
}
@@ -457,8 +457,8 @@ TQString SvnItem::lockOwner()const
*/
bool SvnItem::isModified()const
{
- return p_Item->m_Stat->textStatus ()==svn_wc_status_modified||p_Item->m_Stat->propStatus()==svn_wc_status_modified
- ||p_Item->m_Stat->textStatus ()==svn_wc_status_replaced;
+ return p_Item->m_Stat->texttqStatus ()==svn_wc_status_modified||p_Item->m_Stat->proptqStatus()==svn_wc_status_modified
+ ||p_Item->m_Stat->texttqStatus ()==svn_wc_status_replaced;
}
const svn::StatusPtr& SvnItem::stat()const
@@ -472,22 +472,22 @@ const svn::StatusPtr& SvnItem::stat()const
*/
bool SvnItem::isNormal()const
{
- return p_Item->m_Stat->textStatus()==svn_wc_status_normal;
+ return p_Item->m_Stat->texttqStatus()==svn_wc_status_normal;
}
bool SvnItem::isMissing()const
{
- return p_Item->m_Stat->textStatus()==svn_wc_status_missing;
+ return p_Item->m_Stat->texttqStatus()==svn_wc_status_missing;
}
bool SvnItem::isDeleted()const
{
- return p_Item->m_Stat->textStatus()==svn_wc_status_deleted;
+ return p_Item->m_Stat->texttqStatus()==svn_wc_status_deleted;
}
bool SvnItem::isConflicted()const
{
- return p_Item->m_Stat->textStatus()==svn_wc_status_conflicted;
+ return p_Item->m_Stat->texttqStatus()==svn_wc_status_conflicted;
}
/*!