diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /kjsembed/bindings/movie_imp.cpp | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt 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 7f786c52..d5d7a3cd 100644 --- a/kjsembed/bindings/movie_imp.cpp +++ b/kjsembed/bindings/movie_imp.cpp @@ -27,21 +27,21 @@ namespace KJSEmbed { namespace Bindings { -Movie::Movie( TQObject *parent, const char *name ) : BindingObject(parent, name) +Movie::Movie( TTQObject *parent, const char *name ) : BindingObject(parent, name) { - movie = TQMovie(); + movie = TTQMovie(); } Movie::~Movie() { } -TQColor Movie::backgroundColor() const +TTQColor Movie::backgroundColor() const { if( movie.isNull() ) - return TQColor(); + return TTQColor(); return movie.backgroundColor(); } -void Movie::setBackgroundColor( const TQColor &c ) +void Movie::setBackgroundColor( const TTQColor &c ) { if( movie.isNull() ) return; @@ -59,30 +59,30 @@ void Movie::setSpeed( int percent ) return; movie.setSpeed(percent); } -bool Movie::load( const TQString &filename, int bufsize) +bool Movie::load( const TTQString &filename, int bufsize) { - movie = TQMovie( filename, bufsize); + movie = TTQMovie( filename, bufsize); if ( movie.isNull() ) return false; else return true; } -TQRect Movie::getValidRect() +TTQRect Movie::getValidRect() { if( movie.isNull() ) - return TQRect(); + return TTQRect(); return movie.getValidRect(); } -TQPixmap Movie::framePixmap() +TTQPixmap Movie::framePixmap() { if( movie.isNull() ) - return TQPixmap(); + return TTQPixmap(); return movie.framePixmap(); } -TQImage Movie::frameImage() +TTQImage Movie::frameImage() { if( movie.isNull() ) - return TQImage(); + return TTQImage(); return movie.frameImage(); } bool Movie::isNull() |