summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/movie_imp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/bindings/movie_imp.cpp')
-rw-r--r--kjsembed/bindings/movie_imp.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kjsembed/bindings/movie_imp.cpp b/kjsembed/bindings/movie_imp.cpp
index 8a5ced01..7f786c52 100644
--- a/kjsembed/bindings/movie_imp.cpp
+++ b/kjsembed/bindings/movie_imp.cpp
@@ -19,7 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
-#include <qpixmap.h>
+#include <tqpixmap.h>
#include <kjsembed/global.h>
#include "movie_imp.h"
@@ -27,21 +27,21 @@
namespace KJSEmbed {
namespace Bindings {
-Movie::Movie( QObject *parent, const char *name ) : BindingObject(parent, name)
+Movie::Movie( TQObject *parent, const char *name ) : BindingObject(parent, name)
{
- movie = QMovie();
+ movie = TQMovie();
}
Movie::~Movie()
{
}
-QColor Movie::backgroundColor() const
+TQColor Movie::backgroundColor() const
{
if( movie.isNull() )
- return QColor();
+ return TQColor();
return movie.backgroundColor();
}
-void Movie::setBackgroundColor( const QColor &c )
+void Movie::setBackgroundColor( const TQColor &c )
{
if( movie.isNull() )
return;
@@ -59,30 +59,30 @@ void Movie::setSpeed( int percent )
return;
movie.setSpeed(percent);
}
-bool Movie::load( const QString &filename, int bufsize)
+bool Movie::load( const TQString &filename, int bufsize)
{
- movie = QMovie( filename, bufsize);
+ movie = TQMovie( filename, bufsize);
if ( movie.isNull() )
return false;
else
return true;
}
-QRect Movie::getValidRect()
+TQRect Movie::getValidRect()
{
if( movie.isNull() )
- return QRect();
+ return TQRect();
return movie.getValidRect();
}
-QPixmap Movie::framePixmap()
+TQPixmap Movie::framePixmap()
{
if( movie.isNull() )
- return QPixmap();
+ return TQPixmap();
return movie.framePixmap();
}
-QImage Movie::frameImage()
+TQImage Movie::frameImage()
{
if( movie.isNull() )
- return QImage();
+ return TQImage();
return movie.frameImage();
}
bool Movie::isNull()