diff options
Diffstat (limited to 'klinkstatus/src/ui/tablelinkstatus.cpp')
-rw-r--r-- | klinkstatus/src/ui/tablelinkstatus.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/klinkstatus/src/ui/tablelinkstatus.cpp b/klinkstatus/src/ui/tablelinkstatus.cpp index 1ca0b251..d1609d31 100644 --- a/klinkstatus/src/ui/tablelinkstatus.cpp +++ b/klinkstatus/src/ui/tablelinkstatus.cpp @@ -386,7 +386,7 @@ void TableLinkstatus::slotEditReferrerWithQuanta(KURL const& url) if(!success) { - TQString message = i18n("<qt>File <b>%1</b> cannot be opened. Might be a DCOP problem.</qt>").tqarg(filePath); + TQString message = i18n("<qt>File <b>%1</b> cannot be opened. Might be a DCOP problem.</qt>").arg(filePath); KMessageBox::error(parentWidget(), message); } } @@ -440,10 +440,10 @@ void TableLinkstatus::slotViewParentUrlInBrowser() TableItem::TableItem(TQTable* table, EditType et, LinkStatus const* linkstatus, - int column_index, int tqalignment) + int column_index, int alignment) : TQTableItem(table, et, ""), ResultViewItem(linkstatus, column_index), /*ls_((LinkStatus*)linkstatus), - column_index_(column_index),*/ alignment_(tqalignment) + column_index_(column_index),*/ alignment_(alignment) { //Q_ASSERT(ls_); //Q_ASSERT(column_index_ > 0); @@ -472,7 +472,7 @@ void TableItem::setAlignment(int aFlags) alignment_ = aFlags; } -int TableItem::tqalignment() const +int TableItem::alignment() const { return alignment_; } @@ -679,10 +679,10 @@ TQString TableItemStatus::toolTip() const (linkStatus()->absoluteUrl().protocol() != "http" && linkStatus()->absoluteUrl().protocol() != "https")) { - return i18n("%1").tqarg(linkStatus()->status()); + return i18n("%1").arg(linkStatus()->status()); } else - return i18n("%1").tqarg(linkStatus()->httpHeader().reasonPhrase()); + return i18n("%1").arg(linkStatus()->httpHeader().reasonPhrase()); } void TableItemStatus::paint( TQPainter *p, const TQColorGroup &cg, @@ -716,7 +716,7 @@ void TableItemStatus::paint( TQPainter *p, const TQColorGroup &cg, else p->setPen( m_cg.text() ); p->drawText( x + 2, 0, w - x - 4, h, - wordWrap() ? (tqalignment() | WordBreak) : tqalignment(), text() ); + wordWrap() ? (alignment() | WordBreak) : alignment(), text() ); } /* |