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/groupware/kabc_resourcegroupwareconfig.cpp | 4 ++-- tderesources/groupware/kabc_resourcegroupwareconfig.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tderesources/groupware') diff --git a/tderesources/groupware/kabc_resourcegroupwareconfig.cpp b/tderesources/groupware/kabc_resourcegroupwareconfig.cpp index 956ee4321..4634495e9 100644 --- a/tderesources/groupware/kabc_resourcegroupwareconfig.cpp +++ b/tderesources/groupware/kabc_resourcegroupwareconfig.cpp @@ -39,7 +39,7 @@ using namespace KABC; class AddressBookItem : public TQCheckListItem { public: - AddressBookItem( KListView *parent, const TQString &id ) + AddressBookItem( TDEListView *parent, const TQString &id ) : TQCheckListItem( parent, "", CheckBox ), mId( id ) { @@ -90,7 +90,7 @@ ResourceGroupwareConfig::ResourceGroupwareConfig( 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" ) ); #if 0 mAddressBookView->addColumn( i18n( "Personal" ) ); diff --git a/tderesources/groupware/kabc_resourcegroupwareconfig.h b/tderesources/groupware/kabc_resourcegroupwareconfig.h index bad560d17..c07c4d0b4 100644 --- a/tderesources/groupware/kabc_resourcegroupwareconfig.h +++ b/tderesources/groupware/kabc_resourcegroupwareconfig.h @@ -26,7 +26,7 @@ class KComboBox; class KLineEdit; -class KListView; +class TDEListView; class KURLRequester; namespace KABC { @@ -58,7 +58,7 @@ class ResourceGroupwareConfig : public KRES::ConfigWidget KLineEdit *mUser; KLineEdit *mPassword; - KListView *mAddressBookView; + TDEListView *mAddressBookView; KComboBox *mAddressBookBox; TQStringList mWriteAddressBookIds; -- cgit v1.2.1