Rename a number of classes to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 13 years ago
parent 1af6477f60
commit 8f88fbd71d

@ -281,7 +281,7 @@ void KcmGtk::itemChanged()
void KcmGtk::fontChangeClicked() void KcmGtk::fontChangeClicked()
{ {
if ( KFontDialog::getFont( font ) == KFontDialog::Accepted ) if ( TDEFontDialog::getFont( font ) == TDEFontDialog::Accepted )
{ {
updateFontPreview(); updateFontPreview();
widget->fontGroup->setButton(widget->fontGroup->id(widget->fontOther)); widget->fontGroup->setButton(widget->fontGroup->id(widget->fontOther));
@ -569,7 +569,7 @@ void KcmGtk::firefoxFixClicked()
for ( TQMapIterator<TQString,TQString> it = profiles.begin(); it != profiles.end(); ++it ) for ( TQMapIterator<TQString,TQString> it = profiles.begin(); it != profiles.end(); ++it )
{ {
KListViewItem* i = new KListViewItem(w->profilesList); TDEListViewItem* i = new TDEListViewItem(w->profilesList);
i->setPixmap(0, icon); i->setPixmap(0, icon);
i->setText(0, it.key()); i->setText(0, it.key());
i->setText(1, it.data()); i->setText(1, it.data());
@ -585,7 +585,7 @@ void KcmGtk::firefoxFixClicked()
TQListViewItemIterator it2(w->profilesList, TQListViewItemIterator::Selected); TQListViewItemIterator it2(w->profilesList, TQListViewItemIterator::Selected);
while (it2.current()) while (it2.current())
{ {
KListViewItem* i = (KListViewItem*) it2.current(); TDEListViewItem* i = (TDEListViewItem*) it2.current();
++it2; ++it2;
fixProfile(i->text(1)); fixProfile(i->text(1));

@ -38,7 +38,7 @@
<string>Please select the profiles that you want to fix:</string> <string>Please select the profiles that you want to fix:</string>
</property> </property>
</widget> </widget>
<widget class="KListView"> <widget class="TDEListView">
<column> <column>
<property name="text"> <property name="text">
<string>Profile</string> <string>Profile</string>

Loading…
Cancel
Save