diff options
Diffstat (limited to 'klinkstatus/src/ui')
-rw-r--r-- | klinkstatus/src/ui/sessionwidgetbase.ui | 2 | ||||
-rw-r--r-- | klinkstatus/src/ui/tablelinkstatus.cpp | 14 | ||||
-rw-r--r-- | klinkstatus/src/ui/tablelinkstatus.h | 4 | ||||
-rw-r--r-- | klinkstatus/src/ui/treeview.cpp | 4 |
4 files changed, 12 insertions, 12 deletions
diff --git a/klinkstatus/src/ui/sessionwidgetbase.ui b/klinkstatus/src/ui/sessionwidgetbase.ui index 75538524..355d3bb1 100644 --- a/klinkstatus/src/ui/sessionwidgetbase.ui +++ b/klinkstatus/src/ui/sessionwidgetbase.ui @@ -109,7 +109,7 @@ <property name="text"> <string>URL: </string> </property> - <property name="tqalignment"> + <property name="alignment"> <set>AlignVCenter|AlignLeft</set> </property> </widget> 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() ); } /* diff --git a/klinkstatus/src/ui/tablelinkstatus.h b/klinkstatus/src/ui/tablelinkstatus.h index 58269c98..6f601508 100644 --- a/klinkstatus/src/ui/tablelinkstatus.h +++ b/klinkstatus/src/ui/tablelinkstatus.h @@ -111,14 +111,14 @@ public: TableItem(TQTable* table, EditType et, LinkStatus const* linkstatus, - int column_index, int tqalignment = TQt::AlignLeft); + int column_index, int alignment = TQt::AlignLeft); virtual ~TableItem(); virtual void setColumnIndex(int i); virtual int columnIndex() const; void setAlignment(int aFlags); - virtual int tqalignment() const; + virtual int alignment() const; virtual TQString toolTip() const = 0; //LinkStatus const* const linkStatus() const; diff --git a/klinkstatus/src/ui/treeview.cpp b/klinkstatus/src/ui/treeview.cpp index 9a6302f7..814d2a27 100644 --- a/klinkstatus/src/ui/treeview.cpp +++ b/klinkstatus/src/ui/treeview.cpp @@ -199,7 +199,7 @@ void TreeView::resizeEvent(TQResizeEvent *e) { KListView::resizeEvent(e); resetColumns(); - clipper()->tqrepaint(); + clipper()->repaint(); } void TreeView::slotPopupContextMenu(TQListViewItem* item, const TQPoint& pos, int col) @@ -292,7 +292,7 @@ void TreeView::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); } } |