summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/galleryexport/plugin_galleryexport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/galleryexport/plugin_galleryexport.cpp')
-rw-r--r--kipi-plugins/galleryexport/plugin_galleryexport.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kipi-plugins/galleryexport/plugin_galleryexport.cpp b/kipi-plugins/galleryexport/plugin_galleryexport.cpp
index 032fea9..9753a92 100644
--- a/kipi-plugins/galleryexport/plugin_galleryexport.cpp
+++ b/kipi-plugins/galleryexport/plugin_galleryexport.cpp
@@ -47,23 +47,23 @@ typedef KGenericFactory<Plugin_GalleryExport> Factory;
K_EXPORT_COMPONENT_FACTORY(kipiplugin_galleryexport,
Factory("kipiplugin_galleryexport"))
-Plugin_GalleryExport::Plugin_GalleryExport(QObject *parent,
+Plugin_GalleryExport::Plugin_GalleryExport(TQObject *tqparent,
const char*,
- const QStringList&)
- : KIPI::Plugin(Factory::instance(), parent, "GalleryExport"),
+ const TQStringList&)
+ : KIPI::Plugin(Factory::instance(), tqparent, "GalleryExport"),
mpGalleries(0)
{
kdDebug(51001) << "Plugin_GalleryExport plugin loaded"
<< endl;
}
-void Plugin_GalleryExport::setup(QWidget* widget)
+void Plugin_GalleryExport::setup(TQWidget* widget)
{
mpGalleries = new KIPIGalleryExportPlugin::Galleries();
KIPI::Plugin::setup(widget);
- KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
+ KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
if (!interface)
{
@@ -77,7 +77,7 @@ void Plugin_GalleryExport::setup(QWidget* widget)
m_action_sync = new KAction(i18n("Remote Gallery Sync..."),
0,
this,
- SLOT(slotSync()),
+ TQT_SLOT(slotSync()),
actionCollection(),
"galleryexport");
m_action_sync->setEnabled(true);
@@ -86,7 +86,7 @@ void Plugin_GalleryExport::setup(QWidget* widget)
m_action_configure = new KAction(i18n("Remote Galleries..."),
0,
this,
- SLOT(slotConfigure()),
+ TQT_SLOT(slotConfigure()),
actionCollection(),
"galleryexport");
m_action_configure->setEnabled(true);
@@ -95,7 +95,7 @@ void Plugin_GalleryExport::setup(QWidget* widget)
m_action_collection_settings = new KAction(i18n("Remote Gallery Settings..."),
0,
this,
- SLOT(slotCollectionSettings()),
+ TQT_SLOT(slotCollectionSettings()),
actionCollection(),
"galleryexport");
m_action_collection_settings->setEnabled(true);
@@ -104,7 +104,7 @@ void Plugin_GalleryExport::setup(QWidget* widget)
m_action_image_setting = new KAction(i18n("Remote Gallery Settings..."),
0,
this,
- SLOT(slotImageSettings()),
+ TQT_SLOT(slotImageSettings()),
actionCollection(),
"galleryexport");
m_action_image_setting->setEnabled(true);
@@ -122,52 +122,52 @@ Plugin_GalleryExport::~Plugin_GalleryExport()
void Plugin_GalleryExport::slotSync()
{
- KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
+ KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
if (!interface)
{
kdError( 51000 ) << "Kipi interface is null!" << endl;
return;
}
- KIPIGalleryExportPlugin::GalleryWindow dlg(interface, kapp->activeWindow(), mpGalleries);
+ KIPIGalleryExportPlugin::GalleryWindow dlg(interface, TQT_TQWIDGET(kapp->activeWindow()), mpGalleries);
dlg.exec();
}
void Plugin_GalleryExport::slotConfigure()
{
- KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
+ KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
if (!interface)
{
kdError( 51000 ) << "Kipi interface is null!" << endl;
return;
}
- KIPIGalleryExportPlugin::GalleryList dlg(kapp->activeWindow(), mpGalleries, false);
+ KIPIGalleryExportPlugin::GalleryList dlg(TQT_TQWIDGET(kapp->activeWindow()), mpGalleries, false);
dlg.exec();
}
void Plugin_GalleryExport::slotCollectionSettings()
{
- KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
+ KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
if (!interface)
{
kdError( 51000 ) << "Kipi interface is null!" << endl;
return;
}
- KMessageBox::error(kapp->activeWindow(), "Not Implemented Yet!");
+ KMessageBox::error(TQT_TQWIDGET(kapp->activeWindow()), "Not Implemented Yet!");
}
void Plugin_GalleryExport::slotImageSettings()
{
- KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
+ KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
if (!interface)
{
kdError( 51000 ) << "Kipi interface is null!" << endl;
return;
}
- KMessageBox::error(kapp->activeWindow(), "Not Implemented Yet!");
+ KMessageBox::error(TQT_TQWIDGET(kapp->activeWindow()), "Not Implemented Yet!");
}
KIPI::Category Plugin_GalleryExport::category( KAction* action ) const