summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/ircaccount.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/irc/ircaccount.h')
-rw-r--r--kopete/protocols/irc/ircaccount.h15
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);