summaryrefslogtreecommitdiffstats
path: root/tderesources/groupwise
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
commitfd5d099065a748cac49e20a13481f85666c53c71 (patch)
treea0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /tderesources/groupwise
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'tderesources/groupwise')
-rw-r--r--tderesources/groupwise/groupwisesettingswidgetbase.ui2
-rw-r--r--tderesources/groupwise/kabc_resourcegroupwiseconfig.cpp4
-rw-r--r--tderesources/groupwise/kabc_resourcegroupwiseconfig.h4
-rw-r--r--tderesources/groupwise/kcal_resourcegroupwiseconfig.cpp4
4 files changed, 7 insertions, 7 deletions
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 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="KListView" row="0" column="0">
+ <widget class="TDEListView" row="0" column="0">
<column>
<property name="text">
<string>Group</string>
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<ngwt__Custom * > setting = group->setting;
std::vector<class ngwt__Custom *>::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 );
}