summaryrefslogtreecommitdiffstats
path: root/plugins/encoder/sox
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/encoder/sox')
-rw-r--r--plugins/encoder/sox/CMakeLists.txt3
-rw-r--r--plugins/encoder/sox/Makefile.am13
-rw-r--r--plugins/encoder/sox/k3bsoxencoder.cpp14
-rw-r--r--plugins/encoder/sox/k3bsoxencoder.h4
-rw-r--r--plugins/encoder/sox/k3bsoxencoder.plugin6
5 files changed, 14 insertions, 26 deletions
diff --git a/plugins/encoder/sox/CMakeLists.txt b/plugins/encoder/sox/CMakeLists.txt
index f0c4c38..4fc9f18 100644
--- a/plugins/encoder/sox/CMakeLists.txt
+++ b/plugins/encoder/sox/CMakeLists.txt
@@ -36,6 +36,7 @@ tde_add_kpart( libk3bsoxencoder AUTOMOC
##### other data ################################
-install( FILES k3bsoxencoder.plugin
+tde_create_translated_desktop(
+ SOURCE k3bsoxencoder.plugin
DESTINATION ${DATA_INSTALL_DIR}/k3b/plugins
)
diff --git a/plugins/encoder/sox/Makefile.am b/plugins/encoder/sox/Makefile.am
deleted file mode 100644
index 7cd09fe..0000000
--- a/plugins/encoder/sox/Makefile.am
+++ /dev/null
@@ -1,13 +0,0 @@
-AM_CPPFLAGS = -I$(srcdir)/../../../libk3b/core -I$(srcdir)/../../../libk3b/plugin -I$(srcdir)/../../../libk3b/core -I$(srcdir)/../../../libk3bdevice $(all_includes)
-
-kde_module_LTLIBRARIES = libk3bsoxencoder.la
-
-libk3bsoxencoder_la_SOURCES = base_k3bsoxencoderconfigwidget.ui k3bsoxencoder.cpp
-
-libk3bsoxencoder_la_LIBADD = ../../../libk3b/libk3b.la ../../../libk3bdevice/libk3bdevice.la $(LIB_TDECORE) $(LIB_TQT)
-libk3bsoxencoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries)
-
-pluginsdir = $(kde_datadir)/k3b/plugins
-plugins_DATA = k3bsoxencoder.plugin
-
-METASOURCES = AUTO
diff --git a/plugins/encoder/sox/k3bsoxencoder.cpp b/plugins/encoder/sox/k3bsoxencoder.cpp
index d91502f..8b170f6 100644
--- a/plugins/encoder/sox/k3bsoxencoder.cpp
+++ b/plugins/encoder/sox/k3bsoxencoder.cpp
@@ -182,12 +182,12 @@ bool K3bSoxEncoder::initEncoderInternal( const TQString& extension )
d->process->setSplitStdout(true);
d->process->setRawStdin(true);
- connect( d->process, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(slotSoxFinished(TDEProcess*)) );
- connect( d->process, TQT_SIGNAL(stderrLine(const TQString&)),
- this, TQT_SLOT(slotSoxOutputLine(const TQString&)) );
- connect( d->process, TQT_SIGNAL(stdoutLine(const TQString&)),
- this, TQT_SLOT(slotSoxOutputLine(const TQString&)) );
+ connect( d->process, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(slotSoxFinished(TDEProcess*)) );
+ connect( d->process, TQ_SIGNAL(stderrLine(const TQString&)),
+ this, TQ_SLOT(slotSoxOutputLine(const TQString&)) );
+ connect( d->process, TQ_SIGNAL(stdoutLine(const TQString&)),
+ this, TQ_SLOT(slotSoxOutputLine(const TQString&)) );
// input settings
*d->process << soxBin->path
@@ -376,7 +376,7 @@ K3bSoxEncoderSettingsWidget::K3bSoxEncoderSettingsWidget( TQWidget* parent, cons
: K3bPluginConfigWidget( parent, name )
{
w = new base_K3bSoxEncoderConfigWidget( this );
- w->m_editSamplerate->setValidator( new TQIntValidator( TQT_TQOBJECT(w->m_editSamplerate) ) );
+ w->m_editSamplerate->setValidator( new TQIntValidator( w->m_editSamplerate ) );
TQHBoxLayout* lay = new TQHBoxLayout( this );
lay->setMargin( 0 );
diff --git a/plugins/encoder/sox/k3bsoxencoder.h b/plugins/encoder/sox/k3bsoxencoder.h
index a34271f..d495dd3 100644
--- a/plugins/encoder/sox/k3bsoxencoder.h
+++ b/plugins/encoder/sox/k3bsoxencoder.h
@@ -26,7 +26,7 @@ class TDEProcess;
class K3bSoxEncoder : public K3bAudioEncoder
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -66,7 +66,7 @@ class K3bSoxEncoder : public K3bAudioEncoder
class K3bSoxEncoderSettingsWidget : public K3bPluginConfigWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/plugins/encoder/sox/k3bsoxencoder.plugin b/plugins/encoder/sox/k3bsoxencoder.plugin
index dd43f7d..6f80b1b 100644
--- a/plugins/encoder/sox/k3bsoxencoder.plugin
+++ b/plugins/encoder/sox/k3bsoxencoder.plugin
@@ -1,9 +1,9 @@
[K3b Plugin]
-Lib=libk3bsoxencoder
-Group=AudioEncoder
Name=K3b SoX Audio Encoder
+Comment=Encoding module to encode many file formats using SoX
Author=Sebastian Trueg
Email=trueg@k3b.org
Version=2.0
-Comment=Encoding module to encode many file formats using SoX
License=GPL
+Group=AudioEncoder
+Lib=libk3bsoxencoder