summaryrefslogtreecommitdiffstats
path: root/kdict/matchview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdict/matchview.cpp')
-rw-r--r--kdict/matchview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdict/matchview.cpp b/kdict/matchview.cpp
index f49a4c7f..7d7ea958 100644
--- a/kdict/matchview.cpp
+++ b/kdict/matchview.cpp
@@ -96,14 +96,14 @@ void MatchViewItem::setOpen(bool o)
}
-void MatchViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment)
+void MatchViewItem::paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment)
{
if(command.isEmpty()) {
TQFont font=p->font();
font.setBold(true);
p->setFont(font);
}
- TQListViewItem::paintCell(p,cg,column,width,tqalignment);
+ TQListViewItem::paintCell(p,cg,column,width,alignment);
}
@@ -310,7 +310,7 @@ void MatchView::doGet(TQStringList &defines)
if (defines.count() > 0) {
if (defines.count() > global->maxDefinitions) {
KMessageBox::sorry(global->topLevel,i18n("You have selected %1 definitions,\nbut Kdict will fetch only the first %2 definitions.\nYou can modify this limit in the Preferences Dialog.")
- .tqarg(defines.count()).tqarg(global->maxDefinitions));
+ .arg(defines.count()).arg(global->maxDefinitions));
while (defines.count()>global->maxDefinitions)
defines.pop_back();
}
@@ -368,7 +368,7 @@ void MatchView::newList(const TQStringList &matches)
}
w_list->setUpdatesEnabled(true);
- w_list->tqrepaint();
+ w_list->repaint();
w_list->setFocus();
}