diff options
Diffstat (limited to 'qtinterface/tqmovie.cpp')
-rw-r--r-- | qtinterface/tqmovie.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/qtinterface/tqmovie.cpp b/qtinterface/tqmovie.cpp index 866a8cc..20367dd 100644 --- a/qtinterface/tqmovie.cpp +++ b/qtinterface/tqmovie.cpp @@ -21,3 +21,37 @@ Boston, MA 02110-1301, USA. #include <tqt.h> #include <tqmovie.h> + +#ifdef USE_QT4 + +// TQMovie::TQMovie(QObject *parent) : QMovie(parent) {} +// TQMovie::TQMovie(QIODevice *device, const QByteArray &format, QObject *parent) : QMovie(device, format, parent) {} +// TQMovie::TQMovie(const QString &fileName, const QByteArray &format, QObject *parent) : QMovie(fileName, format, parent) {} + +TQMovie::TQMovie(QObject *parent) { + d = new QMovie(parent); +} + +TQMovie::TQMovie(QIODevice *device, const QByteArray &format, QObject *parent) { + d = new QMovie(device, format, parent); +} + +TQMovie::TQMovie(const QString &fileName, const QByteArray &format, QObject *parent) { + d = new QMovie(fileName, format, parent); +} + +TQMovie::operator QMovie *() const { + return d; +} + +/*! + Makes this movie use the same data as movie \a movie. QMovies use + explicit sharing. +*/ +TQMovie& TQMovie::operator=(const TQMovie& movie) +{ + d = movie.d; + return *this; +} + +#endif // USE_QT4
\ No newline at end of file |