summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kdesavers/gravity.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:45:12 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:45:12 -0600
commit5c194e6e7059ddcc96b0e0166ce6157c35fc183e (patch)
tree0738f35b062d40a4899e85d801ccc3395e56e0ff /kscreensaver/kdesavers/gravity.cpp
parent19904387391902d5944ef4209a255cbb1a912940 (diff)
downloadtdeartwork-5c194e6e7059ddcc96b0e0166ce6157c35fc183e.tar.gz
tdeartwork-5c194e6e7059ddcc96b0e0166ce6157c35fc183e.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kscreensaver/kdesavers/gravity.cpp')
-rw-r--r--kscreensaver/kdesavers/gravity.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kscreensaver/kdesavers/gravity.cpp b/kscreensaver/kdesavers/gravity.cpp
index 93ae1660..49cc7300 100644
--- a/kscreensaver/kdesavers/gravity.cpp
+++ b/kscreensaver/kdesavers/gravity.cpp
@@ -9,7 +9,7 @@
//
#include <stdlib.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kapplication.h>
#include <klocale.h>
#include <kconfig.h>
@@ -206,8 +206,8 @@ Gravity::~Gravity()
/** load the particle file */
bool Gravity::loadParticle()
{
- /* tqStatus indicator */
- bool tqStatus = TRUE;
+ /* Status indicator */
+ bool Status = TRUE;
TQImage buf;
kdDebug() << "Loading: " << locate("data", "kscreensaver/particle.png") << endl;
@@ -226,7 +226,7 @@ bool Gravity::loadParticle()
}
/* Set the status to true */
- //tqStatus = TRUE;
+ //Status = TRUE;
glGenTextures(1, &texture[0]); /* create three textures */
glBindTexture(GL_TEXTURE_2D, texture[0]);
/* use linear filtering */
@@ -238,7 +238,7 @@ bool Gravity::loadParticle()
- return tqStatus;
+ return Status;
}
/** setup the GL enviroment */
void Gravity::initializeGL ()