From 4ba6286d9eaa3754119526dc1ac3435a341549cb Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:04:44 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- libktorrent/interfaces/filetreediritem.cpp | 2 +- libktorrent/interfaces/filetreediritem.h | 2 +- libktorrent/interfaces/guiinterface.h | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'libktorrent') diff --git a/libktorrent/interfaces/filetreediritem.cpp b/libktorrent/interfaces/filetreediritem.cpp index cc199ce..f1dbe43 100644 --- a/libktorrent/interfaces/filetreediritem.cpp +++ b/libktorrent/interfaces/filetreediritem.cpp @@ -34,7 +34,7 @@ using namespace bt; namespace kt { - FileTreeDirItem::FileTreeDirItem(KListView* klv,const TQString & name,FileTreeRootListener* rl) + FileTreeDirItem::FileTreeDirItem(TDEListView* klv,const TQString & name,FileTreeRootListener* rl) : TQCheckListItem(klv,TQString(),TQCheckListItem::CheckBox),name(name),root_listener(rl) { parent = 0; diff --git a/libktorrent/interfaces/filetreediritem.h b/libktorrent/interfaces/filetreediritem.h index 6deaab8..640916e 100644 --- a/libktorrent/interfaces/filetreediritem.h +++ b/libktorrent/interfaces/filetreediritem.h @@ -55,7 +55,7 @@ namespace kt bool manual_change; FileTreeRootListener* root_listener; public: - FileTreeDirItem(KListView* klv,const TQString & name,FileTreeRootListener* rl = 0); + FileTreeDirItem(TDEListView* klv,const TQString & name,FileTreeRootListener* rl = 0); FileTreeDirItem(FileTreeDirItem* parent,const TQString & name); virtual ~FileTreeDirItem(); diff --git a/libktorrent/interfaces/guiinterface.h b/libktorrent/interfaces/guiinterface.h index 6fbab7e..69d168b 100644 --- a/libktorrent/interfaces/guiinterface.h +++ b/libktorrent/interfaces/guiinterface.h @@ -25,7 +25,7 @@ class TQWidget; class TQIconSet; class TQString; -class KToolBar; +class TDEToolBar; class KProgress; namespace kt @@ -200,10 +200,10 @@ namespace kt virtual const TorrentInterface* getCurrentTorrent() const = 0; /// Add a toolbar - virtual KToolBar* addToolBar(const char* name) = 0; + virtual TDEToolBar* addToolBar(const char* name) = 0; /// Remove a toolbar - virtual void removeToolBar(KToolBar* tb) = 0; + virtual void removeToolBar(TDEToolBar* tb) = 0; protected: /** -- cgit v1.2.3