From e654398e46e37abf457b2b1122ab898d2c51c49f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:43:15 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- krec/krecexport_template.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'krec/krecexport_template.h') diff --git a/krec/krecexport_template.h b/krec/krecexport_template.h index 8a1c4a03..aac9dac2 100644 --- a/krec/krecexport_template.h +++ b/krec/krecexport_template.h @@ -14,11 +14,11 @@ #ifndef KREC_EXPORT_TEMPLATE_H #define KREC_EXPORT_TEMPLATE_H -#include +#include -#include -#include -#include +#include +#include +#include #include /** @@ -29,14 +29,14 @@ * * @author Arnold Krille */ -class KRecExportItem : public QObject { +class KRecExportItem : public TQObject { Q_OBJECT private: /// Controls wether an export is running, or not... bool _running; int _samplingRate, _bits, _channels; protected: - KRecExportItem( QObject*, const char* =0, const QStringList& =0 ); + KRecExportItem( TQObject*, const char* =0, const TQStringList& =0 ); /** * This registers this class at the KRecGlobal. @@ -60,22 +60,22 @@ public: virtual KRecExportItem* newItem()=0; /// Returns a list with the extensions. - virtual QStringList extensions()=0; + virtual TQStringList extensions()=0; /// Returns the export format. - virtual QString exportFormat()=0; + virtual TQString exportFormat()=0; bool running() const { return _running; } public slots: /** * Initializes the sound-settings. - * Has to be called before the initialize( const QString & ) function. + * Has to be called before the initialize( const TQString & ) function. */ void initialize( int samplingRate, int bits, int channels ); /// Initializes the export. - virtual bool initialize( const QString &filename )=0; + virtual bool initialize( const TQString &filename )=0; /** * Start the real export (including the emission of @see getData() while running=true). - * Best way to do this is to use @see QTimer::singleShot() since then the events are + * Best way to do this is to use @see TQTimer::singleShot() since then the events are * put at the end of the EventLoop not blocking the gui and everything else. */ bool start(); @@ -85,10 +85,10 @@ public slots: void stop(); /// Finish the export. virtual bool finalize()=0; - //virtual void data( QByteArray& ); + //virtual void data( TQByteArray& ); signals: /// Is emitted when this Item wants data to export. - void getData( QByteArray& ); + void getData( TQByteArray& ); void running( bool ); }; -- cgit v1.2.1