From 7346aee26bf190a7e70333c40fab4caca847cd27 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:22:56 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- renamedlgplugins/images/image_plugin.cpp | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'renamedlgplugins/images/image_plugin.cpp') 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 #include #include -#include -#include -#include -#include +#include +#include +#include +#include #include -#include +#include #include @@ -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 ImagePluginFactory; +typedef KGenericFactory ImagePluginFactory; K_EXPORT_COMPONENT_FACTORY( librenimageplugin, ImagePluginFactory("imagerename_plugin") ) -- cgit v1.2.1