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 /plugins/encoder/ogg/k3boggvorbisencoder.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 'plugins/encoder/ogg/k3boggvorbisencoder.h')
-rw-r--r-- | plugins/encoder/ogg/k3boggvorbisencoder.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/plugins/encoder/ogg/k3boggvorbisencoder.h b/plugins/encoder/ogg/k3boggvorbisencoder.h index 0148713..801021f 100644 --- a/plugins/encoder/ogg/k3boggvorbisencoder.h +++ b/plugins/encoder/ogg/k3boggvorbisencoder.h @@ -27,28 +27,29 @@ class base_K3bOggVorbisEncoderSettingsWidget; class K3bOggVorbisEncoder : public K3bAudioEncoder { Q_OBJECT + TQ_OBJECT public: - K3bOggVorbisEncoder( QObject* parent = 0, const char* name = 0 ); + K3bOggVorbisEncoder( TQObject* tqparent = 0, const char* name = 0 ); ~K3bOggVorbisEncoder(); - QStringList extensions() const { return QStringList("ogg"); } + TQStringList extensions() const { return TQStringList("ogg"); } - QString fileTypeComment( const QString& ) const; + TQString fileTypeComment( const TQString& ) const; - long long fileSize( const QString&, const K3b::Msf& msf ) const; + long long fileSize( const TQString&, const K3b::Msf& msf ) const; int pluginSystemVersion() const { return 3; } - K3bPluginConfigWidget* createConfigWidget( QWidget* parent = 0, + K3bPluginConfigWidget* createConfigWidget( TQWidget* tqparent = 0, const char* name = 0 ) const; private: void loadConfig(); void finishEncoderInternal(); - bool initEncoderInternal( const QString& extension, const K3b::Msf& length ); - long encodeInternal( const char* data, Q_ULONG len ); - void setMetaDataInternal( MetaDataField, const QString& ); + bool initEncoderInternal( const TQString& extension, const K3b::Msf& length ); + long encodeInternal( const char* data, TQ_ULONG len ); + void setMetaDataInternal( MetaDataField, const TQString& ); bool writeOggHeaders(); void cleanup(); @@ -62,9 +63,10 @@ class K3bOggVorbisEncoder : public K3bAudioEncoder class K3bOggVorbisEncoderSettingsWidget : public K3bPluginConfigWidget { Q_OBJECT + TQ_OBJECT public: - K3bOggVorbisEncoderSettingsWidget( QWidget* parent = 0, const char* name = 0 ); + K3bOggVorbisEncoderSettingsWidget( TQWidget* tqparent = 0, const char* name = 0 ); ~K3bOggVorbisEncoderSettingsWidget(); public slots: |