diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/irc/libkirc/kircmessageredirector.cpp | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-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/protocols/irc/libkirc/kircmessageredirector.cpp')
-rw-r--r-- | kopete/protocols/irc/libkirc/kircmessageredirector.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kopete/protocols/irc/libkirc/kircmessageredirector.cpp b/kopete/protocols/irc/libkirc/kircmessageredirector.cpp index 49194ce0..2e1d0b4c 100644 --- a/kopete/protocols/irc/libkirc/kircmessageredirector.cpp +++ b/kopete/protocols/irc/libkirc/kircmessageredirector.cpp @@ -22,21 +22,21 @@ using namespace KIRC; MessageRedirector::MessageRedirector(KIRC::Engine *engine, - int argsSize_min, int argsSize_max, const QString &helpMessage) - : QObject(engine, "KIRC::MessageRedirector"), + int argsSize_min, int argsSize_max, const TQString &helpMessage) + : TQObject(engine, "KIRC::MessageRedirector"), m_argsSize_min(argsSize_min), m_argsSize_max(argsSize_max), m_helpMessage(helpMessage) { } -bool MessageRedirector::connect(QObject *object, const char *member) +bool MessageRedirector::connect(TQObject *object, const char *member) { - return QObject::connect(this, SIGNAL(redirect(KIRC::Message &)), + return TQObject::connect(this, TQT_SIGNAL(redirect(KIRC::Message &)), object, member); } -QStringList MessageRedirector::operator () (Message &msg) +TQStringList MessageRedirector::operator () (Message &msg) { m_errors.clear(); @@ -49,12 +49,12 @@ QStringList MessageRedirector::operator () (Message &msg) return m_errors; } -QString MessageRedirector::helpMessage() +TQString MessageRedirector::helpMessage() { return m_helpMessage; } -void MessageRedirector::error(QString &message) +void MessageRedirector::error(TQString &message) { m_errors.append(message); } @@ -82,7 +82,7 @@ bool MessageRedirector::checkValidity(const Message &msg) ( msg.argsSize() > 0 && ( msg.arg(0) == m_Nickname || msg.arg(0) == m_PendingNick || - msg.arg(0) == QString::fromLatin1("*") + msg.arg(0) == TQString::fromLatin1("*") ) ) ) |