diff options
Diffstat (limited to 'kopete/protocols/irc/ircprotocol.h')
-rw-r--r-- | kopete/protocols/irc/ircprotocol.h | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/kopete/protocols/irc/ircprotocol.h b/kopete/protocols/irc/ircprotocol.h index 2a1700e5..0028e60b 100644 --- a/kopete/protocols/irc/ircprotocol.h +++ b/kopete/protocols/irc/ircprotocol.h @@ -24,7 +24,7 @@ #include "kopetemimetypehandler.h" #include <dom/dom_node.h> -#include <qdict.h> +#include <tqdict.h> #define m_protocol (IRCProtocol::protocol()) @@ -56,7 +56,7 @@ class IRCProtocolHandler : public Kopete::MimeTypeHandler void handleURL( const KURL &url ) const; }; -static const QString CHAT_VIEW( QString::fromLatin1("kopete_chatwindow") ); +static const TQString CHAT_VIEW( TQString::fromLatin1("kopete_chatwindow") ); /** * @author Nick Betcher <nbetcher@kde.org> @@ -81,23 +81,23 @@ public: OnlineServer = 32768 //! This server is online. }; - IRCProtocol( QObject *parent, const char *name, const QStringList &args ); + IRCProtocol( TQObject *parent, const char *name, const TQStringList &args ); ~IRCProtocol(); /** Kopete::Protocol reimplementation */ - virtual AddContactPage *createAddContactWidget(QWidget *parent, Kopete::Account *account); + virtual AddContactPage *createAddContactWidget(TQWidget *parent, Kopete::Account *account); /** * Deserialize contact data */ virtual Kopete::Contact *deserializeContact( Kopete::MetaContact *metaContact, - const QMap<QString, QString> &serializedData, const QMap<QString, QString> &addressBookData ); + const TQMap<TQString, TQString> &serializedData, const TQMap<TQString, TQString> &addressBookData ); - virtual KopeteEditAccountWidget* createEditAccountWidget(Kopete::Account *account, QWidget *parent); + virtual KopeteEditAccountWidget* createEditAccountWidget(Kopete::Account *account, TQWidget *parent); - virtual Kopete::Account* createNewAccount(const QString &accountId); + virtual Kopete::Account* createNewAccount(const TQString &accountId); - virtual QPtrList<KAction> *customChatWindowPopupActions( const Kopete::Message &, DOM::Node & ); + virtual TQPtrList<KAction> *customChatWindowPopupActions( const Kopete::Message &, DOM::Node & ); static IRCProtocol *protocol(); @@ -142,13 +142,13 @@ public: bool commandInProgress(){ return m_commandInProgress; } void setCommandInProgress( bool ip ) { m_commandInProgress = ip; } - QDict<IRCNetwork> &networks(){ return m_networks; } + TQDict<IRCNetwork> &networks(){ return m_networks; } void addNetwork( IRCNetwork *network ); - void editNetworks( const QString &networkName = QString::null ); + void editNetworks( const TQString &networkName = TQString::null ); signals: - void networkConfigUpdated( const QString &selectedNetwork ); + void networkConfigUpdated( const TQString &selectedNetwork ); private slots: // FIXME: All the code for managing the networks list should be in another class - Will @@ -168,48 +168,48 @@ private slots: void slotMessageFilter( Kopete::Message &msg ); - void slotRawCommand( const QString &args, Kopete::ChatSession *manager ); - void slotQuoteCommand( const QString &args, Kopete::ChatSession *manager ); - void slotCtcpCommand( const QString &args, Kopete::ChatSession *manager ); - void slotPingCommand( const QString &args, Kopete::ChatSession *manager ); - - void slotMotdCommand( const QString &args, Kopete::ChatSession *manager); - void slotListCommand( const QString &args, Kopete::ChatSession *manager); - void slotTopicCommand( const QString &args, Kopete::ChatSession *manager); - void slotJoinCommand( const QString &args, Kopete::ChatSession *manager); - void slotNickCommand( const QString &args, Kopete::ChatSession *manager); - void slotWhoisCommand( const QString &args, Kopete::ChatSession *manager); - void slotWhoWasCommand( const QString &args, Kopete::ChatSession *manager); - void slotWhoCommand( const QString &args, Kopete::ChatSession *manager); - void slotMeCommand( const QString &args, Kopete::ChatSession *manager); - void slotAllMeCommand( const QString &args, Kopete::ChatSession *manager); - void slotModeCommand( const QString &args, Kopete::ChatSession *manager); - void slotQueryCommand( const QString &args, Kopete::ChatSession *manager); - - void slotKickCommand( const QString &args, Kopete::ChatSession *manager); - void slotBanCommand( const QString &args, Kopete::ChatSession *manager); - void slotOpCommand( const QString &args, Kopete::ChatSession *manager); - void slotDeopCommand( const QString &args, Kopete::ChatSession *manager); - void slotVoiceCommand( const QString &args, Kopete::ChatSession *manager); - void slotDevoiceCommand( const QString &args, Kopete::ChatSession *manager); - void slotQuitCommand( const QString &args, Kopete::ChatSession *manager); - void slotPartCommand( const QString &args, Kopete::ChatSession *manager); - void slotInviteCommand( const QString &args, Kopete::ChatSession *manager); + void slotRawCommand( const TQString &args, Kopete::ChatSession *manager ); + void slotQuoteCommand( const TQString &args, Kopete::ChatSession *manager ); + void slotCtcpCommand( const TQString &args, Kopete::ChatSession *manager ); + void slotPingCommand( const TQString &args, Kopete::ChatSession *manager ); + + void slotMotdCommand( const TQString &args, Kopete::ChatSession *manager); + void slotListCommand( const TQString &args, Kopete::ChatSession *manager); + void slotTopicCommand( const TQString &args, Kopete::ChatSession *manager); + void slotJoinCommand( const TQString &args, Kopete::ChatSession *manager); + void slotNickCommand( const TQString &args, Kopete::ChatSession *manager); + void slotWhoisCommand( const TQString &args, Kopete::ChatSession *manager); + void slotWhoWasCommand( const TQString &args, Kopete::ChatSession *manager); + void slotWhoCommand( const TQString &args, Kopete::ChatSession *manager); + void slotMeCommand( const TQString &args, Kopete::ChatSession *manager); + void slotAllMeCommand( const TQString &args, Kopete::ChatSession *manager); + void slotModeCommand( const TQString &args, Kopete::ChatSession *manager); + void slotQueryCommand( const TQString &args, Kopete::ChatSession *manager); + + void slotKickCommand( const TQString &args, Kopete::ChatSession *manager); + void slotBanCommand( const TQString &args, Kopete::ChatSession *manager); + void slotOpCommand( const TQString &args, Kopete::ChatSession *manager); + void slotDeopCommand( const TQString &args, Kopete::ChatSession *manager); + void slotVoiceCommand( const TQString &args, Kopete::ChatSession *manager); + void slotDevoiceCommand( const TQString &args, Kopete::ChatSession *manager); + void slotQuitCommand( const TQString &args, Kopete::ChatSession *manager); + void slotPartCommand( const TQString &args, Kopete::ChatSession *manager); + void slotInviteCommand( const TQString &args, Kopete::ChatSession *manager); void slotViewCreated( KopeteView * ); private: static IRCProtocol *s_protocol; - void simpleModeChange( const QString &, Kopete::ChatSession *, const QString &mode ); + void simpleModeChange( const TQString &, Kopete::ChatSession *, const TQString &mode ); // FIXME: All the code for managing the networks list should be in another class - Will void storeCurrentNetwork(); void storeCurrentHost(); NetworkConfig *netConf; - QString m_uiCurrentNetworkSelection; - QString m_uiCurrentHostSelection; + TQString m_uiCurrentNetworkSelection; + TQString m_uiCurrentHostSelection; // end of network list specific code DOM::Node activeNode; @@ -217,8 +217,8 @@ private: bool m_commandInProgress; - QDict<IRCNetwork> m_networks; - QDict<IRCHost> m_hosts; + TQDict<IRCNetwork> m_networks; + TQDict<IRCHost> m_hosts; IRCProtocolHandler *m_protocolHandler; }; |