diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-14 20:16:30 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-14 20:16:30 +0000 |
commit | 1c93fca14d9ce37499bcfdf994c660186a0b6f17 (patch) | |
tree | f2defe163a805a9e34a2142dfde4cdb5e49241e7 /kitchensync/src/configguildap.cpp | |
parent | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (diff) | |
download | tdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.tar.gz tdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.zip |
Enable kdepim compilation under Qt4
This will likely break Qt3 compilation temporarily, which is an unintended side effect.
A third and final kdepim commit will repair Qt3 compilation shortly.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kitchensync/src/configguildap.cpp')
-rw-r--r-- | kitchensync/src/configguildap.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kitchensync/src/configguildap.cpp b/kitchensync/src/configguildap.cpp index 485b65994..b5ebd02ea 100644 --- a/kitchensync/src/configguildap.cpp +++ b/kitchensync/src/configguildap.cpp @@ -93,26 +93,26 @@ TQString ConfigGuiLdap::save() const { TQString config = "<config>\n"; - config += TQString( "<servername>%1</servername>\n" ).arg( mLdapWidget->host() ); - config += TQString( "<serverport>%1</serverport>\n" ).arg( mLdapWidget->port() ); - config += TQString( "<binddn>%1</binddn>\n" ).arg( mLdapWidget->bindDN() ); - config += TQString( "<password>%1</password>\n" ).arg( mLdapWidget->password() ); - config += TQString( "<anonymous>%1</anonymous>\n" ).arg( mLdapWidget->isAuthAnon() ? "1" : "0" ); - config += TQString( "<searchbase>%1</searchbase>\n" ).arg( mLdapWidget->dn() ); - config += TQString( "<searchfilter>%1</searchfilter>\n" ).arg( mLdapWidget->filter() ); - config += TQString( "<storebase>%1</storebase>\n" ).arg( mLdapWidget->dn() ); - config += TQString( "<keyattr>%1</keyattr>\n" ).arg( mKeyAttribute->text() ); + config += TQString( "<servername>%1</servername>\n" ).tqarg( mLdapWidget->host() ); + config += TQString( "<serverport>%1</serverport>\n" ).tqarg( mLdapWidget->port() ); + config += TQString( "<binddn>%1</binddn>\n" ).tqarg( mLdapWidget->bindDN() ); + config += TQString( "<password>%1</password>\n" ).tqarg( mLdapWidget->password() ); + config += TQString( "<anonymous>%1</anonymous>\n" ).tqarg( mLdapWidget->isAuthAnon() ? "1" : "0" ); + config += TQString( "<searchbase>%1</searchbase>\n" ).tqarg( mLdapWidget->dn() ); + config += TQString( "<searchfilter>%1</searchfilter>\n" ).tqarg( mLdapWidget->filter() ); + config += TQString( "<storebase>%1</storebase>\n" ).tqarg( mLdapWidget->dn() ); + config += TQString( "<keyattr>%1</keyattr>\n" ).tqarg( mKeyAttribute->text() ); TQStringList scopes; scopes << "base" << "one" << "sub"; - config += TQString( "<scope>%1</scope>\n" ).arg( scopes[ mSearchScope->currentItem() ] ); + config += TQString( "<scope>%1</scope>\n" ).tqarg( scopes[ mSearchScope->currentItem() ] ); config += TQString( "<authmech>SIMPLE</authmech>\n" ); - config += TQString( "<encryption>%1</encryption>\n" ).arg( mEncryption->isChecked() ? "1" : "0" ); + config += TQString( "<encryption>%1</encryption>\n" ).tqarg( mEncryption->isChecked() ? "1" : "0" ); - config += TQString( "<ldap_read>%1</ldap_read>\n" ).arg( mReadLdap->isChecked() ? "1" : "0" ); - config += TQString( "<ldap_write>%1</ldap_write>\n" ).arg( mWriteLdap->isChecked() ? "1" : "0" ); + config += TQString( "<ldap_read>%1</ldap_read>\n" ).tqarg( mReadLdap->isChecked() ? "1" : "0" ); + config += TQString( "<ldap_write>%1</ldap_write>\n" ).tqarg( mWriteLdap->isChecked() ? "1" : "0" ); config += "</config>"; |