summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/ircusercontact.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/protocols/irc/ircusercontact.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/protocols/irc/ircusercontact.h')
-rw-r--r--kopete/protocols/irc/ircusercontact.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/kopete/protocols/irc/ircusercontact.h b/kopete/protocols/irc/ircusercontact.h
index 3373fa9c..b1cafa11 100644
--- a/kopete/protocols/irc/ircusercontact.h
+++ b/kopete/protocols/irc/ircusercontact.h
@@ -35,21 +35,21 @@ class IRCChannelContact;
struct IRCUserInfo
{
- QString userName;
- QString hostName;
- QString realName;
- QString serverName;
- QString serverInfo;
- QString flags;
- QStringList channels;
+ TQString userName;
+ TQString hostName;
+ TQString realName;
+ TQString serverName;
+ TQString serverInfo;
+ TQString flags;
+ TQStringList channels;
unsigned long idle;
bool isOperator;
bool isIdentified;
bool away;
bool online;
uint hops;
- QDateTime lastOnline;
- QTime lastUpdate;
+ TQDateTime lastOnline;
+ TQTime lastUpdate;
};
/**
@@ -64,41 +64,41 @@ class IRCUserContact : public IRCContact
public:
// This class provides a Kopete::Contact for each user on the channel.
- IRCUserContact(IRCContactManager *, const QString &nickname, Kopete::MetaContact *mc);
+ IRCUserContact(IRCContactManager *, const TQString &nickname, Kopete::MetaContact *mc);
// Kopete::Contact stuff
- virtual QPtrList<KAction> *customContextMenuActions( Kopete::ChatSession *manager );
- virtual const QString caption() const;
+ virtual TQPtrList<KAction> *customContextMenuActions( Kopete::ChatSession *manager );
+ virtual const TQString caption() const;
void setAway(bool isAway);
- QString formattedName() const;
+ TQString formattedName() const;
//Methods handled by the signal mapper
- void incomingUserIsAway(const QString &message );
+ void incomingUserIsAway(const TQString &message );
void userOnline();
- void newAction( const QString &from, const QString &action );
- void newWhoIsUser(const QString &username, const QString &hostname, const QString &realname);
- void newWhoIsServer(const QString &server, const QString &serverInfo);
+ void newAction( const TQString &from, const TQString &action );
+ void newWhoIsUser(const TQString &username, const TQString &hostname, const TQString &realname);
+ void newWhoIsServer(const TQString &server, const TQString &serverInfo);
void newWhoIsOperator();
void newWhoIsIdentified();
void newWhoIsIdle(unsigned long seconds);
- void newWhoIsChannels(const QString &channel);
+ void newWhoIsChannels(const TQString &channel);
void whoIsComplete();
void whoWasComplete();
- void newWhoReply( const QString &channel, const QString &user, const QString &host,
- const QString &server, bool away, const QString &flags, uint hops,
- const QString &realName );
+ void newWhoReply( const TQString &channel, const TQString &user, const TQString &host,
+ const TQString &server, bool away, const TQString &flags, uint hops,
+ const TQString &realName );
public slots:
/** \brief Updates online status for channels based on current internal status.
*/
virtual void updateStatus();
- virtual void sendFile(const KURL &sourceURL, const QString&, unsigned int);
+ virtual void sendFile(const KURL &sourceURL, const TQString&, unsigned int);
protected slots:
- virtual void privateMessage(IRCContact *from, IRCContact *to, const QString &message);
+ virtual void privateMessage(IRCContact *from, IRCContact *to, const TQString &message);
private slots:
void slotOp();
@@ -122,13 +122,13 @@ private slots:
virtual void slotUserInfo();
//This can't be handled by the contact manager since
- void slotIncomingModeChange(const QString &nick, const QString &channel, const QString &mode);
+ void slotIncomingModeChange(const TQString &nick, const TQString &channel, const TQString &mode);
private:
enum bitAdjustment { RemoveBits, AddBits };
void adjustInternalOnlineStatusBits(IRCChannelContact *channel, unsigned statusAdjustment, bitAdjustment adj);
- void contactMode(const QString &mode);
+ void contactMode(const TQString &mode);
void updateInfo();
KActionMenu *actionModeMenu;
@@ -137,7 +137,7 @@ private:
KActionMenu *actionBanMenu;
KCodecAction *codecAction;
Kopete::ChatSession *mActiveManager;
- QTimer *mOnlineTimer;
+ TQTimer *mOnlineTimer;
IRCUserInfo mInfo;
};