From 07befe7f683996b72153e7f757cc3c902b94c8c5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 17 May 2011 06:59:36 +0000 Subject: [PATCH] Add missing tqrichtext_p.h file Add missing TQTextIterator class git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1232321 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- qtinterface/CMakeLists.txt | 2 +- qtinterface/Makefile.am | 1 + qtinterface/private/tqrichtext_p.h | 40 ++++++++++++++++++++++++++++++ qtinterface/tqt.h.cmake | 1 + 4 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 qtinterface/private/tqrichtext_p.h 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 + +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 + +#ifdef USE_QT3 + +// Reimplement the QSharedDoubleBuffer class +// For Qt3, no changes are needed + +#include + +#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