From 7f8c2db2f66cc2bc671bc92e0fc4efa967ff2351 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 00:37:37 -0600 Subject: Rename KShared --- tdefile-plugins/torrent/bbase.h | 6 +++--- tdefile-plugins/torrent/bdict.cpp | 2 +- tdefile-plugins/torrent/bytetape.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tdefile-plugins') diff --git a/tdefile-plugins/torrent/bbase.h b/tdefile-plugins/torrent/bbase.h index 30da7528..7a4693c6 100644 --- a/tdefile-plugins/torrent/bbase.h +++ b/tdefile-plugins/torrent/bbase.h @@ -32,11 +32,11 @@ class TQIODevice; * check error status that way. * * @author Michael Pyne - * @see BInt, BList, BDict, BString, KSharedPtr + * @see BInt, BList, BDict, BString, TDESharedPtr */ -// Derive from KShared to enable use of KSharedPtr. -class BBase : public KShared +// Derive from TDEShared to enable use of TDESharedPtr. +class BBase : public TDEShared { public: diff --git a/tdefile-plugins/torrent/bdict.cpp b/tdefile-plugins/torrent/bdict.cpp index 712fd526..8ae17800 100644 --- a/tdefile-plugins/torrent/bdict.cpp +++ b/tdefile-plugins/torrent/bdict.cpp @@ -57,7 +57,7 @@ void BDict::init (ByteTape &tape) BBase *temp_item = 0; // Read in string - KSharedPtr str (new BString (tape)); + TDESharedPtr str (new BString (tape)); // Ensure str will be automatically deleted if (!str || !str->isValid()) diff --git a/tdefile-plugins/torrent/bytetape.h b/tdefile-plugins/torrent/bytetape.h index f7309b11..1dfbef09 100644 --- a/tdefile-plugins/torrent/bytetape.h +++ b/tdefile-plugins/torrent/bytetape.h @@ -23,7 +23,7 @@ #include -class ByteTapeShared : public KShared +class ByteTapeShared : public TDEShared { public: @@ -186,7 +186,7 @@ class ByteTape private: TQByteArray &m_array; - KSharedPtr m_shared; + TDESharedPtr m_shared; }; #endif /* _BYTETAPE_H */ -- cgit v1.2.1