From 7f8c2db2f66cc2bc671bc92e0fc4efa967ff2351 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 00:37:37 -0600 Subject: Rename KShared --- kopete/libkopete/kopetemessage.cpp | 4 ++-- kopete/libkopete/kopetemessage.h | 2 +- kopete/libkopete/kopetemessagehandlerchain.h | 6 +++--- kopete/libkopete/kopeteonlinestatus.cpp | 2 +- kopete/libkopete/kopeteonlinestatus.h | 2 +- kopete/libkopete/kopetepicture.cpp | 4 ++-- kopete/libkopete/kopetepicture.h | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) (limited to 'kopete/libkopete') diff --git a/kopete/libkopete/kopetemessage.cpp b/kopete/libkopete/kopetemessage.cpp index c094ba72..a70b137b 100644 --- a/kopete/libkopete/kopetemessage.cpp +++ b/kopete/libkopete/kopetemessage.cpp @@ -43,7 +43,7 @@ using namespace Kopete; class Message::Private - : public KShared + : public TDEShared { public: Private( const TQDateTime &timeStamp, const Contact *from, const ContactPtrList &to, @@ -145,7 +145,7 @@ Message::~Message() void Message::detach() { - // there is no detach in KSharedPtr :( + // there is no detach in TDESharedPtr :( if( d.count() == 1 ) return; diff --git a/kopete/libkopete/kopetemessage.h b/kopete/libkopete/kopetemessage.h index 366a0204..927b5699 100644 --- a/kopete/libkopete/kopetemessage.h +++ b/kopete/libkopete/kopetemessage.h @@ -411,7 +411,7 @@ private: void doSetBody( const TQString &body, MessageFormat format = PlainText ); class Private; - KSharedPtr d; + TDESharedPtr d; static TQString parseLinks( const TQString &message, MessageFormat format ); }; diff --git a/kopete/libkopete/kopetemessagehandlerchain.h b/kopete/libkopete/kopetemessagehandlerchain.h index 2fd253b9..7f1ea6ee 100644 --- a/kopete/libkopete/kopetemessagehandlerchain.h +++ b/kopete/libkopete/kopetemessagehandlerchain.h @@ -41,13 +41,13 @@ class ProcessMessageTask; * * @author Richard Smith */ -class MessageHandlerChain : public TQObject, private KShared +class MessageHandlerChain : public TQObject, private TDEShared { Q_OBJECT public: - friend class KSharedPtr; - typedef KSharedPtr Ptr; + friend class TDESharedPtr; + typedef TDESharedPtr Ptr; /** * Create a new MessageHandlerChain object with the appropriate handlers for diff --git a/kopete/libkopete/kopeteonlinestatus.cpp b/kopete/libkopete/kopeteonlinestatus.cpp index da9bb5d5..35ec4e4f 100644 --- a/kopete/libkopete/kopeteonlinestatus.cpp +++ b/kopete/libkopete/kopeteonlinestatus.cpp @@ -36,7 +36,7 @@ using namespace Kopete; class OnlineStatus::Private - : public KShared + : public TDEShared { public: StatusType status; diff --git a/kopete/libkopete/kopeteonlinestatus.h b/kopete/libkopete/kopeteonlinestatus.h index 5349677d..b1308131 100644 --- a/kopete/libkopete/kopeteonlinestatus.h +++ b/kopete/libkopete/kopeteonlinestatus.h @@ -401,7 +401,7 @@ public: private: class Private; - KSharedPtr d; + TDESharedPtr d; TQString mimeSource( const TQString& icon, int size, TQColor color, bool idle) const; diff --git a/kopete/libkopete/kopetepicture.cpp b/kopete/libkopete/kopetepicture.cpp index 1336492f..11e067cb 100644 --- a/kopete/libkopete/kopetepicture.cpp +++ b/kopete/libkopete/kopetepicture.cpp @@ -27,7 +27,7 @@ namespace Kopete { -class Picture::Private : public KShared +class Picture::Private : public TDEShared { public: Private() @@ -186,7 +186,7 @@ void Picture::setPicture(const KABC::Picture &picture) void Picture::detach() { - // there is no detach in KSharedPtr. + // there is no detach in TDESharedPtr. if( d.count() == 1 ) return; diff --git a/kopete/libkopete/kopetepicture.h b/kopete/libkopete/kopetepicture.h index a681e7ca..7b8de0d4 100644 --- a/kopete/libkopete/kopetepicture.h +++ b/kopete/libkopete/kopetepicture.h @@ -141,7 +141,7 @@ private: void detach(); class Private; - KSharedPtr d; + TDESharedPtr d; }; }//END namespace Kopete -- cgit v1.2.1