diff options
Diffstat (limited to 'src/languages/flowcode.h')
-rw-r--r-- | src/languages/flowcode.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/languages/flowcode.h b/src/languages/flowcode.h index afa17db..77fa5c1 100644 --- a/src/languages/flowcode.h +++ b/src/languages/flowcode.h @@ -13,19 +13,19 @@ #include "language.h" -#include <qguardedptr.h> -#include <qobject.h> -#include <qstring.h> -#include <qstringlist.h> -#include <qvaluelist.h> +#include <tqguardedptr.h> +#include <tqobject.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqvaluelist.h> class CNItem; class FlowPart; class Item; class MicroSettings; -typedef QValueList<FlowPart*> FlowPartList; -typedef QValueList<QGuardedPtr<Item> > ItemList; +typedef TQValueList<FlowPart*> FlowPartList; +typedef TQValueList<TQGuardedPtr<Item> > ItemList; /** "FlowCode" can possibly be considered a misnomer, as the output is actually Microbe. @@ -39,7 +39,7 @@ basic from the code that they create. The 3 simple steps for usage of this funct class FlowCode : public Language { public: - FlowCode( ProcessChain *processChain, KTechlab *parent ); + FlowCode( ProcessChain *processChain, KTechlab *tqparent ); virtual void processInput( ProcessOptions options ); virtual ProcessOptions::ProcessPath::Path outputPath( ProcessOptions::ProcessPath::Path inputPath ) const; @@ -56,7 +56,7 @@ public: /** * Adds code at the current insertion point */ - void addCode( const QString& code ); + void addCode( const TQString& code ); /** * Adds a code branch to the current insertion point. This will stop when the level gets * below the original starting level (so for insertion of the contents of a for loop, @@ -77,7 +77,7 @@ public: * Generates and returns the microbe code * @param nonVerbal if true then will not inform the user when something goes wrong */ - QString generateMicrobe( const ItemList &itemList, MicroSettings *settings ); + TQString generateMicrobe( const ItemList &itemList, MicroSettings *settings ); /** * Returns true if the FlowPart is a valid one for adding a branch */ @@ -86,7 +86,7 @@ public: * Generates a nice label name from the string, e.g. genLabel("callsub") * returns "__label_callsub". */ - static QString genLabel( const QString &id ); + static TQString genLabel( const TQString &id ); protected: /** @@ -94,13 +94,13 @@ protected: */ void tidyCode(); - QStringList m_gotos; // Gotos used - QStringList m_labels; // Labels used + TQStringList m_gotos; // Gotos used + TQStringList m_labels; // Labels used FlowPartList m_subroutines; FlowPartList m_addedParts; FlowPartList m_stopParts; FlowPart *p_startPart; - QString m_code; + TQString m_code; int m_curLevel; }; |