summaryrefslogtreecommitdiffstats
path: root/kword/KWTextDocument.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kword/KWTextDocument.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kword/KWTextDocument.h')
-rw-r--r--kword/KWTextDocument.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/kword/KWTextDocument.h b/kword/KWTextDocument.h
index c1a6bb84..261694a5 100644
--- a/kword/KWTextDocument.h
+++ b/kword/KWTextDocument.h
@@ -35,6 +35,7 @@ class KoTextDocCommand;
class KWTextDocument : public KoTextDocument
{
Q_OBJECT
+ TQ_OBJECT
public:
/** A real text document inside a frameset */
KWTextDocument( KWTextFrameSet * textfs, KoTextFormatCollection *fc, KoTextFormatter *formatter = 0L );
@@ -49,23 +50,23 @@ public:
* Note that this can be 0L (e.g. for paragraphs in the paragdia preview) */
KWTextFrameSet * textFrameSet() const { return m_textfs; }
- virtual KoTextDocCommand *deleteTextCommand( KoTextDocument *textdoc, int id, int index, const QMemArray<KoTextStringChar> & str, const CustomItemsMap & customItemsMap, const QValueList<KoParagLayout> & oldParagLayouts );
+ virtual KoTextDocCommand *deleteTextCommand( KoTextDocument *textdoc, int id, int index, const TQMemArray<KoTextStringChar> & str, const CustomItemsMap & customItemsMap, const TQValueList<KoParagLayout> & oldParagLayouts );
/// Extensions to KoTextParag::loadOasisSpan
- virtual bool loadSpanTag( const QDomElement& tag, KoOasisContext& context,
+ virtual bool loadSpanTag( const TQDomElement& tag, KoOasisContext& context,
KoTextParag* parag, uint pos,
- QString& textData, KoTextCustomItem* & customItem );
+ TQString& textData, KoTextCustomItem* & customItem );
/// Extensions to KoTextDocument::loadOasisText
- virtual bool loadOasisBodyTag( const QDomElement& tag, KoOasisContext& context,
+ virtual bool loadOasisBodyTag( const TQDomElement& tag, KoOasisContext& context,
KoTextParag* & lastParagraph, KoStyleCollection * styleColl,
KoTextParag* nextParagraph );
protected:
void init();
private:
- void appendBookmark( KoTextParag* parag, int pos, KoTextParag* endParag, int endPos, const QString& name );
- void loadOasisFootnote( const QDomElement& tag, KoOasisContext& context,
+ void appendBookmark( KoTextParag* parag, int pos, KoTextParag* endParag, int endPos, const TQString& name );
+ void loadOasisFootnote( const TQDomElement& tag, KoOasisContext& context,
KoTextCustomItem* & customItem );
- void loadOasisTOC( const QDomElement& tag, KoOasisContext& context, KoTextParag* & lastParagraph, KoStyleCollection* styleColl, KoTextParag* nextParagraph );
+ void loadOasisTOC( const TQDomElement& tag, KoOasisContext& context, KoTextParag* & lastParagraph, KoStyleCollection* styleColl, KoTextParag* nextParagraph );
KWTextFrameSet * m_textfs;
};