summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/liboscar/oscartypeclasses.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/oscar/liboscar/oscartypeclasses.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/oscar/liboscar/oscartypeclasses.h')
-rw-r--r--kopete/protocols/oscar/liboscar/oscartypeclasses.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/kopete/protocols/oscar/liboscar/oscartypeclasses.h b/kopete/protocols/oscar/liboscar/oscartypeclasses.h
index 94e0c910..e4ec6ded 100644
--- a/kopete/protocols/oscar/liboscar/oscartypeclasses.h
+++ b/kopete/protocols/oscar/liboscar/oscartypeclasses.h
@@ -20,10 +20,10 @@
#ifndef _OSCARTYPECLASSES_H_
#define _OSCARTYPECLASSES_H_
-#include <qglobal.h>
-#include <qstring.h>
-#include <qcstring.h>
-#include <qvaluelist.h>
+#include <tqglobal.h>
+#include <tqstring.h>
+#include <tqcstring.h>
+#include <tqvaluelist.h>
#include "kopete_export.h"
namespace Oscar
@@ -34,14 +34,14 @@ public:
TLV();
TLV( Q_UINT16, Q_UINT16, char* data );
- TLV( Q_UINT16, Q_UINT16, const QByteArray& );
+ TLV( Q_UINT16, Q_UINT16, const TQByteArray& );
TLV( const TLV& t );
operator bool() const;
Q_UINT16 type;
Q_UINT16 length;
- QByteArray data;
+ TQByteArray data;
};
@@ -49,7 +49,7 @@ class KOPETE_EXPORT SSI
{
public:
SSI();
- SSI( const QString &name, int gid, int bid, int type, const QValueList<TLV>& tlvlist, int tlvLength = 0 );
+ SSI( const TQString &name, int gid, int bid, int type, const TQValueList<TLV>& tlvlist, int tlvLength = 0 );
SSI( const SSI& other );
/** Get the validity of this item */
@@ -57,7 +57,7 @@ public:
/** \brief The name of this SSI item.
* This is usually the screenname, ICQ number, or group name. */
- QString name() const;
+ TQString name() const;
/** \brief The group id of the SSI item */
Q_UINT16 gid() const;
@@ -73,10 +73,10 @@ public:
Q_UINT16 type() const;
/** \brief the TLV list for the item */
- const QValueList<TLV>& tlvList() const;
+ const TQValueList<TLV>& tlvList() const;
/** \brief Set the TLV list for the item */
- void setTLVList( QValueList<TLV> );
+ void setTLVList( TQValueList<TLV> );
/**
* \brief Set the length of the TLV list
@@ -93,14 +93,14 @@ public:
* Get the alias for the SSI item
* This is TLV 0x0131 in an SSI item
*/
- QString alias() const;
+ TQString alias() const;
/**
* Set the alias for the SSI item
* This should be done after a successful modification of the item
* on the server
*/
- void setAlias( const QString& newAlias );
+ void setAlias( const TQString& newAlias );
/** \brief Indicates we're awaiting authorization from this item */
bool waitingAuth() const;
@@ -108,17 +108,17 @@ public:
/** Set whether we are waiting authorization or not from this item */
void setWaitingAuth( bool waiting );
- void setIconHash( QByteArray hash );
+ void setIconHash( TQByteArray hash );
- QByteArray iconHash() const;
+ TQByteArray iconHash() const;
/** \brief String representation of our SSI object */
- QString toString() const;
+ TQString toString() const;
bool operator==( const SSI& item ) const;
operator bool() const;
- operator QByteArray() const;
+ operator TQByteArray() const;
void refreshTLVLength();
@@ -126,15 +126,15 @@ public:
void checkTLVs();
private:
- QString m_name;
+ TQString m_name;
int m_gid;
int m_bid;
int m_type;
- QValueList<TLV> m_tlvList;
+ TQValueList<TLV> m_tlvList;
int m_tlvLength;
bool m_waitingAuth;
- QString m_alias;
- QByteArray m_hash;
+ TQString m_alias;
+ TQByteArray m_hash;
};
}