summaryrefslogtreecommitdiffstats
path: root/amarok/src/analyzers/glanalyzer2.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-20 06:53:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-20 06:53:52 +0000
commit3a09386ad170dafdce88c5dcd70275cc7d4081e9 (patch)
tree0f9544da38cdb9c5cc20ad9d695588413b4cd5f9 /amarok/src/analyzers/glanalyzer2.cpp
parent36a9c1916513474b11c59a9060cbaf8770d1bbc0 (diff)
downloadamarok-3a09386ad170dafdce88c5dcd70275cc7d4081e9.tar.gz
amarok-3a09386ad170dafdce88c5dcd70275cc7d4081e9.zip
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1165727 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'amarok/src/analyzers/glanalyzer2.cpp')
-rw-r--r--amarok/src/analyzers/glanalyzer2.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/amarok/src/analyzers/glanalyzer2.cpp b/amarok/src/analyzers/glanalyzer2.cpp
index 6f3d1c83..bee9b816 100644
--- a/amarok/src/analyzers/glanalyzer2.cpp
+++ b/amarok/src/analyzers/glanalyzer2.cpp
@@ -24,11 +24,11 @@
#include "glanalyzer2.h"
#include <kdebug.h>
#include <kstandarddirs.h>
-#include <qimage.h>
+#include <tqimage.h>
#include <sys/time.h>
-GLAnalyzer2::GLAnalyzer2( QWidget *parent ):
+GLAnalyzer2::GLAnalyzer2( TQWidget *parent ):
Analyzer::Base3D(parent, 15)
{
//initialize openGL context before managing GL calls
@@ -297,18 +297,18 @@ void GLAnalyzer2::setTextureMatrix( float rot, float scale )
glMatrixMode( GL_MODELVIEW );
}
-bool GLAnalyzer2::loadTexture( QString fileName, GLuint& textureID )
+bool GLAnalyzer2::loadTexture( TQString fileName, GLuint& textureID )
{
//reset texture ID to the default EMPTY value
textureID = 0;
//load image
- QImage tmp;
+ TQImage tmp;
if ( !tmp.load( fileName ) )
return false;
//convert it to suitable format (flipped RGBA)
- QImage texture = QGLWidget::convertToGLFormat( tmp );
+ TQImage texture = TQGLWidget::convertToGLFormat( tmp );
if ( texture.isNull() )
return false;