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/koproperty/editoritem.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/koproperty/editoritem.h') diff --git a/lib/koproperty/editoritem.h b/lib/koproperty/editoritem.h index fc703239..a1300e5a 100644 --- a/lib/koproperty/editoritem.h +++ b/lib/koproperty/editoritem.h @@ -44,7 +44,7 @@ class GroupWidget; \author Jaroslaw Staniek @internal */ -class EditorItem : public KListViewItem +class EditorItem : public TDEListViewItem { public: typedef TQAsciiDict Dict; @@ -56,7 +56,7 @@ class EditorItem : public KListViewItem TQListViewItem *after=0); //! Two helper contructors for subclass - EditorItem(KListView *parent); + EditorItem(TDEListView *parent); EditorItem(EditorItem *parent, const TQString &text); EditorItem(EditorItem *parent, EditorItem *after, const TQString &text); @@ -66,12 +66,12 @@ class EditorItem : public KListViewItem Property* property(); protected: - /*! Reimplemented from KListViewItem to draw custom contents. Properties names are wriiten in bold if + /*! Reimplemented from TDEListViewItem to draw custom contents. Properties names are wriiten in bold if modified. Also takes care of drawing borders around the cells as well as pixmaps or colors if necessary. */ virtual void paintCell(TQPainter *p, const TQColorGroup & cg, int column, int width, int align); - /*! Reimplemented from KListViewItem to draw custom contents. It takes care of drawing the [+] and [-] + /*! Reimplemented from TDEListViewItem to draw custom contents. It takes care of drawing the [+] and [-] signs only if the item has children. */ virtual void paintBranches(TQPainter *p, const TQColorGroup &cg, int w, int y, int h); @@ -102,7 +102,7 @@ class EditorGroupItem : public EditorItem protected: virtual void init(const TQString &icon); - /*! Reimplemented from KListViewItem to draw custom contents. */ + /*! Reimplemented from TDEListViewItem to draw custom contents. */ virtual void paintCell(TQPainter *p, const TQColorGroup & cg, int column, int width, int align); virtual void setup(); virtual int compare( TQListViewItem *i, int col, bool ascending ) const; @@ -115,7 +115,7 @@ class EditorGroupItem : public EditorItem class EditorDummyItem : public EditorItem { public: - EditorDummyItem(KListView *parent); + EditorDummyItem(TDEListView *parent); virtual ~EditorDummyItem(); protected: -- cgit v1.2.1