summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/private/kopetecommand.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/libkopete/private/kopetecommand.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/libkopete/private/kopetecommand.h')
-rw-r--r--kopete/libkopete/private/kopetecommand.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kopete/libkopete/private/kopetecommand.h b/kopete/libkopete/private/kopetecommand.h
index 298872db..6a686f1e 100644
--- a/kopete/libkopete/private/kopetecommand.h
+++ b/kopete/libkopete/private/kopetecommand.h
@@ -18,7 +18,7 @@
#ifndef __KOPETECOMMAND_H__
#define __KOPETECOMMAND_H__
-#include <qobject.h>
+#include <tqobject.h>
#include <kaction.h>
#include "kopetecommandhandler.h"
@@ -38,7 +38,7 @@ class Command : public KAction
* @param parent 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 QString of arguments, and a Kopete::ChatSession
+ * accept two parameters, a TQString of arguments, and a Kopete::ChatSession
* pointer to the Manager under which the command was sent.
* @param help An optional help string to be shown when the user uses
* /help <i>command</i>
@@ -49,25 +49,25 @@ class Command : public KAction
* @param cut The shortcut for the command
* @param pix The icon to use for the command
*/
- Command( QObject *parent, const QString &command, const char* handlerSlot,
- const QString &help = QString::null, CommandHandler::CommandType type = CommandHandler::Normal, const QString &formatString = QString::null,
+ Command( TQObject *parent, const TQString &command, const char* handlerSlot,
+ const TQString &help = TQString::null, CommandHandler::CommandType type = CommandHandler::Normal, const TQString &formatString = TQString::null,
uint minArgs = 0, int maxArgs = -1, const KShortcut &cut = 0,
- const QString &pix = QString::null );
+ const TQString &pix = TQString::null );
/**
* Process this command
*/
- void processCommand( const QString &args, ChatSession *manager, bool gui = false );
+ void processCommand( const TQString &args, ChatSession *manager, bool gui = false );
/**
* Returns the command this object handles
*/
- const QString &command() const { return m_command; };
+ const TQString &command() const { return m_command; };
/**
* Returns the help string for this command
*/
- const QString &help() const { return m_help; };
+ const TQString &help() const { return m_help; };
/**
* Returns the type of the command
@@ -80,7 +80,7 @@ class Command : public KAction
* has been handled, all processing on it stops by the command handler
* (a command cannot be handled twice)
*/
- void handleCommand( const QString &args, Kopete::ChatSession *manager );
+ void handleCommand( const TQString &args, Kopete::ChatSession *manager );
private slots:
/**
@@ -89,15 +89,15 @@ class Command : public KAction
void slotAction();
private:
- void init( const QString &command, const char* slot, const QString &help,
- CommandHandler::CommandType type, const QString &formatString,
+ void init( const TQString &command, const char* slot, const TQString &help,
+ CommandHandler::CommandType type, const TQString &formatString,
uint minArgs, int maxArgs );
- void printError( const QString &error, ChatSession *manager, bool gui = false ) const;
+ void printError( const TQString &error, ChatSession *manager, bool gui = false ) const;
- QString m_command;
- QString m_help;
- QString m_formatString;
+ TQString m_command;
+ TQString m_help;
+ TQString m_formatString;
uint m_minArgs;
int m_maxArgs;
bool m_processing;