summaryrefslogtreecommitdiffstats
path: root/src/svnfrontend/filelistviewitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:49 -0600
commit548395e018d377eaa8fede0fba271da8b6c49fc9 (patch)
tree6b6acd1baf1a63c2dfb1735461d8a1e2e20f8385 /src/svnfrontend/filelistviewitem.cpp
parentbb7be2361770a435b3e2e8ae2ac4250bf9810bb4 (diff)
downloadtdesvn-548395e018d377eaa8fede0fba271da8b6c49fc9.tar.gz
tdesvn-548395e018d377eaa8fede0fba271da8b6c49fc9.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit bb7be2361770a435b3e2e8ae2ac4250bf9810bb4.
Diffstat (limited to 'src/svnfrontend/filelistviewitem.cpp')
-rw-r--r--src/svnfrontend/filelistviewitem.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/svnfrontend/filelistviewitem.cpp b/src/svnfrontend/filelistviewitem.cpp
index 812ee69..a285590 100644
--- a/src/svnfrontend/filelistviewitem.cpp
+++ b/src/svnfrontend/filelistviewitem.cpp
@@ -118,7 +118,7 @@ void FileListViewItem::setStat(const svn::StatusPtr&stat)
init();
}
-void FileListViewItem::refreshStatus(bool childs,TQPtrList<SvnItem>*exclude,bool depsonly)
+void FileListViewItem::refreshtqStatus(bool childs,TQPtrList<SvnItem>*exclude,bool depsonly)
{
FileListViewItem*it;
@@ -133,18 +133,18 @@ void FileListViewItem::refreshStatus(bool childs,TQPtrList<SvnItem>*exclude,bool
it = static_cast<FileListViewItem*>(parent());
if (!childs) {
if (it && (!exclude || exclude->find(it)==-1)) {
- it->refreshStatus(false,exclude);
+ it->refreshtqStatus(false,exclude);
}
} else if (firstChild()){
it = static_cast<FileListViewItem*>(firstChild());
while (it) {
if (!exclude || exclude->find(it)==-1) {
- it->refreshStatus(true,exclude);
+ it->refreshtqStatus(true,exclude);
}
it = static_cast<FileListViewItem*>(it->nextSibling());
}
}
- repaint();
+ tqrepaint();
}
void FileListViewItem::makePixmap()
@@ -192,7 +192,7 @@ void FileListViewItem::update()
setText(COL_STATUS,infoText());
setText(COL_LAST_AUTHOR,cmtAuthor());
setText(COL_LAST_DATE,KGlobal::locale()->formatDateTime(fullDate()));
- setText(COL_LAST_REV,TQString("%1").arg(cmtRev()));
+ setText(COL_LAST_REV,TQString("%1").tqarg(cmtRev()));
setText(COL_IS_LOCKED,lockOwner());
}
@@ -228,7 +228,7 @@ void FileListViewItem::removeChilds()
}
}
-void FileListViewItem::updateStatus(const svn::StatusPtr&s)
+void FileListViewItem::updatetqStatus(const svn::StatusPtr&s)
{
setStat(s);
}
@@ -247,11 +247,11 @@ SvnItem* FileListViewItem::getParentItem()const
return temp->fullName();
}
-void FileListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment)
+void FileListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment)
{
bool colors = Kdesvnsettings::colored_state();
if (!colors||m_bgColor==NONE) {
- KListViewItem::paintCell(p,cg,column,width,alignment);
+ KListViewItem::paintCell(p,cg,column,width,tqalignment);
return;
}
TQColorGroup _cg = cg;
@@ -285,7 +285,7 @@ void FileListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int colum
_bgColor = Kdesvnsettings::color_need_lock();
break;
default:
- KListViewItem::paintCell(p,cg,column,width,alignment);
+ KListViewItem::paintCell(p,cg,column,width,tqalignment);
return;
break;
}
@@ -301,7 +301,7 @@ void FileListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int colum
_cg.setColor(TQColorGroup::Base,_bgColor);
}
}
- TQListViewItem::paintCell(p, _cg, column, width, alignment);
+ TQListViewItem::paintCell(p, _cg, column, width, tqalignment);
}
const svn::Revision&FileListViewItem::correctPeg()const