diff --git a/doc/en/index.docbook b/doc/en/index.docbook index 79a8152..69c307c 100644 --- a/doc/en/index.docbook +++ b/doc/en/index.docbook @@ -513,11 +513,11 @@ or from command line with dcop kaffeine KaffeineIface openURL best_song -void openURL(QString URL) +void openURL(TQString URL) Opens and plays the given URL. -void appendURL(QString URL) +void appendURL(TQString URL) Appends the URL to current playlist. @@ -550,10 +550,10 @@ or from command line with dcop kaffeine KaffeineIface openURL best_song void stop() Stops playback. -QString title() +TQString title() Returns the title of the current track. -QString getFileName() +TQString getFileName() Returns filename of current track. int getLength() diff --git a/kaffeine/fast-slow-dcop.patch b/kaffeine/fast-slow-dcop.patch index 4bced05..07a0d54 100644 --- a/kaffeine/fast-slow-dcop.patch +++ b/kaffeine/fast-slow-dcop.patch @@ -3,7 +3,7 @@ Index: src/player-parts/xine-part/xine_part.h --- src/player-parts/xine-part/xine_part.h (revision 746328) +++ src/player-parts/xine-part/xine_part.h (working copy) @@ -108,6 +108,8 @@ - QString screenShot(); + TQString screenShot(); void nextAudioChannel(); void nextSubtitleChannel(); + void speedFaster(); diff --git a/kaffeine/src/kaffeine.profile.xml b/kaffeine/src/kaffeine.profile.xml index bf1d3b2..4c1e702 100644 --- a/kaffeine/src/kaffeine.profile.xml +++ b/kaffeine/src/kaffeine.profile.xml @@ -5,10 +5,10 @@ Kaffeine Gav Wood,Jürgen Kofler - + Play URL Starts playback of a specific URL. - + The URL to be played. @@ -36,7 +36,7 @@ Change Playlist Change to the next kaffeine playlist. - + Get Title Returns the title of current track. diff --git a/kaffeine/src/player-parts/xine-part/README b/kaffeine/src/player-parts/xine-part/README index 6b8e280..cf61f16 100644 --- a/kaffeine/src/player-parts/xine-part/README +++ b/kaffeine/src/player-parts/xine-part/README @@ -25,7 +25,7 @@ class MyPlayer : public MainWindow MyPlayer(); ~MyPlayer(); - void loadURL(const QString&); + void loadURL(const TQString&); //... private: @@ -50,7 +50,7 @@ MyPlayer::MyPlayer() : TDEMainWindow(0) //.. } -void MyPlayer::loadURL(const QString& url) +void MyPlayer::loadURL(const TQString& url) { m_player->openURL(url); } diff --git a/kaffeine/terminate.patch b/kaffeine/terminate.patch index 28ed232..24a632a 100644 --- a/kaffeine/terminate.patch +++ b/kaffeine/terminate.patch @@ -37,7 +37,7 @@ diff -ru kaffeine-0.8.4.cvs.orig/kaffeine/src/input/dvb/dvbout.cpp kaffeine-0.8. } @@ -248,6 +248,7 @@ - bool DVBout::doPause( const QString &name ) // called from dvbstream::run() + bool DVBout::doPause( const TQString &name ) // called from dvbstream::run() { + fprintf(stderr,"DVBout::doPause\n"); if ( !haveLive ) @@ -73,7 +73,7 @@ diff -ru kaffeine-0.8.4.cvs.orig/kaffeine/src/input/dvb/dvbout.cpp kaffeine-0.8. return true; @@ -288,11 +279,10 @@ - bool DVBout::goLive( const QString &name ) + bool DVBout::goLive( const TQString &name ) { - if ( fdPipe ) return false; - @@ -239,21 +239,21 @@ diff -ru kaffeine-0.8.4.cvs.orig/kaffeine/src/input/dvb/dvbout.h kaffeine-0.8.4. class KaffeineDvbPlugin; --class DVBout : public QObject, public QThread -+class DVBout : public QObject, private QThread +-class DVBout : public TQObject, public QThread ++class DVBout : public TQObject, private QThread { TQ_OBJECT @@ -77,13 +77,13 @@ void writePat(); void calculateCRC( unsigned char *p_begin, unsigned char *p_end ); - void renameFile( QString &name, const QString &ext ); + void renameFile( TQString &name, const TQString &ext ); + bool writeBytes(int fd, const unsigned char *buf, int bytes); int pmtpid; bool patpmt, wpatpmt; bool timeShifting; - QString pipeName; + TQString pipeName; QFile outFile, liveFile; - int fdPipe; Ts2Rtp *rtp;