diff options
Diffstat (limited to 'src/kernel/qrichtext_p.h')
-rw-r--r-- | src/kernel/qrichtext_p.h | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/src/kernel/qrichtext_p.h b/src/kernel/qrichtext_p.h index 4d88323a1..df6b0a272 100644 --- a/src/kernel/qrichtext_p.h +++ b/src/kernel/qrichtext_p.h @@ -97,7 +97,7 @@ struct TQBidiContext; // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -class Q_EXPORT TQTextStringChar +class TQ_EXPORT TQTextStringChar { friend class TQTextString; @@ -173,11 +173,11 @@ private: #if defined(Q_TEMPLATEDLL) // MOC_SKIP_BEGIN -Q_TEMPLATE_EXTERN template class Q_EXPORT TQMemArray<TQTextStringChar>; +Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMemArray<TQTextStringChar>; // MOC_SKIP_END #endif -class Q_EXPORT TQTextString +class TQ_EXPORT TQTextString { public: @@ -300,13 +300,13 @@ inline bool TQTextString::validCursorPosition( int idx ) #if defined(Q_TEMPLATEDLL) // MOC_SKIP_BEGIN -Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueStack<int>; -Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueStack<TQTextParagraph*>; -Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueStack<bool>; +Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueStack<int>; +Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueStack<TQTextParagraph*>; +Q_TEMPLATE_EXTERN template class TQ_EXPORT TQValueStack<bool>; // MOC_SKIP_END #endif -class Q_EXPORT TQTextCursor +class TQ_EXPORT TQTextCursor { public: TQTextCursor( TQTextDocument *d = 0 ); @@ -398,7 +398,7 @@ private: // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -class Q_EXPORT TQTextCommand +class TQ_EXPORT TQTextCommand { public: enum Commands { Invalid, Insert, Delete, Format, Style }; @@ -419,11 +419,11 @@ protected: #if defined(Q_TEMPLATEDLL) // MOC_SKIP_BEGIN -Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrList<TQTextCommand>; +Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrList<TQTextCommand>; // MOC_SKIP_END #endif -class Q_EXPORT TQTextCommandHistory +class TQ_EXPORT TQTextCommandHistory { public: TQTextCommandHistory( int s ) : current( -1 ), steps( s ) { history.setAutoDelete( TRUE ); } @@ -458,7 +458,7 @@ inline TQTextCommandHistory::~TQTextCommandHistory() // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #ifndef TQT_NO_TEXTCUSTOMITEM -class Q_EXPORT TQTextCustomItem +class TQ_EXPORT TQTextCustomItem { public: TQTextCustomItem( TQTextDocument *p ) @@ -509,12 +509,12 @@ public: #if defined(Q_TEMPLATEDLL) // MOC_SKIP_BEGIN -//Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<TQString, TQString>; +//Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<TQString, TQString>; // MOC_SKIP_END #endif #ifndef TQT_NO_TEXTCUSTOMITEM -class Q_EXPORT TQTextImage : public TQTextCustomItem +class TQ_EXPORT TQTextImage : public TQTextCustomItem { public: TQTextImage( TQTextDocument *p, const TQMap<TQString, TQString> &attr, const TQString& context, @@ -541,7 +541,7 @@ private: #endif #ifndef TQT_NO_TEXTCUSTOMITEM -class Q_EXPORT TQTextHorizontalLine : public TQTextCustomItem +class TQ_EXPORT TQTextHorizontalLine : public TQTextCustomItem { public: TQTextHorizontalLine( TQTextDocument *p, const TQMap<TQString, TQString> &attr, const TQString& context, @@ -565,12 +565,12 @@ private: #ifndef TQT_NO_TEXTCUSTOMITEM #if defined(Q_TEMPLATEDLL) // MOC_SKIP_BEGIN -Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrList<TQTextCustomItem>; +Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrList<TQTextCustomItem>; // MOC_SKIP_END #endif #endif -class Q_EXPORT TQTextFlow +class TQ_EXPORT TQTextFlow { friend class TQTextDocument; #ifndef TQT_NO_TEXTCUSTOMITEM @@ -618,7 +618,7 @@ inline int TQTextFlow::width() const { return w; } #ifndef TQT_NO_TEXTCUSTOMITEM class TQTextTable; -class Q_EXPORT TQTextTableCell : public TQLayoutItem +class TQ_EXPORT TQTextTableCell : public TQLayoutItem { friend class TQTextTable; @@ -683,13 +683,13 @@ private: #if defined(Q_TEMPLATEDLL) // MOC_SKIP_BEGIN -Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrList<TQTextTableCell>; -Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<TQTextCursor*, int>; +Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrList<TQTextTableCell>; +Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<TQTextCursor*, int>; // MOC_SKIP_END #endif #ifndef TQT_NO_TEXTCUSTOMITEM -class Q_EXPORT TQTextTable: public TQTextCustomItem +class TQ_EXPORT TQTextTable: public TQTextCustomItem { friend class TQTextTableCell; @@ -756,7 +756,7 @@ class TQTextTableCell; class TQTextParagraph; #endif -struct Q_EXPORT TQTextDocumentSelection +struct TQ_EXPORT TQTextDocumentSelection { TQTextCursor startCursor, endCursor; bool swapped; @@ -765,14 +765,14 @@ struct Q_EXPORT TQTextDocumentSelection #if defined(Q_TEMPLATEDLL) // MOC_SKIP_BEGIN -Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<int, TQColor>; -//Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<int, bool>; -Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<int, TQTextDocumentSelection>; -Q_TEMPLATE_EXTERN template class Q_EXPORT TQPtrList<TQTextDocument>; +Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<int, TQColor>; +//Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<int, bool>; +Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<int, TQTextDocumentSelection>; +Q_TEMPLATE_EXTERN template class TQ_EXPORT TQPtrList<TQTextDocument>; // MOC_SKIP_END #endif -class Q_EXPORT TQTextDocument : public TQObject +class TQ_EXPORT TQTextDocument : public TQObject { TQ_OBJECT @@ -983,7 +983,7 @@ private: void setRichTextMarginsInternal( TQPtrList< TQPtrVector<TQStyleSheetItem> >& styles, TQTextParagraph* stylesPar ); private: - struct Q_EXPORT Focus { + struct TQ_EXPORT Focus { TQTextParagraph *parag; int start, len; TQString href; @@ -1049,7 +1049,7 @@ private: // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -class Q_EXPORT TQTextDeleteCommand : public TQTextCommand +class TQ_EXPORT TQTextDeleteCommand : public TQTextCommand { public: TQTextDeleteCommand( TQTextDocument *d, int i, int idx, const TQMemArray<TQTextStringChar> &str, @@ -1069,7 +1069,7 @@ protected: }; -class Q_EXPORT TQTextInsertCommand : public TQTextDeleteCommand +class TQ_EXPORT TQTextInsertCommand : public TQTextDeleteCommand { public: TQTextInsertCommand( TQTextDocument *d, int i, int idx, const TQMemArray<TQTextStringChar> &str, @@ -1085,7 +1085,7 @@ public: }; -class Q_EXPORT TQTextFormatCommand : public TQTextCommand +class TQ_EXPORT TQTextFormatCommand : public TQTextCommand { public: TQTextFormatCommand( TQTextDocument *d, int sid, int sidx, int eid, int eidx, const TQMemArray<TQTextStringChar> &old, TQTextFormat *f, int fl ); @@ -1103,7 +1103,7 @@ protected: }; -class Q_EXPORT TQTextStyleCommand : public TQTextCommand +class TQ_EXPORT TQTextStyleCommand : public TQTextCommand { public: TQTextStyleCommand( TQTextDocument *d, int fParag, int lParag, const TQByteArray& beforeChange ); @@ -1124,14 +1124,14 @@ private: // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -struct Q_EXPORT TQTextParagraphSelection +struct TQ_EXPORT TQTextParagraphSelection { TQTextParagraphSelection() : start(0), end(0) { } int start, end; TQ_DUMMY_COMPARISON_OPERATOR(TQTextParagraphSelection) }; -struct Q_EXPORT TQTextLineStart +struct TQ_EXPORT TQTextLineStart { TQTextLineStart() : y( 0 ), baseLine( 0 ), h( 0 ) { } @@ -1146,12 +1146,12 @@ public: #if defined(Q_TEMPLATEDLL) // MOC_SKIP_BEGIN -Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<int, TQTextParagraphSelection>; -Q_TEMPLATE_EXTERN template class Q_EXPORT TQMap<int, TQTextLineStart*>; +Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<int, TQTextParagraphSelection>; +Q_TEMPLATE_EXTERN template class TQ_EXPORT TQMap<int, TQTextLineStart*>; // MOC_SKIP_END #endif -class Q_EXPORT TQTextParagraphData +class TQ_EXPORT TQTextParagraphData { public: TQTextParagraphData() {} @@ -1163,7 +1163,7 @@ class TQTextParagraphPseudoDocument; class TQSyntaxHighlighter; -class Q_EXPORT TQTextParagraph +class TQ_EXPORT TQTextParagraph { friend class TQTextDocument; friend class TQTextCursor; @@ -1383,7 +1383,7 @@ private: // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -class Q_EXPORT TQTextFormatter +class TQ_EXPORT TQTextFormatter { public: TQTextFormatter(); @@ -1428,7 +1428,7 @@ private: // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -class Q_EXPORT TQTextFormatterBreakInWords : public TQTextFormatter +class TQ_EXPORT TQTextFormatterBreakInWords : public TQTextFormatter { public: TQTextFormatterBreakInWords(); @@ -1440,7 +1440,7 @@ public: // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -class Q_EXPORT TQTextFormatterBreakWords : public TQTextFormatter +class TQ_EXPORT TQTextFormatterBreakWords : public TQTextFormatter { public: TQTextFormatterBreakWords(); @@ -1452,7 +1452,7 @@ public: // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -class Q_EXPORT TQTextIndent +class TQ_EXPORT TQTextIndent { public: TQTextIndent(); @@ -1464,7 +1464,7 @@ public: // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -class Q_EXPORT TQTextPreProcessor +class TQ_EXPORT TQTextPreProcessor { public: enum Ids { @@ -1481,7 +1481,7 @@ public: // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -class Q_EXPORT TQTextFormat +class TQ_EXPORT TQTextFormat { friend class TQTextFormatCollection; friend class TQTextDocument; @@ -1591,11 +1591,11 @@ private: #if defined(Q_TEMPLATEDLL) // MOC_SKIP_BEGIN -Q_TEMPLATE_EXTERN template class Q_EXPORT TQDict<TQTextFormat>; +Q_TEMPLATE_EXTERN template class TQ_EXPORT TQDict<TQTextFormat>; // MOC_SKIP_END #endif -class Q_EXPORT TQTextFormatCollection +class TQ_EXPORT TQTextFormatCollection { friend class TQTextDocument; friend class TQTextFormat; @@ -1633,7 +1633,7 @@ private: TQPaintDevice *paintdevice; }; -class Q_EXPORT TQTextParagraphPseudoDocument +class TQ_EXPORT TQTextParagraphPseudoDocument { public: TQTextParagraphPseudoDocument(); |