summaryrefslogtreecommitdiffstats
path: root/quanta/parts/kafka/wkafkapart.h
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/parts/kafka/wkafkapart.h')
-rw-r--r--quanta/parts/kafka/wkafkapart.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/quanta/parts/kafka/wkafkapart.h b/quanta/parts/kafka/wkafkapart.h
index 6b045150..712dc2e2 100644
--- a/quanta/parts/kafka/wkafkapart.h
+++ b/quanta/parts/kafka/wkafkapart.h
@@ -34,9 +34,9 @@ struct DTDStruct;
class NodeSelectionInd;
class NodeModifsSet;
-#include <qmap.h>
-#include <qobject.h>
-#include <qptrdict.h>
+#include <tqmap.h>
+#include <tqobject.h>
+#include <tqptrdict.h>
#include "kafkahtmlpart.h"
@@ -52,7 +52,7 @@ class KafkaDocument : public QObject
Q_OBJECT
public:
/** Returns a reference to the KafkaDocument object */
- static KafkaDocument* const ref(QWidget *parent = 0L, QWidget *widgetParent = 0L, const char *name = 0L)
+ static KafkaDocument* const ref(TQWidget *parent = 0L, TQWidget *widgetParent = 0L, const char *name = 0L)
{
static KafkaDocument *m_ref;
if (!m_ref) m_ref = new KafkaDocument(parent, widgetParent, name);
@@ -184,7 +184,7 @@ public:
* from its encoded form (e.g. &nbsp;)
* @return Returns the special character.
*/
- QString getDecodedChar(const QString &encodedChar);
+ TQString getDecodedChar(const TQString &encodedChar);
/**
* This function returns the text decoded from its XML-encoded form.
@@ -197,7 +197,7 @@ public:
* e.g. if the current text is the last child of a BLOCK Node (e.g. P)
* @return Returns the text decoded.
*/
- QString getDecodedText(const QString &encodedText, bool translateWhiteSpacesAndLineBreaks = true,
+ TQString getDecodedText(const TQString &encodedText, bool translateWhiteSpacesAndLineBreaks = true,
bool removeLeftWhitespaces = false, bool removeRightWhitespaces = false);
/**
@@ -207,7 +207,7 @@ public:
* @param previousDecodedchar The previous decoded character.
* @return Returns the XML-encoded character.
*/
- QString getEncodedChar(const QString &decodedChar, const QString &previousDecodedChar);
+ TQString getEncodedChar(const TQString &decodedChar, const TQString &previousDecodedChar);
/**
* This function returns the text with all the special XML characters encoded.
@@ -220,14 +220,14 @@ public:
* into &nbsp; Set it to false for PRE Tag.
* @return Return the XML-encoded text.
*/
- QString getEncodedText(const QString &decodedText, int bLine, int bCol, int &eLine, int &eCol,
+ TQString getEncodedText(const TQString &decodedText, int bLine, int bCol, int &eLine, int &eCol,
bool translateWhiteSpaces = true);
/**
* This function behaves essentially like the above function except that it doesn't
* return the position of the encoded text.
*/
- QString getEncodedText(const QString &decodedText);
+ TQString getEncodedText(const TQString &decodedText);
/**
* This function generates the code corresponding to the XML node.
@@ -240,7 +240,7 @@ public:
* (e.g. whitespace => &nbsp;)
* @return Returns the code.
*/
- QString generateCodeFromNode(Node *node, int bLine, int bCol, int &eLine, int &eCol,
+ TQString generateCodeFromNode(Node *node, int bLine, int bCol, int &eLine, int &eCol,
bool encodeText = true);
@@ -448,23 +448,23 @@ public slots:
void slotPaste();
void slotCut(Node* startNode, int startOffset, Node* endNode, int endOffset,
- Node** cursorNode, long cursorOffset, QString const& plainText);
- void slotCopy(Node* startNode, int startOffset, Node* endNode, int endOffset, QString const& plainText);
+ Node** cursorNode, long cursorOffset, TQString const& plainText);
+ void slotCopy(Node* startNode, int startOffset, Node* endNode, int endOffset, TQString const& plainText);
public:
- //use a QPtrList aferwards
+ //use a TQPtrList aferwards
NodeEnhancer *mainEnhancer;
private:
/**
* Create a KafkaWidget.
*/
- KafkaDocument(QWidget *parent, QWidget *widgetParent, const char *name);
+ KafkaDocument(TQWidget *parent, TQWidget *widgetParent, const char *name);
- QMap<QString, QString> decodedChars;
- QMap<QString, QString> encodedChars;
- QPtrDict<kNodeAttrs> domNodeProps;
- QGuardedPtr<KafkaWidget> m_kafkaPart;
+ TQMap<TQString, TQString> decodedChars;
+ TQMap<TQString, TQString> encodedChars;
+ TQPtrDict<kNodeAttrs> domNodeProps;
+ TQGuardedPtr<KafkaWidget> m_kafkaPart;
Document *m_currentDoc;
bool _docLoaded;