summaryrefslogtreecommitdiffstats
path: root/kaddressbook-plugins/xxports
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commitcee3e820d889e03e7f9704af40436eef3dab6c71 (patch)
treecf514a4de329cbc8521e2b617d4ac4f45b710672 /kaddressbook-plugins/xxports
parent89761f7206a1d363dad8e5759184b0af8077ead5 (diff)
downloadtdeaddons-cee3e820d889e03e7f9704af40436eef3dab6c71.tar.gz
tdeaddons-cee3e820d889e03e7f9704af40436eef3dab6c71.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook-plugins/xxports')
-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 a726458..9cc67a8 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( tqparentWidget(), msg.tqarg( fileName ) );
+ KMessageBox::error( parentWidget(), msg.tqarg( 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( tqparentWidget(), i18n("%1 is not a GMX address book file.").tqarg(fileName) );
+ KMessageBox::error( parentWidget(), i18n("%1 is not a GMX address book file.").tqarg(fileName) );
return addrList;
}
@@ -214,7 +214,7 @@ 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( tqparentWidget(), txt.tqarg( url.url() )
+ KMessageBox::error( parentWidget(), txt.tqarg( url.url() )
.tqarg( strerror( tmpFile.status() ) ) );
return false;
}
@@ -222,14 +222,14 @@ bool GMXXXPort::exportContacts( const KABC::AddresseeList &list, const TQString&
doExport( tmpFile.file(), list );
tmpFile.close();
- return KIO::NetAccess::upload( tmpFile.name(), url, tqparentWidget() );
+ return KIO::NetAccess::upload( tmpFile.name(), url, parentWidget() );
} else {
TQString filename = url.path();
TQFile file( filename );
if ( !file.open( IO_WriteOnly ) ) {
TQString txt = i18n( "<qt>Unable to open file <b>%1</b>.</qt>" );
- KMessageBox::error( tqparentWidget(), txt.tqarg( filename ) );
+ KMessageBox::error( parentWidget(), txt.tqarg( filename ) );
return false;
}