summaryrefslogtreecommitdiffstats
path: root/lib/pilotAddress.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:57:02 -0600
commitd55caffa62947ca831ae0c21aada3b55eec24027 (patch)
tree8a2a0ff56d7023011016a7e385f0f3b60ffea095 /lib/pilotAddress.cc
parent631a19d8c5c5f69dc0d941c1997806fb422c79a6 (diff)
downloadkpilot-d55caffa62947ca831ae0c21aada3b55eec24027.tar.gz
kpilot-d55caffa62947ca831ae0c21aada3b55eec24027.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 631a19d8c5c5f69dc0d941c1997806fb422c79a6.
Diffstat (limited to 'lib/pilotAddress.cc')
-rw-r--r--lib/pilotAddress.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/pilotAddress.cc b/lib/pilotAddress.cc
index 8865c93..11fdd12 100644
--- a/lib/pilotAddress.cc
+++ b/lib/pilotAddress.cc
@@ -171,7 +171,7 @@ unsigned int PhoneSlot::toField() const
PhoneSlot::operator TQString() const
{
- return TQString("%1,%2").arg(toOffset()).arg(toField());
+ return TQString("%1,%2").tqarg(toOffset()).tqarg(toField());
}
#define MAXFIELDS 19
@@ -294,13 +294,13 @@ TQString PilotAddress::getTextRepresentation(const PilotAddressInfo *info, TQt::
if (firstName.isEmpty())
{
// So replace placeholder for first name (%1) with empty
- tmp = tmp.arg(TQString());
+ tmp = tmp.tqarg(TQString());
}
else
{
- tmp = tmp.arg(rtExpand(firstName,richText));
+ tmp = tmp.tqarg(rtExpand(firstName,richText));
}
- tmp=tmp.arg(rtExpand(getField(entryLastname), richText));
+ tmp=tmp.tqarg(rtExpand(getField(entryLastname), richText));
text += tmp;
text += ps;
@@ -335,13 +335,13 @@ TQString PilotAddress::getTextRepresentation(const PilotAddressInfo *info, TQt::
}
if (info)
{
- tmp=tmp.arg(info->phoneLabel( getPhoneType( i ) ));
+ tmp=tmp.tqarg(info->phoneLabel( getPhoneType( i ) ));
}
else
{
- tmp=tmp.arg(CSL1("Contact: "));
+ tmp=tmp.tqarg(CSL1("Contact: "));
}
- tmp=tmp.arg(rtExpand(getField(i.toField()), richText));
+ tmp=tmp.tqarg(rtExpand(getField(i.toField()), richText));
text += tmp;
text += br;
}