diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
commit | d8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch) | |
tree | f295f1c545b319963d5357af79fe08991d8141d9 /libk3b/jobs/k3bvideodvdtitletranscodingjob.h | |
parent | 2a39a080579fb52a2599c02b2939795385b89093 (diff) | |
download | k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip |
TQt4 port k3b
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3b/jobs/k3bvideodvdtitletranscodingjob.h')
-rw-r--r-- | libk3b/jobs/k3bvideodvdtitletranscodingjob.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/libk3b/jobs/k3bvideodvdtitletranscodingjob.h b/libk3b/jobs/k3bvideodvdtitletranscodingjob.h index 77a48b5..8523d0e 100644 --- a/libk3b/jobs/k3bvideodvdtitletranscodingjob.h +++ b/libk3b/jobs/k3bvideodvdtitletranscodingjob.h @@ -33,9 +33,10 @@ class K3bExternalBin; class LIBK3B_EXPORT K3bVideoDVDTitleTranscodingJob : public K3bJob { Q_OBJECT + TQ_OBJECT public: - K3bVideoDVDTitleTranscodingJob( K3bJobHandler* hdl, QObject* parent ); + K3bVideoDVDTitleTranscodingJob( K3bJobHandler* hdl, TQObject* tqparent ); ~K3bVideoDVDTitleTranscodingJob(); /** @@ -67,7 +68,7 @@ class LIBK3B_EXPORT K3bVideoDVDTitleTranscodingJob : public K3bJob int clippingRight() const { return m_clippingRight; } int height() const { return m_height; } int width() const { return m_width; } - const QString& filename() { return m_filename; } + const TQString& filename() { return m_filename; } VideoCodec videoCodec() const { return m_videoCodec; } int videoBitrate() const { return m_videoBitrate; } bool twoPassEncoding() const { return m_twoPassEncoding; } @@ -87,11 +88,11 @@ class LIBK3B_EXPORT K3bVideoDVDTitleTranscodingJob : public K3bJob */ static bool transcodeBinaryHasSupportFor( AudioCodec codec, const K3bExternalBin* bin = 0 ); - static QString videoCodecString( VideoCodec ); - static QString audioCodecString( AudioCodec ); + static TQString videoCodecString( VideoCodec ); + static TQString audioCodecString( AudioCodec ); - static QString videoCodecDescription( VideoCodec ); - static QString audioCodecDescription( AudioCodec ); + static TQString videoCodecDescription( VideoCodec ); + static TQString audioCodecDescription( AudioCodec ); public slots: void start(); @@ -158,7 +159,7 @@ class LIBK3B_EXPORT K3bVideoDVDTitleTranscodingJob : public K3bJob * The default is some automatically generated filename * in the default K3b temp directory. */ - void setFilename( const QString& name ) { m_filename = name; } + void setFilename( const TQString& name ) { m_filename = name; } /** * Set the video codec used to encode the video title. @@ -228,7 +229,7 @@ class LIBK3B_EXPORT K3bVideoDVDTitleTranscodingJob : public K3bJob void setLowPriority( bool b ) { m_lowPriority = b; } private slots: - void slotTranscodeStderr( const QString& ); + void slotTranscodeStderr( const TQString& ); void slotTranscodeExited( KProcess* ); private: @@ -243,7 +244,7 @@ class LIBK3B_EXPORT K3bVideoDVDTitleTranscodingJob : public K3bJob K3bVideoDVD::VideoDVD m_dvd; - QString m_filename; + TQString m_filename; int m_clippingTop; int m_clippingBottom; |