summaryrefslogtreecommitdiffstats
path: root/kresources/groupwise/kabc_resourcegroupwiseconfig.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kresources/groupwise/kabc_resourcegroupwiseconfig.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/groupwise/kabc_resourcegroupwiseconfig.cpp')
-rw-r--r--kresources/groupwise/kabc_resourcegroupwiseconfig.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kresources/groupwise/kabc_resourcegroupwiseconfig.cpp b/kresources/groupwise/kabc_resourcegroupwiseconfig.cpp
index f195700c8..91b0380a9 100644
--- a/kresources/groupwise/kabc_resourcegroupwiseconfig.cpp
+++ b/kresources/groupwise/kabc_resourcegroupwiseconfig.cpp
@@ -36,11 +36,11 @@
using namespace KABC;
-class AddressBookItem : public QCheckListItem
+class AddressBookItem : public TQCheckListItem
{
public:
- AddressBookItem( KListView *parent, GroupWise::AddressBook ab )
- : TQCheckListItem( parent, "", CheckBox ),
+ AddressBookItem( KListView *tqparent, GroupWise::AddressBook ab )
+ : TQCheckListItem( tqparent, "", CheckBox ),
mId( ab.id )
{
setText( 0, ab.name );
@@ -56,8 +56,8 @@ class AddressBookItem : public QCheckListItem
TQString mId;
};
-ResourceGroupwiseConfig::ResourceGroupwiseConfig( TQWidget* parent, const char* name )
- : KRES::ConfigWidget( parent, name )
+ResourceGroupwiseConfig::ResourceGroupwiseConfig( TQWidget* tqparent, const char* name )
+ : KRES::ConfigWidget( tqparent, name )
{
TQGridLayout *mainLayout = new TQGridLayout( this, 7, 2, 0, KDialog::spacingHint() );
@@ -168,7 +168,7 @@ void ResourceGroupwiseConfig::saveAddressBookSettings()
// if so, clear the resource to clear the SAB data that is no longer required.
// also, set the sequence numbers to 0 so that we know the SAB should be re-fetched in its entirety the next time we do load it
TQString sab = mResource->prefs()->systemAddressBook();
- if ( ( mReadAddressBookIds.find( sab ) != mReadAddressBookIds.end() ) && ( selectedRead.find( sab ) == selectedRead.end() ) )
+ if ( ( mReadAddressBookIds.tqfind( sab ) != mReadAddressBookIds.end() ) && ( selectedRead.tqfind( sab ) == selectedRead.end() ) )
{
mResource->clearCache();
mResource->prefs()->setLastSequenceNumber( 0 );
@@ -195,7 +195,7 @@ void ResourceGroupwiseConfig::updateAddressBookView()
GroupWise::AddressBook::List::ConstIterator abIt;
for ( abIt = addressBooks.begin(); abIt != addressBooks.end(); ++abIt ) {
AddressBookItem *item = new AddressBookItem( mAddressBookView, *abIt );
- if ( selectedRead.find( (*abIt).id ) != selectedRead.end() )
+ if ( selectedRead.tqfind( (*abIt).id ) != selectedRead.end() )
item->setOn( true );
mAddressBookBox->insertItem( (*abIt).name );