summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/movie_imp.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:44:01 +0000
commit479f5f799523bffbcc83dff581a2299c047c6fff (patch)
tree186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/bindings/movie_imp.cpp
parentf1dbff6145c98324ff82e34448b7483727e8ace4 (diff)
downloadtdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz
tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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()