diff options
Diffstat (limited to 'src/flowcodedocument.h')
-rw-r--r-- | src/flowcodedocument.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/flowcodedocument.h b/src/flowcodedocument.h index bb28ae4..5b2596d 100644 --- a/src/flowcodedocument.h +++ b/src/flowcodedocument.h @@ -13,7 +13,7 @@ #include "icndocument.h" -#include <qguardedptr.h> +#include <tqguardedptr.h> class KTechlab; class FlowCode; @@ -22,10 +22,10 @@ class PicItem; class FlowPart; class MicroSettings; class TextDocument; -class QString; +class TQString; -typedef QValueList<FlowPart*> FlowPartList; -typedef QMap<QString, int > StringIntMap; +typedef TQValueList<FlowPart*> FlowPartList; +typedef TQMap<TQString, int > StringIntMap; /** @short View for editing FlowCode @@ -34,8 +34,9 @@ typedef QMap<QString, int > StringIntMap; class FlowCodeDocument : public ICNDocument { Q_OBJECT + TQ_OBJECT public: - FlowCodeDocument( const QString &caption, KTechlab *ktechlab, const char *name = 0L); + FlowCodeDocument( const TQString &caption, KTechlab *ktechlab, const char *name = 0L); ~FlowCodeDocument(); virtual View *createView( ViewContainer *viewContainer, uint viewAreaId, const char *name = 0l ); @@ -50,7 +51,7 @@ class FlowCodeDocument : public ICNDocument * returned by MicroLibrary for the given id. The pic type must be set before anything useful * (such as compilage) can be done. */ - void setPicType( const QString &id ); + void setPicType( const TQString &id ); enum ConvertToTarget { @@ -80,17 +81,17 @@ class FlowCodeDocument : public ICNDocument /** * Called when a variable name has changed (from an entry box) */ - void varNameChanged( const QString &newValue, const QString &oldValue ); + void varNameChanged( const TQString &newValue, const TQString &oldValue ); protected: virtual bool isValidItem( Item *item ); - virtual bool isValidItem( const QString &itemId ); + virtual bool isValidItem( const TQString &itemId ); private slots: void setLastTextOutputTarget( TextDocument * target ); private: - QGuardedPtr<TextDocument> m_pLastTextOutputTarget; + TQGuardedPtr<TextDocument> m_pLastTextOutputTarget; MicroInfo *m_microInfo; // Stores information about the PIC MicroSettings *m_microSettings; // Stores initial settings of the PIC PicItem *m_picItem; // Allows the user to change the PIC settings |