summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/galleryexport
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/galleryexport')
-rw-r--r--kipi-plugins/galleryexport/gallerylist.h2
-rw-r--r--kipi-plugins/galleryexport/gallerytalker.cpp8
-rw-r--r--kipi-plugins/galleryexport/gallerytalker.h2
-rw-r--r--kipi-plugins/galleryexport/galleryviewitem.h8
-rw-r--r--kipi-plugins/galleryexport/gallerywidget.cpp4
-rw-r--r--kipi-plugins/galleryexport/gallerywidget.h2
-rw-r--r--kipi-plugins/galleryexport/gallerywindow.cpp12
-rw-r--r--kipi-plugins/galleryexport/gallerywindow.h2
-rw-r--r--kipi-plugins/galleryexport/plugin_galleryexport.cpp14
-rw-r--r--kipi-plugins/galleryexport/plugin_galleryexport.h2
10 files changed, 28 insertions, 28 deletions
diff --git a/kipi-plugins/galleryexport/gallerylist.h b/kipi-plugins/galleryexport/gallerylist.h
index 9216dda..2697ff8 100644
--- a/kipi-plugins/galleryexport/gallerylist.h
+++ b/kipi-plugins/galleryexport/gallerylist.h
@@ -36,7 +36,7 @@ class GalleryList : public KDialogBase
public:
- GalleryList(TQWidget *tqparent, Galleries* pGalleries, bool blnShowOpen = true);
+ GalleryList(TQWidget *parent, Galleries* pGalleries, bool blnShowOpen = true);
~GalleryList();
Gallery* GetGallery(void);
diff --git a/kipi-plugins/galleryexport/gallerytalker.cpp b/kipi-plugins/galleryexport/gallerytalker.cpp
index 8a36c19..3d7a03c 100644
--- a/kipi-plugins/galleryexport/gallerytalker.cpp
+++ b/kipi-plugins/galleryexport/gallerytalker.cpp
@@ -45,8 +45,8 @@
namespace KIPIGalleryExportPlugin
{
-GalleryTalker::GalleryTalker( TQWidget* tqparent )
- : m_parent( tqparent ), m_job( 0 ), m_loggedIn( false )
+GalleryTalker::GalleryTalker( TQWidget* parent )
+ : m_parent( parent ), m_job( 0 ), m_loggedIn( false )
{
}
@@ -429,7 +429,7 @@ void GalleryTalker::parseResponseListAlbums(const TQByteArray &data)
if (iter != albumList.end())
(*iter).summary = value;
}
- else if (key.startsWith("album.tqparent"))
+ else if (key.startsWith("album.parent"))
{
if (iter != albumList.end())
(*iter).parent_ref_num = value.toInt();
@@ -479,7 +479,7 @@ void GalleryTalker::parseResponseListAlbums(const TQByteArray &data)
return;
}
- // We need tqparent albums to come first for rest of the code to work
+ // We need parent albums to come first for rest of the code to work
qHeapSort(albumList);
emit signalAlbums( albumList );
diff --git a/kipi-plugins/galleryexport/gallerytalker.h b/kipi-plugins/galleryexport/gallerytalker.h
index 3cc876b..cf74183 100644
--- a/kipi-plugins/galleryexport/gallerytalker.h
+++ b/kipi-plugins/galleryexport/gallerytalker.h
@@ -51,7 +51,7 @@ public:
GE_ADDPHOTO
};
- GalleryTalker(TQWidget* tqparent);
+ GalleryTalker(TQWidget* parent);
~GalleryTalker();
static void setGallery2(bool usegallery2) {s_using_gallery2 = usegallery2;};
diff --git a/kipi-plugins/galleryexport/galleryviewitem.h b/kipi-plugins/galleryexport/galleryviewitem.h
index 6a40c69..bb8295d 100644
--- a/kipi-plugins/galleryexport/galleryviewitem.h
+++ b/kipi-plugins/galleryexport/galleryviewitem.h
@@ -30,12 +30,12 @@ class GAlbumViewItem : public TQListViewItem
{
public:
- GAlbumViewItem(TQListView* tqparent, const TQString& name,
+ GAlbumViewItem(TQListView* parent, const TQString& name,
const GAlbum& _album)
- : TQListViewItem(tqparent, name), album(_album) {}
- GAlbumViewItem(TQListViewItem* tqparent, const TQString& name,
+ : TQListViewItem(parent, name), album(_album) {}
+ GAlbumViewItem(TQListViewItem* parent, const TQString& name,
const GAlbum& _album)
- : TQListViewItem(tqparent, name), album(_album) {}
+ : TQListViewItem(parent, name), album(_album) {}
GAlbum album;
diff --git a/kipi-plugins/galleryexport/gallerywidget.cpp b/kipi-plugins/galleryexport/gallerywidget.cpp
index 0dd2435..769c4e5 100644
--- a/kipi-plugins/galleryexport/gallerywidget.cpp
+++ b/kipi-plugins/galleryexport/gallerywidget.cpp
@@ -42,8 +42,8 @@
namespace KIPIGalleryExportPlugin
{
-GalleryWidget::GalleryWidget( TQWidget* tqparent, const char* name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+GalleryWidget::GalleryWidget( TQWidget* parent, const char* name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
if ( !name )
setName( "GalleryWidget" );
diff --git a/kipi-plugins/galleryexport/gallerywidget.h b/kipi-plugins/galleryexport/gallerywidget.h
index a14c944..252bb37 100644
--- a/kipi-plugins/galleryexport/gallerywidget.h
+++ b/kipi-plugins/galleryexport/gallerywidget.h
@@ -37,7 +37,7 @@ class GalleryWidget : public TQWidget
public:
- GalleryWidget( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ GalleryWidget( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~GalleryWidget();
private slots:
diff --git a/kipi-plugins/galleryexport/gallerywindow.cpp b/kipi-plugins/galleryexport/gallerywindow.cpp
index ea6a4b0..ac37a31 100644
--- a/kipi-plugins/galleryexport/gallerywindow.cpp
+++ b/kipi-plugins/galleryexport/gallerywindow.cpp
@@ -68,8 +68,8 @@
namespace KIPIGalleryExportPlugin
{
-GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *tqparent, Galleries* pGalleries)
- : KDialogBase(tqparent, 0, true, i18n("Gallery Export"), Help|Close, Close, false),
+GalleryWindow::GalleryWindow(KIPI::Interface* interface, TQWidget *parent, Galleries* pGalleries)
+ : KDialogBase(parent, 0, true, i18n("Gallery Export"), Help|Close, Close, false),
m_interface(interface),
mpGalleries(pGalleries)
{
@@ -300,17 +300,17 @@ void GalleryWindow::slotAlbums( const TQValueList<GAlbum>& albumList )
}
else
{
- TQListViewItem* tqparent = m_albumDict.find( album.parent_ref_num );
- if ( tqparent )
+ TQListViewItem* parent = m_albumDict.find( album.parent_ref_num );
+ if ( parent )
{
- GAlbumViewItem* item = new GAlbumViewItem( tqparent, album.title,
+ GAlbumViewItem* item = new GAlbumViewItem( parent, album.title,
album);
item->setPixmap( 0, pix );
m_albumDict.insert( album.ref_num, item );
}
else
{
- kdWarning() << "Failed to find tqparent for album "
+ kdWarning() << "Failed to find parent for album "
<< album.name
<< " with id " << album.ref_num << "\n";
}
diff --git a/kipi-plugins/galleryexport/gallerywindow.h b/kipi-plugins/galleryexport/gallerywindow.h
index 07cd366..06a21fd 100644
--- a/kipi-plugins/galleryexport/gallerywindow.h
+++ b/kipi-plugins/galleryexport/gallerywindow.h
@@ -57,7 +57,7 @@ class GalleryWindow : public KDialogBase
public:
- GalleryWindow(KIPI::Interface *interface, TQWidget *tqparent, Galleries* pGalleries);
+ GalleryWindow(KIPI::Interface *interface, TQWidget *parent, Galleries* pGalleries);
~GalleryWindow();
private:
diff --git a/kipi-plugins/galleryexport/plugin_galleryexport.cpp b/kipi-plugins/galleryexport/plugin_galleryexport.cpp
index 9753a92..60e2e58 100644
--- a/kipi-plugins/galleryexport/plugin_galleryexport.cpp
+++ b/kipi-plugins/galleryexport/plugin_galleryexport.cpp
@@ -47,10 +47,10 @@ typedef KGenericFactory<Plugin_GalleryExport> Factory;
K_EXPORT_COMPONENT_FACTORY(kipiplugin_galleryexport,
Factory("kipiplugin_galleryexport"))
-Plugin_GalleryExport::Plugin_GalleryExport(TQObject *tqparent,
+Plugin_GalleryExport::Plugin_GalleryExport(TQObject *parent,
const char*,
const TQStringList&)
- : KIPI::Plugin(Factory::instance(), tqparent, "GalleryExport"),
+ : KIPI::Plugin(Factory::instance(), parent, "GalleryExport"),
mpGalleries(0)
{
kdDebug(51001) << "Plugin_GalleryExport plugin loaded"
@@ -63,7 +63,7 @@ void Plugin_GalleryExport::setup(TQWidget* widget)
KIPI::Plugin::setup(widget);
- KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
+ KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
@@ -122,7 +122,7 @@ Plugin_GalleryExport::~Plugin_GalleryExport()
void Plugin_GalleryExport::slotSync()
{
- KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
+ KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
kdError( 51000 ) << "Kipi interface is null!" << endl;
@@ -135,7 +135,7 @@ void Plugin_GalleryExport::slotSync()
void Plugin_GalleryExport::slotConfigure()
{
- KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
+ KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
kdError( 51000 ) << "Kipi interface is null!" << endl;
@@ -148,7 +148,7 @@ void Plugin_GalleryExport::slotConfigure()
void Plugin_GalleryExport::slotCollectionSettings()
{
- KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
+ KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
kdError( 51000 ) << "Kipi interface is null!" << endl;
@@ -160,7 +160,7 @@ void Plugin_GalleryExport::slotCollectionSettings()
void Plugin_GalleryExport::slotImageSettings()
{
- KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(tqparent());
+ KIPI::Interface* interface = dynamic_cast<KIPI::Interface*>(parent());
if (!interface)
{
kdError( 51000 ) << "Kipi interface is null!" << endl;
diff --git a/kipi-plugins/galleryexport/plugin_galleryexport.h b/kipi-plugins/galleryexport/plugin_galleryexport.h
index a6f61d3..a4593ad 100644
--- a/kipi-plugins/galleryexport/plugin_galleryexport.h
+++ b/kipi-plugins/galleryexport/plugin_galleryexport.h
@@ -40,7 +40,7 @@ class Plugin_GalleryExport : public KIPI::Plugin
public:
- Plugin_GalleryExport(TQObject *tqparent,
+ Plugin_GalleryExport(TQObject *parent,
const char* name,
const TQStringList &args);
~Plugin_GalleryExport();