From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/libkopete/private/kopetecommand.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'kopete/libkopete/private/kopetecommand.h') diff --git a/kopete/libkopete/private/kopetecommand.h b/kopete/libkopete/private/kopetecommand.h index 6a686f1e..d49de208 100644 --- a/kopete/libkopete/private/kopetecommand.h +++ b/kopete/libkopete/private/kopetecommand.h @@ -30,12 +30,13 @@ class ChatSession; class Command : public KAction { Q_OBJECT + TQ_OBJECT public: /** * Creates a Kopete::Command object * - * @param parent The plugin who owns this command + * @param tqparent The plugin who owns this command * @param command The command we want to handle, not including the '/' * @param handlerSlot The slot used to handle the command. This slot must * accept two parameters, a TQString of arguments, and a Kopete::ChatSession @@ -49,10 +50,10 @@ class Command : public KAction * @param cut The shortcut for the command * @param pix The icon to use for the command */ - Command( TQObject *parent, const TQString &command, const char* handlerSlot, - const TQString &help = TQString::null, CommandHandler::CommandType type = CommandHandler::Normal, const TQString &formatString = TQString::null, + Command( TQObject *tqparent, const TQString &command, const char* handlerSlot, + const TQString &help = TQString(), CommandHandler::CommandType type = CommandHandler::Normal, const TQString &formatString = TQString(), uint minArgs = 0, int maxArgs = -1, const KShortcut &cut = 0, - const TQString &pix = TQString::null ); + const TQString &pix = TQString() ); /** * Process this command -- cgit v1.2.1