diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:06:09 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:06:09 -0600 |
commit | 47bca8a908a56349637c0b91f4fc4f49f85f820f (patch) | |
tree | 56afb281e35997ab842e4c34ba21c98b4c1c6283 /src/svnfrontend/fronthelpers | |
parent | 7143a99b4f885d13f7ab57bca4156900cabb34b8 (diff) | |
download | tdesvn-47bca8a908a56349637c0b91f4fc4f49f85f820f.tar.gz tdesvn-47bca8a908a56349637c0b91f4fc4f49f85f820f.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/svnfrontend/fronthelpers')
-rw-r--r-- | src/svnfrontend/fronthelpers/propertyitem.cpp | 8 | ||||
-rw-r--r-- | src/svnfrontend/fronthelpers/propertyitem.h | 6 | ||||
-rw-r--r-- | src/svnfrontend/fronthelpers/propertylist.cpp | 4 | ||||
-rw-r--r-- | src/svnfrontend/fronthelpers/propertylist.h | 2 |
4 files changed, 10 insertions, 10 deletions
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 <klocale.h> #include <kiconloader.h> -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 |