diff options
Diffstat (limited to 'noatun/library/titleproxy.h')
-rw-r--r-- | noatun/library/titleproxy.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/noatun/library/titleproxy.h b/noatun/library/titleproxy.h index 7bbb3143..947ccff5 100644 --- a/noatun/library/titleproxy.h +++ b/noatun/library/titleproxy.h @@ -46,9 +46,10 @@ namespace TitleProxy * @short A proxy server for extracting metadata from Shoutcast streams. */ - class Proxy : public QObject + class Proxy : public TQObject { Q_OBJECT + TQ_OBJECT public: Proxy( KURL url ); ~Proxy(); @@ -74,7 +75,7 @@ namespace TitleProxy void connectError(); private: - bool processHeader( Q_LONG &index, Q_LONG bytesRead ); + bool processHeader( TQ_LONG &index, TQ_LONG bytesRead ); void transmitData( const TQString &data ); void error(); TQString extractStr( const TQString &str, const TQString &key ); @@ -108,13 +109,14 @@ namespace TitleProxy }; - class Server : public QServerSocket + class Server : public TQServerSocket { Q_OBJECT + TQ_OBJECT public: - Server( Q_UINT16 port, TQObject* parent ) - : TQServerSocket( port, 1, parent, "TitleProxyServer" ) {}; + Server( TQ_UINT16 port, TQObject* tqparent ) + : TQServerSocket( port, 1, tqparent, "TitleProxyServer" ) {}; signals: void connected( int socket ); |