diff options
Diffstat (limited to 'ksquirrel/sidebar/sq_treeviewitem.cpp')
-rw-r--r-- | ksquirrel/sidebar/sq_treeviewitem.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ksquirrel/sidebar/sq_treeviewitem.cpp b/ksquirrel/sidebar/sq_treeviewitem.cpp index 2f4f3f4..9ad313c 100644 --- a/ksquirrel/sidebar/sq_treeviewitem.cpp +++ b/ksquirrel/sidebar/sq_treeviewitem.cpp @@ -39,7 +39,7 @@ SQ_TreeViewItem::~SQ_TreeViewItem() void SQ_TreeViewItem::paintFocus(TQPainter *, const TQColorGroup &, const TQRect &) {} -void SQ_TreeViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment) +void SQ_TreeViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment) { KListView *klv = static_cast<KListView *>(listView()); @@ -79,7 +79,7 @@ void SQ_TreeViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column cc.setColor(TQColorGroup::Base, klv->alternateBackground()); } - TQListViewItem::paintCell(p, cc, column, width, alignment); + TQListViewItem::paintCell(p, cc, column, width, tqalignment); } } @@ -96,11 +96,11 @@ void SQ_TreeViewItem::setText(int column, const TQString &text) TQString s; if(use_c1 && use_c2) // files + dirs: show these two values anyway - s = TQString::fromLatin1(" [%1/%2]").arg(count_dirs).arg(count_files); + s = TQString::tqfromLatin1(" [%1/%2]").tqarg(count_dirs).tqarg(count_files); else if(use_c1 && count_files) // files, file count is > 0 - s = TQString::fromLatin1(" [%1]").arg(count_files); + s = TQString::tqfromLatin1(" [%1]").tqarg(count_files); else if(use_c2 && count_dirs) // dirs, dir count is > 0 - s = TQString::fromLatin1(" [%1]").arg(count_dirs); + s = TQString::tqfromLatin1(" [%1]").tqarg(count_dirs); KFileTreeViewItem::setText(column, text + s); } |