diff options
Diffstat (limited to 'kipi-plugins/mpegencoder/plugin_mpegencoder.cpp')
-rw-r--r-- | kipi-plugins/mpegencoder/plugin_mpegencoder.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kipi-plugins/mpegencoder/plugin_mpegencoder.cpp b/kipi-plugins/mpegencoder/plugin_mpegencoder.cpp index 101df43..f8e438a 100644 --- a/kipi-plugins/mpegencoder/plugin_mpegencoder.cpp +++ b/kipi-plugins/mpegencoder/plugin_mpegencoder.cpp @@ -21,10 +21,10 @@ * * ============================================================ */ -// Include files for Qt +// Include files for TQt -#include <qpushbutton.h> -#include <qgroupbox.h> +#include <tqpushbutton.h> +#include <tqgroupbox.h> // Include files for KDE @@ -49,13 +49,13 @@ typedef KGenericFactory<Plugin_Mpegencoder> Factory; K_EXPORT_COMPONENT_FACTORY( kipiplugin_mpegencoder, Factory("kipiplugin_mpegencoder")) -Plugin_Mpegencoder::Plugin_Mpegencoder(QObject *parent, const char*, const QStringList&) - : KIPI::Plugin( Factory::instance(), parent, "MPEGEncoder") +Plugin_Mpegencoder::Plugin_Mpegencoder(TQObject *tqparent, const char*, const TQStringList&) + : KIPI::Plugin( Factory::instance(), tqparent, "MPEGEncoder") { kdDebug( 51001 ) << "Plugin_Mpegencoder plugin loaded" << endl; } -void Plugin_Mpegencoder::setup( QWidget* widget ) +void Plugin_Mpegencoder::setup( TQWidget* widget ) { KIPI::Plugin::setup( widget ); @@ -63,7 +63,7 @@ void Plugin_Mpegencoder::setup( QWidget* widget ) "video", 0, this, - SLOT(slotActivate()), + TQT_SLOT(slotActivate()), actionCollection(), "mpeg_encoder"); @@ -76,7 +76,7 @@ Plugin_Mpegencoder::~Plugin_Mpegencoder() void Plugin_Mpegencoder::slotActivate() { - KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( parent() ); + KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( tqparent() ); if ( !interface ) { @@ -85,7 +85,7 @@ void Plugin_Mpegencoder::slotActivate() } KIPIMPEGEncoderPlugin::KImg2mpgData *MPEGconverterDialog = - new KIPIMPEGEncoderPlugin::KImg2mpgData( interface, kapp->activeWindow() ); + new KIPIMPEGEncoderPlugin::KImg2mpgData( interface, TQT_TQWIDGET(kapp->activeWindow()) ); KIPIMPEGEncoderPlugin::CheckBinProg* CheckExternalPrograms = new KIPIMPEGEncoderPlugin::CheckBinProg(this); |