From fd5d099065a748cac49e20a13481f85666c53c71 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:12 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- tderesources/groupwise/groupwisesettingswidgetbase.ui | 2 +- tderesources/groupwise/kabc_resourcegroupwiseconfig.cpp | 4 ++-- tderesources/groupwise/kabc_resourcegroupwiseconfig.h | 4 ++-- tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'tderesources/groupwise') diff --git a/tderesources/groupwise/groupwisesettingswidgetbase.ui b/tderesources/groupwise/groupwisesettingswidgetbase.ui index 49437ef4c..8ad33ea3b 100644 --- a/tderesources/groupwise/groupwisesettingswidgetbase.ui +++ b/tderesources/groupwise/groupwisesettingswidgetbase.ui @@ -16,7 +16,7 @@ unnamed - + Group diff --git a/tderesources/groupwise/kabc_resourcegroupwiseconfig.cpp b/tderesources/groupwise/kabc_resourcegroupwiseconfig.cpp index 483268cc2..9f00dab9e 100644 --- a/tderesources/groupwise/kabc_resourcegroupwiseconfig.cpp +++ b/tderesources/groupwise/kabc_resourcegroupwiseconfig.cpp @@ -39,7 +39,7 @@ using namespace KABC; class AddressBookItem : public TQCheckListItem { public: - AddressBookItem( KListView *parent, GroupWise::AddressBook ab ) + AddressBookItem( TDEListView *parent, GroupWise::AddressBook ab ) : TQCheckListItem( parent, "", CheckBox ), mId( ab.id ) { @@ -88,7 +88,7 @@ ResourceGroupwiseConfig::ResourceGroupwiseConfig( TQWidget* parent, const char* TQPushButton *updateButton = new TQPushButton( i18n( "Retrieve Address Book List From Server" ), this ); mainLayout->addMultiCellWidget( updateButton, 4, 4, 0, 1 ); - mAddressBookView = new KListView( this ); + mAddressBookView = new TDEListView( this ); mAddressBookView->addColumn( i18n( "Address Book" ) ); mAddressBookView->addColumn( i18n( "Personal" ) ); mAddressBookView->addColumn( i18n( "Frequent Contacts" ) ); diff --git a/tderesources/groupwise/kabc_resourcegroupwiseconfig.h b/tderesources/groupwise/kabc_resourcegroupwiseconfig.h index a377ec681..eb54803c0 100644 --- a/tderesources/groupwise/kabc_resourcegroupwiseconfig.h +++ b/tderesources/groupwise/kabc_resourcegroupwiseconfig.h @@ -29,7 +29,7 @@ class KComboBox; class KLineEdit; -class KListView; +class TDEListView; class KURLRequester; namespace KABC { @@ -61,7 +61,7 @@ class KDE_EXPORT ResourceGroupwiseConfig : public KRES::ConfigWidget KLineEdit *mUser; KLineEdit *mPassword; - KListView *mAddressBookView; + TDEListView *mAddressBookView; KComboBox *mAddressBookBox; TQStringList mWriteAddressBookIds; diff --git a/tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp b/tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp index b23a81a1b..747b33547 100644 --- a/tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp +++ b/tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp @@ -139,7 +139,7 @@ void ResourceGroupwiseConfig::slotViewUserSettings() groupName = TQString::fromUtf8( group->type->c_str() ); kdDebug() << "GROUP: " << groupName << endl;; } - KListViewItem * groupLVI = new KListViewItem( settingsWidget->m_settingsList, groupName ); + TDEListViewItem * groupLVI = new TDEListViewItem( settingsWidget->m_settingsList, groupName ); std::vector setting = group->setting; std::vector::const_iterator it2; for( it2 = setting.begin(); it2 != setting.end(); ++it2 ) @@ -155,7 +155,7 @@ void ResourceGroupwiseConfig::slotViewUserSettings() locked = *((*it2)->locked); kdDebug() << " SETTING: " << setting << " value : " << value << (locked ? "locked" : " not locked " ) << endl; - KListViewItem * settingLVI = new KListViewItem( groupLVI, TQString(), setting, value, (locked ? "locked" : " not locked " ) ); + TDEListViewItem * settingLVI = new TDEListViewItem( groupLVI, TQString(), setting, value, (locked ? "locked" : " not locked " ) ); if ( !locked ) settingLVI->setRenameEnabled( 2, true ); } -- cgit v1.2.1