diff options
Diffstat (limited to 'renamedlgplugins/audio/audio_plugin.cpp')
-rw-r--r-- | renamedlgplugins/audio/audio_plugin.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/renamedlgplugins/audio/audio_plugin.cpp b/renamedlgplugins/audio/audio_plugin.cpp index f8114bd..44ae9d0 100644 --- a/renamedlgplugins/audio/audio_plugin.cpp +++ b/renamedlgplugins/audio/audio_plugin.cpp @@ -22,12 +22,12 @@ #include <kgenericfactory.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> @@ -35,11 +35,11 @@ class AudioPlugin : public RenameDlgPlugin{ public: - AudioPlugin( QDialog *dialog, const char *name, const QStringList & ); + AudioPlugin( TQDialog *dialog, const char *name, const TQStringList & ); ~AudioPlugin(); - virtual bool initialize( KIO::RenameDlg_Mode /*mod*/, const QString &/*_src*/, const QString &/*_dest*/, - const QString &/*mimeSrc*/, - const QString &/*mimeDest*/, + 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*/, @@ -48,30 +48,30 @@ public: time_t /*mtimeDest*/ ); }; -AudioPlugin::AudioPlugin( QDialog *dialog, const char *name, const QStringList &list ) : RenameDlgPlugin( dialog, name, list) { +AudioPlugin::AudioPlugin( TQDialog *dialog, const char *name, const TQStringList &list ) : RenameDlgPlugin( dialog, name, list) { qWarning("loaded" ); } AudioPlugin::~AudioPlugin() { } -bool AudioPlugin::initialize( KIO::RenameDlg_Mode mode, const QString &_src, const QString &_dest, - const QString &mimeSrc, - const QString &mimeDest, +bool AudioPlugin::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*/, time_t /*ctimeDest*/, time_t mtimeSrc, time_t mtimeDest ) { - QGridLayout *lay = new QGridLayout(this, 4, 3, 5); + TQGridLayout *lay = new TQGridLayout(this, 4, 3, 5); if( mode & KIO::M_OVERWRITE ){ - QLabel *label_head = new QLabel(this); - QLabel *label_src = new QLabel(this); - QLabel *label_dst = new QLabel(this); - QLabel *label_ask = new QLabel(this); + TQLabel *label_head = new TQLabel(this); + TQLabel *label_src = new TQLabel(this); + TQLabel *label_dst = new TQLabel(this); + TQLabel *label_ask = new TQLabel(this); - QString sentence1; - QString dest = KURL::fromPathOrURL(_dest).pathOrURL(); + TQString sentence1; + TQString dest = KURL::fromPathOrURL(_dest).pathOrURL(); if (mtimeDest < mtimeSrc) sentence1 = i18n("An older file named '%1' already exists.\n").arg(dest); else if (mtimeDest == mtimeSrc) @@ -100,5 +100,5 @@ bool AudioPlugin::initialize( KIO::RenameDlg_Mode mode, const QString &_src, con return true; } -typedef KGenericFactory<AudioPlugin, QDialog> AudioPluginFactory; +typedef KGenericFactory<AudioPlugin, TQDialog> AudioPluginFactory; K_EXPORT_COMPONENT_FACTORY( librenaudioplugin, AudioPluginFactory("audiorename_plugin") ) |