From 9c9412b30c54468adc9e506cc76c5d113fbf5056 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:03 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kopete/libkopete/kopetecommandhandler.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kopete/libkopete/kopetecommandhandler.cpp') diff --git a/kopete/libkopete/kopetecommandhandler.cpp b/kopete/libkopete/kopetecommandhandler.cpp index eba7c4ed..63269c4b 100644 --- a/kopete/libkopete/kopetecommandhandler.cpp +++ b/kopete/libkopete/kopetecommandhandler.cpp @@ -55,7 +55,7 @@ class KopeteCommandGUIClient : public TQObject, public KXMLGUIClient for( TQDictIterator it( mCommands ); it.current(); ++it ) { - KAction *a = static_cast( it.current() ); + TDEAction *a = static_cast( it.current() ); actionCollection()->insert( a ); TQDomElement newNode = doc.createElement( TQString::fromLatin1("Action") ); newNode.setAttribute( TQString::fromLatin1("name"), @@ -89,7 +89,7 @@ struct CommandHandlerPrivate Kopete::CommandHandler *s_handler; TQMap processMap; bool inCommand; - TQPtrList m_commands; + TQPtrList m_commands; }; CommandHandlerPrivate *Kopete::CommandHandler::p = 0L; @@ -157,7 +157,7 @@ Kopete::CommandHandler *Kopete::CommandHandler::commandHandler() } void Kopete::CommandHandler::registerCommand( TQObject *parent, const TQString &command, const char* handlerSlot, - const TQString &help, uint minArgs, int maxArgs, const KShortcut &cut, const TQString &pix ) + const TQString &help, uint minArgs, int maxArgs, const TDEShortcut &cut, const TQString &pix ) { TQString lowerCommand = command.lower(); @@ -173,7 +173,7 @@ void Kopete::CommandHandler::unregisterCommand( TQObject *parent, const TQString } void Kopete::CommandHandler::registerAlias( TQObject *parent, const TQString &alias, const TQString &formatString, - const TQString &help, CommandType type, uint minArgs, int maxArgs, const KShortcut &cut, const TQString &pix ) + const TQString &help, CommandType type, uint minArgs, int maxArgs, const TDEShortcut &cut, const TQString &pix ) { TQString lowerAlias = alias.lower(); -- cgit v1.2.1