summaryrefslogtreecommitdiffstats
path: root/kaddressbook/xxport/gnokii_xxport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/xxport/gnokii_xxport.cpp')
-rw-r--r--kaddressbook/xxport/gnokii_xxport.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kaddressbook/xxport/gnokii_xxport.cpp b/kaddressbook/xxport/gnokii_xxport.cpp
index abd3234b7..f4d1e9dbd 100644
--- a/kaddressbook/xxport/gnokii_xxport.cpp
+++ b/kaddressbook/xxport/gnokii_xxport.cpp
@@ -173,9 +173,9 @@ static gn_error read_phone_memstat( const gn_memory_type memtype, gn_memory_stat
static TQString buildPhoneInfoString( const gn_memory_status &memstat )
{
- TQString format = TQString::tqfromLatin1("<tr><td><b>%1</b></td><td>%2</td></tr>");
+ TQString format = TQString::fromLatin1("<tr><td><b>%1</b></td><td>%2</td></tr>");
- return TQString::tqfromLatin1("<b>%1</b><br><table>%2%3%4%5%6</table><br>")
+ return TQString::fromLatin1("<b>%1</b><br><table>%2%3%4%5%6</table><br>")
.tqarg(i18n("Mobile Phone information:"))
.tqarg(format.tqarg(i18n("Manufacturer")).tqarg(GN_FROM(manufacturer)))
.tqarg(format.tqarg(i18n("Phone model")).tqarg(GN_FROM(model)))
@@ -272,7 +272,7 @@ static gn_error read_phone_entries( const char *memtypestr, gn_memory_type memty
TQDateTime datetime;
gn_timestamp ts = gn_lib_get_pb_date(state);
if (ts.year<1998)
- datetime = TQDateTime::tqcurrentDateTime();
+ datetime = TQDateTime::currentDateTime();
else
datetime = TQDateTime( TQDate(ts.year, ts.month, ts.day),
TQTime(ts.hour, ts.minute, ts.second) );
@@ -481,7 +481,7 @@ static gn_error xxport_phone_write_entry( int phone_location, gn_memory_type mem
if (Addr->isEmpty()) continue;
TQStringList a;
TQChar sem(';');
- TQString sem_repl(TQString::tqfromLatin1(","));
+ TQString sem_repl(TQString::fromLatin1(","));
a.append( Addr->postOfficeBox().replace( sem, sem_repl ) );
a.append( Addr->extended() .replace( sem, sem_repl ) );
a.append( Addr->street() .replace( sem, sem_repl ) );
@@ -891,7 +891,7 @@ static gn_error read_phone_memstat( const gn_memory_type memtype, gn_memory_stat
memset(memstat, 0, sizeof(*memstat));
memstat->memory_type = memtype;
data.memory_status = memstat;
- error = gn_sm_functions(GN_OP_GetMemorytqStatus, &data, &state);
+ error = gn_sm_functions(GN_OP_GetMemoryStatus, &data, &state);
GNOKII_CHECK_ERROR(error);
if (error != GN_ERR_NONE) {
switch (memtype) {
@@ -943,9 +943,9 @@ static bool phone_entry_empty( const int index, const gn_memory_type memtype )
static TQString buildPhoneInfoString( const gn_memory_status &memstat )
{
- TQString format = TQString::tqfromLatin1("<tr><td><b>%1</b></td><td>%2</td></tr>");
+ TQString format = TQString::fromLatin1("<tr><td><b>%1</b></td><td>%2</td></tr>");
- return TQString::tqfromLatin1("<b>%1</b><br><table>%2%3%4%5%6</table><br>")
+ return TQString::fromLatin1("<b>%1</b><br><table>%2%3%4%5%6</table><br>")
.tqarg(i18n("Mobile Phone information:"))
.tqarg(format.tqarg(i18n("Manufacturer")).tqarg(GN_FROM(manufacturer)))
.tqarg(format.tqarg(i18n("Phone model")).tqarg(GN_FROM(model)))
@@ -1044,7 +1044,7 @@ static gn_error read_phone_entries( const char *memtypestr, gn_memory_type memty
// evaluate timestamp (ignore timezone)
TQDateTime datetime;
if (entry.date.year<1998)
- datetime = TQDateTime::tqcurrentDateTime();
+ datetime = TQDateTime::currentDateTime();
else
datetime = TQDateTime( TQDate(entry.date.year, entry.date.month, entry.date.day),
TQTime(entry.date.hour, entry.date.minute, entry.date.second) );
@@ -1263,7 +1263,7 @@ static gn_error xxport_phone_write_entry( int phone_location, gn_memory_type mem
subentry->entry_type = GN_PHONEBOOK_ENTRY_Postal;
TQStringList a;
TQChar sem(';');
- TQString sem_repl(TQString::tqfromLatin1(","));
+ TQString sem_repl(TQString::fromLatin1(","));
a.append( Addr->postOfficeBox().replace( sem, sem_repl ) );
a.append( Addr->extended() .replace( sem, sem_repl ) );
a.append( Addr->street() .replace( sem, sem_repl ) );