Rename a number of classes to enhance compatibility with KDE4

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

@ -281,7 +281,7 @@ void KcmGtk::itemChanged()
void KcmGtk::fontChangeClicked()
{
if ( KFontDialog::getFont( font ) == KFontDialog::Accepted )
if ( TDEFontDialog::getFont( font ) == TDEFontDialog::Accepted )
{
updateFontPreview();
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 )
{
KListViewItem* i = new KListViewItem(w->profilesList);
TDEListViewItem* i = new TDEListViewItem(w->profilesList);
i->setPixmap(0, icon);
i->setText(0, it.key());
i->setText(1, it.data());
@ -585,7 +585,7 @@ void KcmGtk::firefoxFixClicked()
TQListViewItemIterator it2(w->profilesList, TQListViewItemIterator::Selected);
while (it2.current())
{
KListViewItem* i = (KListViewItem*) it2.current();
TDEListViewItem* i = (TDEListViewItem*) it2.current();
++it2;
fixProfile(i->text(1));

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

Loading…
Cancel
Save