summaryrefslogtreecommitdiffstats
path: root/kaddressbook/xxport/bookmark_xxport.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kaddressbook/xxport/bookmark_xxport.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook/xxport/bookmark_xxport.cpp')
-rw-r--r--kaddressbook/xxport/bookmark_xxport.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kaddressbook/xxport/bookmark_xxport.cpp b/kaddressbook/xxport/bookmark_xxport.cpp
index 0a8d71bef..2cfdf98ca 100644
--- a/kaddressbook/xxport/bookmark_xxport.cpp
+++ b/kaddressbook/xxport/bookmark_xxport.cpp
@@ -33,15 +33,15 @@
K_EXPORT_KADDRESSBOOK_XXFILTER( libkaddrbk_bookmark_xxport, BookmarkXXPort )
-BookmarkXXPort::BookmarkXXPort( KABC::AddressBook *ab, QWidget *parent, const char *name )
+BookmarkXXPort::BookmarkXXPort( KABC::AddressBook *ab, TQWidget *parent, const char *name )
: KAB::XXPort( ab, parent, name )
{
createExportAction( i18n( "Export Bookmarks Menu..." ) );
}
-bool BookmarkXXPort::exportContacts( const KABC::AddresseeList &list, const QString& )
+bool BookmarkXXPort::exportContacts( const KABC::AddresseeList &list, const TQString& )
{
- QString fileName = locateLocal( "data", "kabc/bookmarks.xml" );
+ TQString fileName = locateLocal( "data", "kabc/bookmarks.xml" );
KBookmarkManager *mgr = KBookmarkManager::managerForFile( fileName );
KBookmarkDomBuilder *builder = new KBookmarkDomBuilder( mgr->root(), mgr );
@@ -51,8 +51,8 @@ bool BookmarkXXPort::exportContacts( const KABC::AddresseeList &list, const QStr
emit newFolder( i18n( "AddressBook" ), false, "" );
for ( it = list.begin(); it != list.end(); ++it ) {
if ( !(*it).url().isEmpty() ) {
- QString name = (*it).givenName() + " " + (*it).familyName();
- emit newBookmark( name, (*it).url().url().latin1(), QString( "" ) );
+ TQString name = (*it).givenName() + " " + (*it).familyName();
+ emit newBookmark( name, (*it).url().url().latin1(), TQString( "" ) );
}
}
emit endFolder();