diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:27:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:27:15 +0000 |
commit | b5d38fd2e94066885d4620b0c35c48a2faa5aa44 (patch) | |
tree | 7e7e611e0e3ef23dc2efd327a7455bcf4d7c9b7f /kscreensaver/kdesavers/firesaverwriter.h | |
parent | 019ebb9a949a97c898e5d563f0699a3ff49e6588 (diff) | |
download | tdeartwork-b5d38fd2e94066885d4620b0c35c48a2faa5aa44.tar.gz tdeartwork-b5d38fd2e94066885d4620b0c35c48a2faa5aa44.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1157637 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kscreensaver/kdesavers/firesaverwriter.h')
-rw-r--r-- | kscreensaver/kdesavers/firesaverwriter.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kscreensaver/kdesavers/firesaverwriter.h b/kscreensaver/kdesavers/firesaverwriter.h index b7bd2e78..e93f65be 100644 --- a/kscreensaver/kdesavers/firesaverwriter.h +++ b/kscreensaver/kdesavers/firesaverwriter.h @@ -12,10 +12,10 @@ #ifndef FIRESAVER_WRITER_H #define FIRESAVER_WRITER_H -#include <qgl.h> -#include <qptrlist.h> -#include <qmap.h> -#include <qstring.h> +#include <tqgl.h> +#include <tqptrlist.h> +#include <tqmap.h> +#include <tqstring.h> class Symbol { @@ -60,7 +60,7 @@ class Word { friend class Writer; public: - Word( const char * text, QMap<char, Symbol *> * map, float scale = 1.0 ); + Word( const char * text, TQMap<char, Symbol *> * map, float scale = 1.0 ); inline void renderWord( double dT ); inline bool isDead(); @@ -70,7 +70,7 @@ class Word float vScale, vX, vY; float activateTime, lifeTime, currentTime; float color[4]; - QPtrList<Symbol> symbolList; + TQPtrList<Symbol> symbolList; }; @@ -80,14 +80,14 @@ class Word class Writer { public: - Writer( QString descFileName ); + Writer( TQString descFileName ); ~Writer(); //types of effects implemented enum effectType { NoEffect = 0, Sequence, Fun1, Fun2 }; //call this function to add a sentence to the renderer - void spawnWords( QString phrase, effectType fx = NoEffect ); + void spawnWords( TQString phrase, effectType fx = NoEffect ); //called to get the words on screen using OpenGL //Note: the context must be set up. Words are drawn on XY plane @@ -96,15 +96,15 @@ class Writer private: //misc utility functions - bool loadMap( QString ); + bool loadMap( TQString ); //texture 'references' used by GL to delete allocated textures int numTextures; unsigned int texArray[16]; //list of words and map of symbols - QPtrList<Word> wordList; - QMap<char, Symbol *> symbolMap; + TQPtrList<Word> wordList; + TQMap<char, Symbol *> symbolMap; //disables standard constructor Writer(); |