From aea627236e4de24599c3e30617cf264c3c1b7d40 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:02:43 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- lib/kofficecore/KoDetailsPane.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/kofficecore/KoDetailsPane.cpp') diff --git a/lib/kofficecore/KoDetailsPane.cpp b/lib/kofficecore/KoDetailsPane.cpp index 91cdb4ad..31cfde38 100644 --- a/lib/kofficecore/KoDetailsPane.cpp +++ b/lib/kofficecore/KoDetailsPane.cpp @@ -44,12 +44,12 @@ #include "KoTemplates.h" -class KoFileListItem : public KListViewItem +class KoFileListItem : public TDEListViewItem { public: - KoFileListItem(KListView* listView, TQListViewItem* after, const TQString& filename, + KoFileListItem(TDEListView* listView, TQListViewItem* after, const TQString& filename, const TQString& fullPath, KFileItem* fileItem) - : KListViewItem(listView, after, filename, fullPath), m_fileItem(fileItem) + : TDEListViewItem(listView, after, filename, fullPath), m_fileItem(fileItem) { } @@ -107,10 +107,10 @@ KoTemplatesPane::KoTemplatesPane(TQWidget* parent, TDEInstance* instance, connect(kapp, TQT_SIGNAL(kdisplayPaletteChanged()), this, TQT_SLOT(changePalette())); } - KListViewItem* selectItem = 0; + TDEListViewItem* selectItem = 0; for (KoTemplate* t = group->first(); t != 0L; t = group->next()) { - KListViewItem* item = new KListViewItem(m_documentList, t->name(), t->description(), t->file()); + TDEListViewItem* item = new TDEListViewItem(m_documentList, t->name(), t->description(), t->file()); TQImage icon = t->loadPicture(instance).convertToImage(); icon = icon.smoothScale(64, 64, TQ_ScaleMin); icon.setAlphaBuffer(true); -- cgit v1.2.1