diff options
-rw-r--r-- | qtinterface/CMakeLists.txt | 2 | ||||
-rw-r--r-- | qtinterface/Makefile.am | 1 | ||||
-rw-r--r-- | qtinterface/private/tqrichtext_p.h | 40 | ||||
-rw-r--r-- | qtinterface/tqt.h.cmake | 1 |
4 files changed, 43 insertions, 1 deletions
diff --git a/qtinterface/CMakeLists.txt b/qtinterface/CMakeLists.txt index 115a5dc..10ac44c 100644 --- a/qtinterface/CMakeLists.txt +++ b/qtinterface/CMakeLists.txt @@ -86,7 +86,7 @@ install( FILES tqvariant.h tqvfbhdr.h tqwaitcondition.h tqwhatsthis.h tqwidgetfactory.h tqwidgetintdict.h tqwidgetlist.h tqwmatrix.h tqxml.h private/tqucomextra_p.h private/tqlayoutengine_p.h private/tqinternal_p.h private/tqeffects_p.h - tqlistiterator.h + private/tqrichtext_p.h tqlistiterator.h DESTINATION ${INCLUDE_INSTALL_DIR} ) install( diff --git a/qtinterface/Makefile.am b/qtinterface/Makefile.am index 5f6d7a2..73c3b3b 100644 --- a/qtinterface/Makefile.am +++ b/qtinterface/Makefile.am @@ -133,6 +133,7 @@ private/tqucomextra_p.h \ private/tqlayoutengine_p.h \ private/tqinternal_p.h \ private/tqeffects_p.h \ +private/tqrichtext_p.h \ \ tqlistiterator.h noinst_HEADERS = diff --git a/qtinterface/private/tqrichtext_p.h b/qtinterface/private/tqrichtext_p.h new file mode 100644 index 0000000..fac91fc --- /dev/null +++ b/qtinterface/private/tqrichtext_p.h @@ -0,0 +1,40 @@ +/* + +Copyright (C) 2010 Timothy Pearson <[email protected]> + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public License +along with this library; see the file COPYING.LIB. If not, write to +the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +Boston, MA 02110-1301, USA. + +*/ + +#ifndef TQRICHTEXT_P_H +#define TQRICHTEXT_P_H + +#include <tqt.h> + +#ifdef USE_QT3 + +// Reimplement the QSharedDoubleBuffer class +// For Qt3, no changes are needed + +#include <private/qrichtext_p.h> + +#endif // USE_QT3 + +#ifdef USE_QT4 + +#endif // USE_QT4 + +#endif /* TQRICHTEXT_P_H */ diff --git a/qtinterface/tqt.h.cmake b/qtinterface/tqt.h.cmake index 28bdbff..10fb68d 100644 --- a/qtinterface/tqt.h.cmake +++ b/qtinterface/tqt.h.cmake @@ -334,6 +334,7 @@ Boston, MA 02110-1301, USA. #define TQDragObject QDragObject #define TQStoredDrag QStoredDrag #define TQTextDrag QTextDrag +#define TQTextCursor QTextCursor #define TQImageDrag QImageDrag #define TQUriDrag QUriDrag #define TQUuid QUuid |