diff options
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 ); |