From 548395e018d377eaa8fede0fba271da8b6c49fc9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:57:49 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit bb7be2361770a435b3e2e8ae2ac4250bf9810bb4. --- src/svnfrontend/filelistviewitem.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/svnfrontend/filelistviewitem.cpp') 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*exclude,bool depsonly) +void FileListViewItem::refreshtqStatus(bool childs,TQPtrList*exclude,bool depsonly) { FileListViewItem*it; @@ -133,18 +133,18 @@ void FileListViewItem::refreshStatus(bool childs,TQPtrList*exclude,bool it = static_cast(parent()); if (!childs) { if (it && (!exclude || exclude->find(it)==-1)) { - it->refreshStatus(false,exclude); + it->refreshtqStatus(false,exclude); } } else if (firstChild()){ it = static_cast(firstChild()); while (it) { if (!exclude || exclude->find(it)==-1) { - it->refreshStatus(true,exclude); + it->refreshtqStatus(true,exclude); } it = static_cast(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 -- cgit v1.2.1