summaryrefslogtreecommitdiffstats
path: root/src/svnfrontend/blamedisplay_impl.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:41:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:41:07 -0600
commitdc141e9d18c39ec57f42d6c5df1a67a365c407f8 (patch)
tree8873df3c617e477881aa453385c81362b8531d7f /src/svnfrontend/blamedisplay_impl.cpp
parentd6609da6b8c963fc19b622ab37f38e65df4e0a29 (diff)
downloadtdesvn-dc141e9d18c39ec57f42d6c5df1a67a365c407f8.tar.gz
tdesvn-dc141e9d18c39ec57f42d6c5df1a67a365c407f8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/svnfrontend/blamedisplay_impl.cpp')
-rw-r--r--src/svnfrontend/blamedisplay_impl.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/svnfrontend/blamedisplay_impl.cpp b/src/svnfrontend/blamedisplay_impl.cpp
index 63913b5..dc2f028 100644
--- a/src/svnfrontend/blamedisplay_impl.cpp
+++ b/src/svnfrontend/blamedisplay_impl.cpp
@@ -100,7 +100,7 @@ public:
BlameDisplayItem(KListView*,BlameDisplayItem*,const svn::AnnotateLine&,bool,BlameDisplay_impl*);
virtual ~BlameDisplayItem(){}
virtual int compare(TQListViewItem *i, int col, bool ascending)const;
- virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment);
+ virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment);
virtual int rtti()const{return 1000;}
virtual int width( const TQFontMetrics & fm, const TQListView * lv, int c ) const;
@@ -116,7 +116,7 @@ public:
}
TQString _line = m_Content.tLine();
_line.replace("\t"," ");
- setText(COL_LINE,TQString("%1").tqarg(_line));
+ setText(COL_LINE,TQString("%1").arg(_line));
}
protected:
@@ -153,17 +153,17 @@ int BlameDisplayItem::width (const TQFontMetrics & fm, const TQListView * lv, in
void BlameDisplayItem::display()
{
if (m_disp){
- setText(COL_REV,TQString("%1").tqarg(m_Content.revision()));
+ setText(COL_REV,TQString("%1").arg(m_Content.revision()));
setText(COL_AUT,m_Content.tAuthor());
if (m_Content.date().isValid()) {
setText(COL_DATE,KGlobal::locale()->formatDateTime(m_Content.date()));
}
}
- setText(COL_LINENR,TQString("%1").tqarg(m_Content.lineNumber()+1));
+ setText(COL_LINENR,TQString("%1").arg(m_Content.lineNumber()+1));
TQString _line = m_Content.tLine();
_line.replace("\t"," ");
- setText(COL_LINE,TQString("%1").tqarg(_line));
+ setText(COL_LINE,TQString("%1").arg(_line));
}
int BlameDisplayItem::compare(TQListViewItem *item, int col, bool ascending)const
@@ -182,10 +182,10 @@ int BlameDisplayItem::compare(TQListViewItem *item, int col, bool ascending)cons
return k->m_Content.lineNumber()-m_Content.lineNumber();
}
-void BlameDisplayItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment)
+void BlameDisplayItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment)
{
- if (tqalignment & (AlignTop || AlignBottom) == 0)
- tqalignment |= AlignVCenter;
+ if (alignment & (AlignTop || AlignBottom) == 0)
+ alignment |= AlignVCenter;
/* don't copy string */
const TQString & str = text(column);;
@@ -213,7 +213,7 @@ void BlameDisplayItem::paintCell(TQPainter *p, const TQColorGroup &cg, int colum
if (str.isEmpty())
return;
- p->drawText(BORDER, 0, width - 2*BORDER, height(), tqalignment, str);
+ p->drawText(BORDER, 0, width - 2*BORDER, height(), alignment, str);
}
class BlameDisplayData
@@ -411,7 +411,7 @@ void BlameDisplay_impl::showCommit(BlameDisplayItem*bit)
}
KDialogBase* dlg = new KDialogBase(
TQT_TQWIDGET(KApplication::activeModalWidget()),
- "simplelog",true,TQString(i18n("Logmessage for revision %1").tqarg(bit->rev())),
+ "simplelog",true,TQString(i18n("Logmessage for revision %1").arg(bit->rev())),
KDialogBase::Close);
TQWidget* Dialog1Layout = dlg->makeVBoxMainWidget();
KTextBrowser*ptr = new KTextBrowser(Dialog1Layout);
@@ -447,7 +447,7 @@ void BlameDisplay_impl::displayBlame(SimpleLogCb*_cb,const TQString&item,const s
int buttons = KDialogBase::Close|KDialogBase::User1|KDialogBase::User2;
KDialogBase * dlg = new KDialogBase(
TQT_TQWIDGET(KApplication::activeModalWidget()),
- name,true,TQString(i18n("Blame %1")).tqarg(item),buttons,KDialogBase::Close,false,
+ name,true,TQString(i18n("Blame %1")).arg(item),buttons,KDialogBase::Close,false,
KGuiItem(i18n("Goto line")),KGuiItem(i18n("Log message for revision"),"tdesvnlog"));
TQWidget* Dialog1Layout = dlg->makeVBoxMainWidget();