summaryrefslogtreecommitdiffstats
path: root/kaddressbook/views
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/views')
-rw-r--r--kaddressbook/views/cardview.cpp6
-rw-r--r--kaddressbook/views/cardview.h4
-rw-r--r--kaddressbook/views/configurecardviewdialog.cpp2
-rw-r--r--kaddressbook/views/contactlistview.cpp10
-rw-r--r--kaddressbook/views/kaddressbookcardview.cpp2
-rw-r--r--kaddressbook/views/kaddressbooktableview.cpp2
6 files changed, 13 insertions, 13 deletions
diff --git a/kaddressbook/views/cardview.cpp b/kaddressbook/views/cardview.cpp
index 66ec75d16..44632e906 100644
--- a/kaddressbook/views/cardview.cpp
+++ b/kaddressbook/views/cardview.cpp
@@ -1392,7 +1392,7 @@ void CardView::setLayoutDirty( bool dirty )
{
if ( d->mLayoutDirty != dirty ) {
d->mLayoutDirty = dirty;
- tqrepaint();
+ repaint();
}
}
@@ -1400,7 +1400,7 @@ void CardView::setDrawCardBorder( bool enabled )
{
if ( enabled != d->mDrawCardBorder ) {
d->mDrawCardBorder = enabled;
- tqrepaint();
+ repaint();
}
}
@@ -1426,7 +1426,7 @@ void CardView::setDrawFieldLabels( bool enabled )
{
if ( enabled != d->mDrawFieldLabels ) {
d->mDrawFieldLabels = enabled;
- tqrepaint();
+ repaint();
}
}
diff --git a/kaddressbook/views/cardview.h b/kaddressbook/views/cardview.h
index 4b6bbe7e1..7a007d956 100644
--- a/kaddressbook/views/cardview.h
+++ b/kaddressbook/views/cardview.h
@@ -87,7 +87,7 @@ class CardViewItem
virtual void paintCard( TQPainter *p, TQColorGroup &cg );
/**
- Repaints the card. This is done by sending a tqrepaint event to the
+ Repaints the card. This is done by sending a repaint event to the
view with the clip rect defined as this card.
*/
virtual void repaintCard();
@@ -526,7 +526,7 @@ class CardView : public TQScrollView
void contentsWheelEvent( TQWheelEvent* );
/**
- Sets the tqlayout to dirty and calls for a tqrepaint.
+ Sets the tqlayout to dirty and calls for a repaint.
*/
void setLayoutDirty( bool dirty );
diff --git a/kaddressbook/views/configurecardviewdialog.cpp b/kaddressbook/views/configurecardviewdialog.cpp
index de28c5d17..a8d4537fd 100644
--- a/kaddressbook/views/configurecardviewdialog.cpp
+++ b/kaddressbook/views/configurecardviewdialog.cpp
@@ -313,7 +313,7 @@ void CardViewLookNFeelPage::initGUI()
void CardViewLookNFeelPage::updateFontLabel( TQFont fnt, TQLabel *l )
{
l->setFont( fnt );
- l->setText( TQString( fnt.family() + " %1" ).tqarg( fnt.pointSize() ) );
+ l->setText( TQString( fnt.family() + " %1" ).arg( fnt.pointSize() ) );
}
#include "configurecardviewdialog.moc"
diff --git a/kaddressbook/views/contactlistview.cpp b/kaddressbook/views/contactlistview.cpp
index c2b527945..c59c47eee 100644
--- a/kaddressbook/views/contactlistview.cpp
+++ b/kaddressbook/views/contactlistview.cpp
@@ -82,17 +82,17 @@ void DynamicTip::maybeTip( const TQPoint &pos )
if (a.isEmpty())
return;
- s += i18n("label: value", "%1: %2").tqarg(a.formattedNameLabel())
- .tqarg(a.formattedName());
+ s += i18n("label: value", "%1: %2").arg(a.formattedNameLabel())
+ .arg(a.formattedName());
s += '\n';
- s += i18n("label: value", "%1: %2").tqarg(a.organizationLabel())
- .tqarg(a.organization());
+ s += i18n("label: value", "%1: %2").arg(a.organizationLabel())
+ .arg(a.organization());
TQString notes = a.note().stripWhiteSpace();
if ( !notes.isEmpty() ) {
notes += '\n';
- s += '\n' + i18n("label: value", "%1: \n").tqarg(a.noteLabel());
+ s += '\n' + i18n("label: value", "%1: \n").arg(a.noteLabel());
TQFontMetrics fm( font() );
// Begin word wrap code based on TQMultiLineEdit code
diff --git a/kaddressbook/views/kaddressbookcardview.cpp b/kaddressbook/views/kaddressbookcardview.cpp
index 211b62dd4..7d95c043e 100644
--- a/kaddressbook/views/kaddressbookcardview.cpp
+++ b/kaddressbook/views/kaddressbookcardview.cpp
@@ -96,7 +96,7 @@ class AddresseeCardViewItem : public CardViewItem
const KABC::Field::List::ConstIterator endIt( mFields.end() );
for ( ; it != endIt; ++it ) {
// insert empty fields or not? not doing so saves a bit of memory and CPU
- // (during tqgeometry calculations), but prevents having equally
+ // (during geometry calculations), but prevents having equally
// wide label columns in all cards, unless CardViewItem/CardView search
// globally for the widest label. (anders)
diff --git a/kaddressbook/views/kaddressbooktableview.cpp b/kaddressbook/views/kaddressbooktableview.cpp
index 19364d597..6fa731308 100644
--- a/kaddressbook/views/kaddressbooktableview.cpp
+++ b/kaddressbook/views/kaddressbooktableview.cpp
@@ -244,7 +244,7 @@ void KAddressBookTableView::refresh( const TQString &uid )
// Sometimes the background pixmap gets messed up when we add lots
// of items.
- mListView->tqrepaint();
+ mListView->repaint();
if ( currentItem ) {
mListView->setCurrentItem( currentItem );