diff options
Diffstat (limited to 'kipi-plugins/cdarchiving/plugin_cdarchiving.cpp')
-rw-r--r-- | kipi-plugins/cdarchiving/plugin_cdarchiving.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kipi-plugins/cdarchiving/plugin_cdarchiving.cpp b/kipi-plugins/cdarchiving/plugin_cdarchiving.cpp index 90f0452..f179070 100644 --- a/kipi-plugins/cdarchiving/plugin_cdarchiving.cpp +++ b/kipi-plugins/cdarchiving/plugin_cdarchiving.cpp @@ -48,13 +48,13 @@ K_EXPORT_COMPONENT_FACTORY( kipiplugin_cdarchiving, Factory("kipiplugin_cdarchiving")) // ----------------------------------------------------------- -Plugin_CDArchiving::Plugin_CDArchiving(QObject *parent, const char*, const QStringList&) - : KIPI::Plugin( Factory::instance(), parent, "CDArchiving") +Plugin_CDArchiving::Plugin_CDArchiving(TQObject *tqparent, const char*, const TQStringList&) + : KIPI::Plugin( Factory::instance(), tqparent, "CDArchiving") { kdDebug( 51001 ) << "Plugin_CDArchiving plugin loaded" << endl; } -void Plugin_CDArchiving::setup( QWidget* widget ) +void Plugin_CDArchiving::setup( TQWidget* widget ) { KIPI::Plugin::setup( widget ); @@ -62,7 +62,7 @@ void Plugin_CDArchiving::setup( QWidget* widget ) "cd", // Menu icon. 0, this, - SLOT(slotActivate()), + TQT_SLOT(slotActivate()), actionCollection(), "cd_archiving"); @@ -75,7 +75,7 @@ void Plugin_CDArchiving::setup( QWidget* widget ) Plugin_CDArchiving::~Plugin_CDArchiving() { - // No need to delete m_cdarchiving as its a QObject child of this + // No need to delete m_cdarchiving as its a TQObject child of this // and will be deleted automatically } @@ -86,7 +86,7 @@ void Plugin_CDArchiving::slotActivate() { m_progressDlg = 0; - KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( parent() ); + KIPI::Interface* interface = dynamic_cast< KIPI::Interface* >( tqparent() ); if ( !interface ) { @@ -117,16 +117,16 @@ void Plugin_CDArchiving::slotCancel() ///////////////////////////////////////////////////////////////////////////////////////////////////// -void Plugin_CDArchiving::customEvent(QCustomEvent *event) +void Plugin_CDArchiving::customEvent(TQCustomEvent *event) { if (!event) return; if (!m_progressDlg) { - m_progressDlg = new KIPI::BatchProgressDialog(kapp->activeWindow(), i18n("Archive to CD/DVD")); + m_progressDlg = new KIPI::BatchProgressDialog(TQT_TQWIDGET(kapp->activeWindow()), i18n("Archive to CD/DVD")); - connect(m_progressDlg, SIGNAL(cancelClicked()), - this, SLOT(slotCancel())); + connect(m_progressDlg, TQT_SIGNAL(cancelClicked()), + this, TQT_SLOT(slotCancel())); m_current = 0; m_progressDlg->show(); @@ -138,7 +138,7 @@ void Plugin_CDArchiving::customEvent(QCustomEvent *event) if (d->starting) { - QString text; + TQString text; switch (d->action) { @@ -157,7 +157,7 @@ void Plugin_CDArchiving::customEvent(QCustomEvent *event) case(KIPICDArchivingPlugin::BuildAlbumHTMLPage): { - text = i18n("Making HTML pages for Album '%1'...").arg(d->albumName); + text = i18n("Making HTML pages for Album '%1'...").tqarg(d->albumName); break; } @@ -169,7 +169,7 @@ void Plugin_CDArchiving::customEvent(QCustomEvent *event) case(KIPICDArchivingPlugin::ResizeImages): { - text = i18n("Creating thumbnail for '%1'...").arg(d->fileName); + text = i18n("Creating thumbnail for '%1'...").tqarg(d->fileName); break; } @@ -195,7 +195,7 @@ void Plugin_CDArchiving::customEvent(QCustomEvent *event) } else { - QString text; + TQString text; if (d->success) { @@ -211,14 +211,14 @@ void Plugin_CDArchiving::customEvent(QCustomEvent *event) case(KIPICDArchivingPlugin::BuildAlbumHTMLPage): { ++m_current; - text = i18n("HTML page creation for Album '%1' completed.").arg(d->albumName); + text = i18n("HTML page creation for Album '%1' completed.").tqarg(d->albumName); break; } case(KIPICDArchivingPlugin::ResizeImages): { ++m_current; - text = i18n("Creating thumbnail for '%1' done.").arg(d->fileName); + text = i18n("Creating thumbnail for '%1' done.").tqarg(d->fileName); break; } @@ -250,7 +250,7 @@ void Plugin_CDArchiving::customEvent(QCustomEvent *event) { case(KIPICDArchivingPlugin::ResizeImages): { - text = i18n("Failed to create thumbnail for '%1'").arg(d->fileName); + text = i18n("Failed to create thumbnail for '%1'").tqarg(d->fileName); m_progressDlg->addedAction(text, KIPI::WarningMessage); m_progressDlg->setProgress(m_current, m_total); break; @@ -260,7 +260,7 @@ void Plugin_CDArchiving::customEvent(QCustomEvent *event) { ++m_current; text = i18n("Failed to create HTML interface: %1") - .arg(d->message); + .tqarg(d->message); m_progressDlg->addedAction(text, KIPI::ErrorMessage); m_progressDlg->setProgress(m_current, m_total); slotCancel(); @@ -271,7 +271,7 @@ void Plugin_CDArchiving::customEvent(QCustomEvent *event) case(KIPICDArchivingPlugin::BuildAlbumHTMLPage): { text = i18n("Failed to create HTML pages for Album '%1'") - .arg(d->albumName); + .tqarg(d->albumName); m_progressDlg->addedAction(text, KIPI::ErrorMessage); m_progressDlg->setProgress(m_current, m_total); slotCancel(); @@ -319,8 +319,8 @@ void Plugin_CDArchiving::customEvent(QCustomEvent *event) m_progressDlg->setButtonCancelText( i18n("&Close") ); #endif - disconnect(m_progressDlg, SIGNAL(cancelClicked()), - this, SLOT(slotCancel())); + disconnect(m_progressDlg, TQT_SIGNAL(cancelClicked()), + this, TQT_SLOT(slotCancel())); // Invoke K3b program. |