summaryrefslogtreecommitdiffstats
path: root/renamedlgplugins/images/image_plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'renamedlgplugins/images/image_plugin.cpp')
-rw-r--r--renamedlgplugins/images/image_plugin.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/renamedlgplugins/images/image_plugin.cpp b/renamedlgplugins/images/image_plugin.cpp
index 7c347ea..0bc6567 100644
--- a/renamedlgplugins/images/image_plugin.cpp
+++ b/renamedlgplugins/images/image_plugin.cpp
@@ -24,12 +24,12 @@
#include <kiconloader.h>
#include <renamedlgplugin.h>
#include <kio/renamedlg.h>
-#include <qlabel.h>
-#include <qdialog.h>
-#include <qwidget.h>
-#include <qstringlist.h>
+#include <tqlabel.h>
+#include <tqdialog.h>
+#include <tqwidget.h>
+#include <tqstringlist.h>
#include <kio/global.h>
-#include <qlayout.h>
+#include <tqlayout.h>
#include <sys/types.h>
@@ -37,10 +37,10 @@
class ImagePlugin : public RenameDlgPlugin{
public:
- ImagePlugin( QDialog *dialog, const char *name, const QStringList & );
- virtual bool initialize( KIO::RenameDlg_Mode /*mod*/, const QString &/*_src*/, const QString &/*_dest*/,
- const QString &/*mimeSrc*/,
- const QString &/*mimeDest*/,
+ ImagePlugin( TQDialog *dialog, const char *name, const TQStringList & );
+ virtual bool initialize( KIO::RenameDlg_Mode /*mod*/, const TQString &/*_src*/, const TQString &/*_dest*/,
+ const TQString &/*mimeSrc*/,
+ const TQString &/*mimeDest*/,
KIO::filesize_t /*sizeSrc*/,
KIO::filesize_t /*sizeDest*/,
time_t /*ctimeSrc*/,
@@ -49,14 +49,14 @@ public:
time_t /*mtimeDest*/ );
};
-ImagePlugin::ImagePlugin( QDialog *dialog, const char *name, const QStringList &list )
+ImagePlugin::ImagePlugin( TQDialog *dialog, const char *name, const TQStringList &list )
: RenameDlgPlugin( dialog, name, list)
{
}
-bool ImagePlugin::initialize( KIO::RenameDlg_Mode mode, const QString &_src, const QString &_dest,
- const QString &/*mimeSrc*/,
- const QString &/*mimeDest*/,
+bool ImagePlugin::initialize( KIO::RenameDlg_Mode mode, const TQString &_src, const TQString &_dest,
+ const TQString &/*mimeSrc*/,
+ const TQString &/*mimeDest*/,
KIO::filesize_t /*sizeSrc*/,
KIO::filesize_t /*sizeDest*/,
time_t /*ctimeSrc*/,
@@ -64,10 +64,10 @@ bool ImagePlugin::initialize( KIO::RenameDlg_Mode mode, const QString &_src, con
time_t /*mtimeSrc*/,
time_t /*mtimeDest*/ )
{
- QGridLayout *lay = new QGridLayout(this, 2, 3, 5 );
+ TQGridLayout *lay = new TQGridLayout(this, 2, 3, 5 );
if( mode & KIO::M_OVERWRITE )
{
- QLabel *label = new QLabel(this );
+ TQLabel *label = new TQLabel(this );
label->setText(i18n("You want to overwrite the left picture with the one on the right.") );
label->adjustSize();
lay->addMultiCellWidget(label, 1, 1, 0, 2, Qt::AlignHCenter );
@@ -81,5 +81,5 @@ bool ImagePlugin::initialize( KIO::RenameDlg_Mode mode, const QString &_src, con
return true;
}
-typedef KGenericFactory<ImagePlugin, QDialog> ImagePluginFactory;
+typedef KGenericFactory<ImagePlugin, TQDialog> ImagePluginFactory;
K_EXPORT_COMPONENT_FACTORY( librenimageplugin, ImagePluginFactory("imagerename_plugin") )