diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:02:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:02:43 -0600 |
commit | aea627236e4de24599c3e30617cf264c3c1b7d40 (patch) | |
tree | 467e13ca5a7eb0ab292259289ecc3572f53c5eae /lib/kofficecore/KoDetailsPane.cpp | |
parent | 786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff) | |
download | koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip |
Rename a number of classes to enhance compatibility with KDE4
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); |