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/skeleton.cpp | |
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/skeleton.cpp')
-rw-r--r-- | plugins/encoder/skeleton.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/plugins/encoder/skeleton.cpp b/plugins/encoder/skeleton.cpp index 7a46caf..ef1a1c9 100644 --- a/plugins/encoder/skeleton.cpp +++ b/plugins/encoder/skeleton.cpp @@ -25,8 +25,8 @@ K_EXPORT_COMPONENT_FACTORY( libk3b<name>encoder, K3bPluginFactory<K3b<name>Encoder>( "libk3b<name>encoder" ) ) -K3b<name>Encoder::K3b<name>Encoder( QObject* parent, const char* name ) - : K3bAudioEncoder( parent, name ) +K3b<name>Encoder::K3b<name>Encoder( TQObject* tqparent, const char* name ) + : K3bAudioEncoder( tqparent, name ) { } @@ -36,14 +36,14 @@ K3b<name>Encoder::~K3b<name>Encoder() } -bool K3b<name>Encoder::initEncoderInternal( const QString& ) +bool K3b<name>Encoder::initEncoderInternal( const TQString& ) { // PUT YOUR CODE HERE return false; } -long K3b<name>Encoder::encodeInternal( const char* data, Q_ULONG len ) +long K3b<name>Encoder::encodeInternal( const char* data, TQ_ULONG len ) { // PUT YOUR CODE HERE return false; @@ -56,43 +56,43 @@ void K3b<name>Encoder::finishEncoderInternal() } -void K3b<name>Encoder::setMetaDataInternal( K3bAudioEncoder::MetaDataField f, const QString& value ) +void K3b<name>Encoder::setMetaDataInternal( K3bAudioEncoder::MetaDataField f, const TQString& value ) { // PUT YOUR CODE HERE } -QStringList K3b<name>Encoder::extensions() const +TQStringList K3b<name>Encoder::extensions() const { // PUT YOUR CODE HERE - return QStringList( "" ); + return TQStringList( "" ); } -QString K3b<name>Encoder::fileTypeComment( const QString& ) const +TQString K3b<name>Encoder::fileTypeComment( const TQString& ) const { // PUT YOUR CODE HERE return ""; } -long long K3b<name>Encoder::fileSize( const QString&, const K3b::Msf& msf ) const +long long K3b<name>Encoder::fileSize( const TQString&, const K3b::Msf& msf ) const { // PUT YOUR CODE HERE return -1; } -K3bPluginConfigWidget* K3b<name>Encoder::createConfigWidget( QWidget* parent, +K3bPluginConfigWidget* K3b<name>Encoder::createConfigWidget( TQWidget* tqparent, const char* name ) const { - return new K3b<name>EncoderSettingsWidget( parent, name ); + return new K3b<name>EncoderSettingsWidget( tqparent, name ); } -K3b<name>EncoderSettingsWidget::K3b<name>EncoderSettingsWidget( QWidget* parent, const char* name ) - : K3bPluginConfigWidget( parent, name ) +K3b<name>EncoderSettingsWidget::K3b<name>EncoderSettingsWidget( TQWidget* tqparent, const char* name ) + : K3bPluginConfigWidget( tqparent, name ) { } |