diff options
Diffstat (limited to 'src/svnfrontend/filelistviewitem.cpp')
-rw-r--r-- | src/svnfrontend/filelistviewitem.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/svnfrontend/filelistviewitem.cpp b/src/svnfrontend/filelistviewitem.cpp index 96b43f1..c75007f 100644 --- a/src/svnfrontend/filelistviewitem.cpp +++ b/src/svnfrontend/filelistviewitem.cpp @@ -144,7 +144,7 @@ void FileListViewItem::refreshStatus(bool childs,TQPtrList<SvnItem>*exclude,bool it = static_cast<FileListViewItem*>(it->nextSibling()); } } - tqrepaint(); + repaint(); } 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").tqarg(cmtRev())); + setText(COL_LAST_REV,TQString("%1").arg(cmtRev())); setText(COL_IS_LOCKED,lockOwner()); } @@ -247,11 +247,11 @@ SvnItem* FileListViewItem::getParentItem()const return temp->fullName(); } -void FileListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment) +void FileListViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment) { bool colors = Kdesvnsettings::colored_state(); if (!colors||m_bgColor==NONE) { - KListViewItem::paintCell(p,cg,column,width,tqalignment); + KListViewItem::paintCell(p,cg,column,width,alignment); 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,tqalignment); + KListViewItem::paintCell(p,cg,column,width,alignment); 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, tqalignment); + TQListViewItem::paintCell(p, _cg, column, width, alignment); } const svn::Revision&FileListViewItem::correctPeg()const |