diff options
Diffstat (limited to 'lib/kofficecore/KoDetailsPane.cpp')
-rw-r--r-- | lib/kofficecore/KoDetailsPane.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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); |