diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /noatun/library/titleproxy.h | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/library/titleproxy.h')
-rw-r--r-- | noatun/library/titleproxy.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/noatun/library/titleproxy.h b/noatun/library/titleproxy.h index 058943d6..541f3190 100644 --- a/noatun/library/titleproxy.h +++ b/noatun/library/titleproxy.h @@ -20,9 +20,9 @@ email : #include <kurl.h> //stack allocated -#include <qobject.h> -#include <qserversocket.h> //baseclass -#include <qsocket.h> //stack allocated +#include <tqobject.h> +#include <tqserversocket.h> //baseclass +#include <tqsocket.h> //stack allocated class QString; @@ -58,12 +58,12 @@ namespace TitleProxy signals: void metaData( - const QString &streamName, - const QString &streamGenre, - const QString &streamUrl, - const QString &streamBitrate, - const QString &trackTitle, - const QString &trackUrl); + const TQString &streamName, + const TQString &streamGenre, + const TQString &streamUrl, + const TQString &streamBitrate, + const TQString &trackTitle, + const TQString &trackUrl); void proxyError(); private slots: @@ -75,9 +75,9 @@ namespace TitleProxy private: bool processHeader( Q_LONG &index, Q_LONG bytesRead ); - void transmitData( const QString &data ); + void transmitData( const TQString &data ); void error(); - QString extractStr( const QString &str, const QString &key ); + TQString extractStr( const TQString &str, const TQString &key ); //ATTRIBUTES: KURL m_url; @@ -86,25 +86,25 @@ namespace TitleProxy bool m_connectSuccess; int m_metaInt; - QString m_bitRate; + TQString m_bitRate; int m_byteCount; uint m_metaLen; - QString m_metaData; + TQString m_metaData; bool m_headerFinished; - QString m_headerStr; + TQString m_headerStr; int m_usedPort; - QString m_lastMetadata; + TQString m_lastMetadata; bool m_icyMode; - QString m_streamName; - QString m_streamGenre; - QString m_streamUrl; + TQString m_streamName; + TQString m_streamGenre; + TQString m_streamUrl; char *m_pBuf; - QSocket m_sockRemote; - QSocket m_sockProxy; + TQSocket m_sockRemote; + TQSocket m_sockProxy; }; @@ -113,8 +113,8 @@ namespace TitleProxy Q_OBJECT public: - Server( Q_UINT16 port, QObject* parent ) - : QServerSocket( port, 1, parent, "TitleProxyServer" ) {}; + Server( Q_UINT16 port, TQObject* parent ) + : TQServerSocket( port, 1, parent, "TitleProxyServer" ) {}; signals: void connected( int socket ); |