diff options
author | Timothy Pearson <[email protected]> | 2011-12-05 16:20:48 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-05 16:20:48 -0600 |
commit | e63beeb5bdb82987b1e00bc35178667786fbad48 (patch) | |
tree | ab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/bindings/movie_imp.cpp | |
parent | 67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff) | |
download | tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip |
Fix incorrect conversion
Diffstat (limited to 'kjsembed/bindings/movie_imp.cpp')
-rw-r--r-- | kjsembed/bindings/movie_imp.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kjsembed/bindings/movie_imp.cpp b/kjsembed/bindings/movie_imp.cpp index d5d7a3cd..7f786c52 100644 --- a/kjsembed/bindings/movie_imp.cpp +++ b/kjsembed/bindings/movie_imp.cpp @@ -27,21 +27,21 @@ namespace KJSEmbed { namespace Bindings { -Movie::Movie( TTQObject *parent, const char *name ) : BindingObject(parent, name) +Movie::Movie( TQObject *parent, const char *name ) : BindingObject(parent, name) { - movie = TTQMovie(); + movie = TQMovie(); } Movie::~Movie() { } -TTQColor Movie::backgroundColor() const +TQColor Movie::backgroundColor() const { if( movie.isNull() ) - return TTQColor(); + return TQColor(); return movie.backgroundColor(); } -void Movie::setBackgroundColor( const TTQColor &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 TTQString &filename, int bufsize) +bool Movie::load( const TQString &filename, int bufsize) { - movie = TTQMovie( filename, bufsize); + movie = TQMovie( filename, bufsize); if ( movie.isNull() ) return false; else return true; } -TTQRect Movie::getValidRect() +TQRect Movie::getValidRect() { if( movie.isNull() ) - return TTQRect(); + return TQRect(); return movie.getValidRect(); } -TTQPixmap Movie::framePixmap() +TQPixmap Movie::framePixmap() { if( movie.isNull() ) - return TTQPixmap(); + return TQPixmap(); return movie.framePixmap(); } -TTQImage Movie::frameImage() +TQImage Movie::frameImage() { if( movie.isNull() ) - return TTQImage(); + return TQImage(); return movie.frameImage(); } bool Movie::isNull() |