diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/protocols/irc/ircaccount.h | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip |
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
Diffstat (limited to 'kopete/protocols/irc/ircaccount.h')
-rw-r--r-- | kopete/protocols/irc/ircaccount.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/kopete/protocols/irc/ircaccount.h b/kopete/protocols/irc/ircaccount.h index 1aa4072e..a20ccc93 100644 --- a/kopete/protocols/irc/ircaccount.h +++ b/kopete/protocols/irc/ircaccount.h @@ -73,6 +73,7 @@ class IRCAccount friend class IRCProtocolHandler; Q_OBJECT + TQ_OBJECT public: static const TQString CONFIG_CODECMIB; @@ -100,8 +101,8 @@ public: Ignore = 5 }; - IRCAccount(IRCProtocol *p, const TQString &accountid, const TQString &autoConnect = TQString::null, - const TQString& networkName = TQString::null, const TQString &nickName = TQString::null); + IRCAccount(IRCProtocol *p, const TQString &accountid, const TQString &autoConnect = TQString(), + const TQString& networkName = TQString(), const TQString &nickName = TQString()); virtual ~IRCAccount(); void setNickName( const TQString & ); @@ -157,12 +158,12 @@ public slots: virtual KActionMenu *actionMenu(); - virtual void setAway( bool isAway, const TQString &awayMessage = TQString::null ); + virtual void setAway( bool isAway, const TQString &awayMessage = TQString() ); virtual bool isConnected(); /** Reimplemented from Kopete::Account */ - void setOnlineStatus( const Kopete::OnlineStatus& status , const TQString &reason = TQString::null); + void setOnlineStatus( const Kopete::OnlineStatus& status , const TQString &reason = TQString()); // Returns the KIRC engine instance KIRC::Engine *engine() const { return m_engine; } @@ -183,17 +184,17 @@ public slots: virtual void connectWithPassword( const TQString & ); virtual void disconnect(); - void quit( const TQString &quitMessage = TQString::null ); + void quit( const TQString &quitMessage = TQString() ); void listChannels(); void appendMessage( const TQString &message, MessageType type = Default ); protected: - virtual bool createContact( const TQString &contactId, Kopete::MetaContact *parentContact ) ; + virtual bool createContact( const TQString &contactId, Kopete::MetaContact *tqparentContact ) ; private slots: - void engineStatusChanged(KIRC::Engine::Status newStatus); + void engineStatusChanged(KIRC::Engine::tqStatus newtqStatus); void destroyed(IRCContact *contact); |