From 47bca8a908a56349637c0b91f4fc4f49f85f820f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:06:09 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- src/svnfrontend/fronthelpers/propertyitem.cpp | 8 ++++---- src/svnfrontend/fronthelpers/propertyitem.h | 6 +++--- src/svnfrontend/fronthelpers/propertylist.cpp | 4 ++-- src/svnfrontend/fronthelpers/propertylist.h | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src/svnfrontend/fronthelpers') diff --git a/src/svnfrontend/fronthelpers/propertyitem.cpp b/src/svnfrontend/fronthelpers/propertyitem.cpp index adf16d0..a78a29e 100644 --- a/src/svnfrontend/fronthelpers/propertyitem.cpp +++ b/src/svnfrontend/fronthelpers/propertyitem.cpp @@ -2,16 +2,16 @@ #include #include -PropertyListViewItem::PropertyListViewItem(KListView *parent,const TQString&aName,const TQString&aValue) - : KListViewItem(parent),m_currentName(aName),m_startName(aName),m_currentValue(aValue),m_startValue(aValue),m_deleted(false) +PropertyListViewItem::PropertyListViewItem(TDEListView *parent,const TQString&aName,const TQString&aValue) + : TDEListViewItem(parent),m_currentName(aName),m_startName(aName),m_currentValue(aValue),m_startValue(aValue),m_deleted(false) { setMultiLinesEnabled(true); setText(0,startName()); setText(1,startValue()); } -PropertyListViewItem::PropertyListViewItem(KListView *parent) - : KListViewItem(parent),m_currentName(""),m_startName(""),m_currentValue(""),m_startValue(""),m_deleted(false) +PropertyListViewItem::PropertyListViewItem(TDEListView *parent) + : TDEListViewItem(parent),m_currentName(""),m_startName(""),m_currentValue(""),m_startValue(""),m_deleted(false) { setMultiLinesEnabled(true); setText(0,startName()); diff --git a/src/svnfrontend/fronthelpers/propertyitem.h b/src/svnfrontend/fronthelpers/propertyitem.h index 4a826b0..8a1d8c2 100644 --- a/src/svnfrontend/fronthelpers/propertyitem.h +++ b/src/svnfrontend/fronthelpers/propertyitem.h @@ -6,15 +6,15 @@ class PropertiesDlg; class Propertylist; -class PropertyListViewItem:public KListViewItem +class PropertyListViewItem:public TDEListViewItem { friend class PropertiesDlg; friend class Propertylist; public: static const int _RTTI_ = 1001; - PropertyListViewItem(KListView *parent,const TQString&,const TQString&); - PropertyListViewItem(KListView *parent); + PropertyListViewItem(TDEListView *parent,const TQString&,const TQString&); + PropertyListViewItem(TDEListView *parent); virtual ~PropertyListViewItem(); const TQString&startName()const{return m_startName;} diff --git a/src/svnfrontend/fronthelpers/propertylist.cpp b/src/svnfrontend/fronthelpers/propertylist.cpp index 7dd0d9d..49fdb36 100644 --- a/src/svnfrontend/fronthelpers/propertylist.cpp +++ b/src/svnfrontend/fronthelpers/propertylist.cpp @@ -26,7 +26,7 @@ Propertylist::Propertylist(TQWidget *parent, const char *name) - : KListView(parent, name),m_commitit(false) + : TDEListView(parent, name),m_commitit(false) { addColumn(i18n("Property")); addColumn(i18n("Value")); @@ -76,7 +76,7 @@ void Propertylist::displayList(const svn::PathPropertiesMapListPtr&propList,bool void Propertylist::clear() { - KListView::clear(); + TDEListView::clear(); } /*! diff --git a/src/svnfrontend/fronthelpers/propertylist.h b/src/svnfrontend/fronthelpers/propertylist.h index a1916b4..1d39a30 100644 --- a/src/svnfrontend/fronthelpers/propertylist.h +++ b/src/svnfrontend/fronthelpers/propertylist.h @@ -26,7 +26,7 @@ /** @author */ -class Propertylist : public KListView +class Propertylist : public TDEListView { Q_OBJECT -- cgit v1.2.1