summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/ui/tablelinkstatus.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 12:01:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 12:01:04 -0600
commit84c989c19db5daab602a67f47ca0f5fd7a2b53d2 (patch)
treedc5875bd392dce2d636a94bebcf5c44a270fac6d /klinkstatus/src/ui/tablelinkstatus.cpp
parent9445f97b426e97c6ce46de18fba4030da45d56df (diff)
downloadtdewebdev-84c989c19db5daab602a67f47ca0f5fd7a2b53d2.tar.gz
tdewebdev-84c989c19db5daab602a67f47ca0f5fd7a2b53d2.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'klinkstatus/src/ui/tablelinkstatus.cpp')
-rw-r--r--klinkstatus/src/ui/tablelinkstatus.cpp14
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() );
}
/*