summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 14:58:56 -0600
committerTimothy Pearson <[email protected]>2013-02-01 14:58:56 -0600
commit8f88fbd71dfcee8eaddcf466580f55d4174eb7cb (patch)
treeb101a06823f36736bc83f29d9ca65d5e33632ef7
parent1af6477f60d3df51ffdecfb714cb94156ecf4345 (diff)
downloadgtk-qt-engine-8f88fbd71dfcee8eaddcf466580f55d4174eb7cb.tar.gz
gtk-qt-engine-8f88fbd71dfcee8eaddcf466580f55d4174eb7cb.zip
Rename a number of classes to enhance compatibility with KDE4
-rw-r--r--kcm_gtk/kcmgtk.cpp6
-rw-r--r--kcm_gtk/mozillaprofile.ui2
2 files changed, 4 insertions, 4 deletions
diff --git a/kcm_gtk/kcmgtk.cpp b/kcm_gtk/kcmgtk.cpp
index 97c7aaf..687e351 100644
--- a/kcm_gtk/kcmgtk.cpp
+++ b/kcm_gtk/kcmgtk.cpp
@@ -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));
diff --git a/kcm_gtk/mozillaprofile.ui b/kcm_gtk/mozillaprofile.ui
index b6ece9e..26a8066 100644
--- a/kcm_gtk/mozillaprofile.ui
+++ b/kcm_gtk/mozillaprofile.ui
@@ -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>