summaryrefslogtreecommitdiffstats
path: root/src/svnfrontend/svnitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:34:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:34:08 -0600
commitbb7be2361770a435b3e2e8ae2ac4250bf9810bb4 (patch)
tree3dc3697661e497b5486191491da2ed4cc751b7fc /src/svnfrontend/svnitem.cpp
parent40e169496670c40004f7386a23f7c03d9aeac3e0 (diff)
downloadtdesvn-bb7be2361770a435b3e2e8ae2ac4250bf9810bb4.tar.gz
tdesvn-bb7be2361770a435b3e2e8ae2ac4250bf9810bb4.zip
Rename a number of old tq methods that are no longer tq specific
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 55015a3..dee0435 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::tqStatus())
+ :ref_count(),m_Stat(new svn::Status())
{
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->texttqStatus()==svn_wc_status_conflicted) {
+ if (p_Item->m_Stat->textStatus()==svn_wc_status_conflicted) {
m_bgColor = CONFLICT;
if (overlay)
p2 = tdesvnPartFactory::instance()->iconLoader()->loadIcon("tdesvnconflicted",KIcon::Desktop,size);
- } else if (p_Item->m_Stat->texttqStatus ()==svn_wc_status_missing) {
+ } else if (p_Item->m_Stat->textStatus ()==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->texttqStatus()==svn_wc_status_deleted) {
+ } else if (p_Item->m_Stat->textStatus()==svn_wc_status_deleted) {
if (overlay) p2 = tdesvnPartFactory::instance()->iconLoader()->loadIcon("tdesvndeleted",KIcon::Desktop,size);
m_bgColor = DELETED;
- } else if (p_Item->m_Stat->texttqStatus()==svn_wc_status_added ) {
+ } else if (p_Item->m_Stat->textStatus()==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->texttqStatus()==svn_wc_status_ignored;
+ return p_Item->m_Stat->textStatus()==svn_wc_status_ignored;
}
bool SvnItem::isRemoteAdded()const
{
return getWrapper()->isUpdated(p_Item->m_Stat->path()) &&
- p_Item->m_Stat->validRepostqStatus()&&!p_Item->m_Stat->validLocaltqStatus();
+ p_Item->m_Stat->validReposStatus()&&!p_Item->m_Stat->validLocalStatus();
}
TQString SvnItem::infoText()const
{
TQString info_text = "";
if (getWrapper()->isUpdated(p_Item->m_Stat->path())) {
- if (p_Item->m_Stat->validRepostqStatus()&&!p_Item->m_Stat->validLocaltqStatus()) {
+ if (p_Item->m_Stat->validReposStatus()&&!p_Item->m_Stat->validLocalStatus()) {
info_text = i18n("Added in repository");
} else {
info_text = i18n("Needs update");
}
} else {
- switch(p_Item->m_Stat->texttqStatus ()) {
+ switch(p_Item->m_Stat->textStatus ()) {
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->proptqStatus ()) {
+ switch (p_Item->m_Stat->propStatus ()) {
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::tqStatus> tmp;
+ svn::SharedPointer<svn::Status> 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->texttqStatus ()==svn_wc_status_modified||p_Item->m_Stat->proptqStatus()==svn_wc_status_modified
- ||p_Item->m_Stat->texttqStatus ()==svn_wc_status_replaced;
+ 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;
}
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->texttqStatus()==svn_wc_status_normal;
+ return p_Item->m_Stat->textStatus()==svn_wc_status_normal;
}
bool SvnItem::isMissing()const
{
- return p_Item->m_Stat->texttqStatus()==svn_wc_status_missing;
+ return p_Item->m_Stat->textStatus()==svn_wc_status_missing;
}
bool SvnItem::isDeleted()const
{
- return p_Item->m_Stat->texttqStatus()==svn_wc_status_deleted;
+ return p_Item->m_Stat->textStatus()==svn_wc_status_deleted;
}
bool SvnItem::isConflicted()const
{
- return p_Item->m_Stat->texttqStatus()==svn_wc_status_conflicted;
+ return p_Item->m_Stat->textStatus()==svn_wc_status_conflicted;
}
/*!