summaryrefslogtreecommitdiffstats
path: root/kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:52:34 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-04 03:25:49 +0200
commit19e67aed27e50319d00a06ae6287236db13f82f4 (patch)
tree6ab0b6ee6327f32fae59868408ef88e00d2cc2d9 /kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp
parent0669339d48f65fc18388faefe54b239591d4705f (diff)
downloadtdeaddons-19e67aed27e50319d00a06ae6287236db13f82f4.tar.gz
tdeaddons-19e67aed27e50319d00a06ae6287236db13f82f4.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 75112ed8e227f656f98523b7ffdad5422d9a6f11)
Diffstat (limited to 'kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp')
-rw-r--r--kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp b/kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp
index ea3ab6e..7a80f89 100644
--- a/kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp
+++ b/kaddressbook-plugins/xxports/gmx/gmx_xxport.cpp
@@ -80,7 +80,7 @@ KABC::AddresseeList GMXXXPort::importContacts( const TQString& ) const
TQFile file( fileName );
if ( !file.open( IO_ReadOnly ) ) {
TQString msg = i18n( "<qt>Unable to open <b>%1</b> for reading.</qt>" );
- KMessageBox::error( parentWidget(), msg.tqarg( fileName ) );
+ KMessageBox::error( parentWidget(), msg.arg( fileName ) );
return addrList;
}
@@ -91,7 +91,7 @@ KABC::AddresseeList GMXXXPort::importContacts( const TQString& ) const
line = gmxStream.readLine();
line2 = gmxStream.readLine();
if (!line.startsWith("AB_ADDRESSES:") || !line2.startsWith("Address_id")) {
- KMessageBox::error( parentWidget(), i18n("%1 is not a GMX address book file.").tqarg(fileName) );
+ KMessageBox::error( parentWidget(), i18n("%1 is not a GMX address book file.").arg(fileName) );
return addrList;
}
@@ -214,8 +214,8 @@ bool GMXXXPort::exportContacts( const KABC::AddresseeList &list, const TQString&
KTempFile tmpFile;
if ( tmpFile.status() != 0 ) {
TQString txt = i18n( "<qt>Unable to open file <b>%1</b>.%2.</qt>" );
- KMessageBox::error( parentWidget(), txt.tqarg( url.url() )
- .tqarg( strerror( tmpFile.status() ) ) );
+ KMessageBox::error( parentWidget(), txt.arg( url.url() )
+ .arg( strerror( tmpFile.status() ) ) );
return false;
}
@@ -229,7 +229,7 @@ bool GMXXXPort::exportContacts( const KABC::AddresseeList &list, const TQString&
if ( !file.open( IO_WriteOnly ) ) {
TQString txt = i18n( "<qt>Unable to open file <b>%1</b>.</qt>" );
- KMessageBox::error( parentWidget(), txt.tqarg( filename ) );
+ KMessageBox::error( parentWidget(), txt.arg( filename ) );
return false;
}