summaryrefslogtreecommitdiffstats
path: root/kplayer/kplayerprocess.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-03-26 17:46:47 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-03-26 17:54:28 +0100
commit77a8a8f9dfc9a5cbbb8113c4e9cff6cc99e17d9f (patch)
tree14435c2fcf5d00244011e39a587dcbd81bc6d4d6 /kplayer/kplayerprocess.h
parent172761c982ab8ecb67dce7840564af5e89486d68 (diff)
downloadkplayer-77a8a8f9dfc9a5cbbb8113c4e9cff6cc99e17d9f.tar.gz
kplayer-77a8a8f9dfc9a5cbbb8113c4e9cff6cc99e17d9f.zip
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kplayer/kplayerprocess.h')
-rw-r--r--kplayer/kplayerprocess.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kplayer/kplayerprocess.h b/kplayer/kplayerprocess.h
index 44bb301..77b4db3 100644
--- a/kplayer/kplayerprocess.h
+++ b/kplayer/kplayerprocess.h
@@ -20,9 +20,9 @@
#include <kio/job.h>
#include <kprocess.h>
#include <kurl.h>
-#include <qfile.h>
-#include <qobject.h>
-#include <qptrlist.h>
+#include <tqfile.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
class KPlayerConfiguration;
class KPlayerTrackProperties;
@@ -108,7 +108,7 @@ protected:
/**Handles the MPlayer process invocation, input and output.
*@author kiriuja
*/
-class KPlayerProcess : public QObject
+class KPlayerProcess : public TQObject
{
Q_OBJECT
@@ -176,7 +176,7 @@ public:
float position (void) const
{ return m_position; }
/** Current position as string. */
- QString positionString (void) const;
+ TQString positionString (void) const;
/** Changes volume level. */
void volume (int);
@@ -232,9 +232,9 @@ protected:
KPlayerConfiguration* configuration (void) const;
/** Sends the given command to the MPlayer process. */
- void sendPlayerCommand (QCString&);
+ void sendPlayerCommand (TQCString&);
/** Sends the given command to the MPlayer helper process. */
- void sendHelperCommand (QCString&);
+ void sendHelperCommand (TQCString&);
/** Closes and unlinks the named pipe. */
void removeDataFifo (void);
@@ -262,22 +262,22 @@ protected:
void transferTemporaryFile (void);
/** Name of named pipe used to send data to MPlayer. */
- QCString m_fifo_name;
+ TQCString m_fifo_name;
/** Handle of named pipe used to send data to MPlayer. */
int m_fifo_handle;
/** Offset of data to send. */
uint m_fifo_offset;
/** Fifo notifier object. */
- QSocketNotifier* m_fifo_notifier;
+ TQSocketNotifier* m_fifo_notifier;
/** Fifo timer object. */
- QTimer* m_fifo_timer;
+ TQTimer* m_fifo_timer;
/** Transfer job. */
KIO::TransferJob* m_slave_job;
/** Temporary file transfer job. */
KIO::TransferJob* m_temp_job;
/** Cached transfer data. */
- QPtrList<QByteArray> m_cache;
+ TQPtrList<TQByteArray> m_cache;
/** Temporary file from KIOSlave. */
KTempFile* m_temporary_file;
@@ -288,9 +288,9 @@ protected:
/** Current subtitle index. */
int m_subtitle_index;
/** Current list of external subtitles. */
- QStringList m_subtitles;
+ TQStringList m_subtitles;
/** Current vobsub external subtitles. */
- QString m_vobsub;
+ TQString m_vobsub;
/** Current audio delay. */
float m_audio_delay;
@@ -324,13 +324,13 @@ protected slots:
/** Receives notification when the data has been written to the fifo. */
void playerDataWritten (int);
/** Transfers data from a KIOSlave to an MPlayer process. */
- void transferData (KIO::Job*, const QByteArray&);
+ void transferData (KIO::Job*, const TQByteArray&);
/** Transfers data from a KIOSlave to a temporary file. */
- void transferTempData (KIO::Job*, const QByteArray&);
+ void transferTempData (KIO::Job*, const TQByteArray&);
/** Emits file transfer progress signal. */
void transferProgress (KIO::Job*, unsigned long);
/** Emits message received signal. */
- void transferInfoMessage (KIO::Job*, const QString&);
+ void transferInfoMessage (KIO::Job*, const TQString&);
/** Processes the result of a slave transfer job. */
void transferDone (KIO::Job*);
/** Processes the result of a temporary file transfer job. */
@@ -350,7 +350,7 @@ signals:
/** Emitted when the video size becomes known. */
void sizeAvailable (void);
/** Emitted when a message is received from the mplayer process. */
- void messageReceived (QString);
+ void messageReceived (TQString);
/** Emitted when MPlayer fails to play a file. */
void errorDetected (void);
};