From d55caffa62947ca831ae0c21aada3b55eec24027 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:57:02 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 631a19d8c5c5f69dc0d941c1997806fb422c79a6. --- lib/pilotAddress.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'lib/pilotAddress.cc') 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; } -- cgit v1.2.1