diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 19:46:30 +0900 |
commit | 69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch) | |
tree | 7b133311a4d5e5394f2612dced305f815c04847b /src/kernel/qrichtext_p.cpp | |
parent | e07baa10b7b8e7105e02a621efadac67216c61ed (diff) | |
download | tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip |
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/kernel/qrichtext_p.cpp')
-rw-r--r-- | src/kernel/qrichtext_p.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kernel/qrichtext_p.cpp b/src/kernel/qrichtext_p.cpp index 7e55b6038..4411b4d45 100644 --- a/src/kernel/qrichtext_p.cpp +++ b/src/kernel/qrichtext_p.cpp @@ -40,13 +40,13 @@ #include "qrichtext_p.h" -#ifndef QT_NO_RICHTEXT +#ifndef TQT_NO_RICHTEXT TQTextCommand::~TQTextCommand() {} TQTextCommand::Commands TQTextCommand::type() const { return Invalid; } -#ifndef QT_NO_TEXTCUSTOMITEM +#ifndef TQT_NO_TEXTCUSTOMITEM TQTextCustomItem::~TQTextCustomItem() {} void TQTextCustomItem::adjustToPainter( TQPainter* p){ if ( p ) width = 0; } TQTextCustomItem::Placement TQTextCustomItem::placement() const { return PlaceInline; } @@ -84,16 +84,16 @@ bool TQTextCustomItem::up( TQTextCursor *, TQTextDocument *&, TQTextParagraph *& { return TRUE; } -#endif // QT_NO_TEXTCUSTOMITEM +#endif // TQT_NO_TEXTCUSTOMITEM void TQTextFlow::setPageSize( int ps ) { pagesize = ps; } -#ifndef QT_NO_TEXTCUSTOMITEM +#ifndef TQT_NO_TEXTCUSTOMITEM bool TQTextFlow::isEmpty() { return leftItems.isEmpty() && rightItems.isEmpty(); } #else bool TQTextFlow::isEmpty() { return TRUE; } #endif -#ifndef QT_NO_TEXTCUSTOMITEM +#ifndef TQT_NO_TEXTCUSTOMITEM void TQTextTableCell::invalidate() { cached_width = -1; cached_sizehint = -1; } void TQTextTable::invalidate() { cachewidth = -1; } @@ -612,7 +612,7 @@ TQMap<int, TQTextParagraphSelection> &TQTextParagraph::selections() const return *mSelections; } -#ifndef QT_NO_TEXTCUSTOMITEM +#ifndef TQT_NO_TEXTCUSTOMITEM TQPtrList<TQTextCustomItem> &TQTextParagraph::floatingItems() const { if ( !mFloatingItems ) @@ -633,4 +633,4 @@ TQTextParagraphPseudoDocument::TQTextParagraphPseudoDocument():pFormatter(0),com TQTextParagraphPseudoDocument::~TQTextParagraphPseudoDocument(){ delete pFormatter; delete commandHistory; } -#endif //QT_NO_RICHTEXT +#endif //TQT_NO_RICHTEXT |