summaryrefslogtreecommitdiffstats
path: root/qtinterface
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 06:59:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 06:59:36 +0000
commit07befe7f683996b72153e7f757cc3c902b94c8c5 (patch)
tree8c47d28f8dee6e65df027b348c940c7ef3664e35 /qtinterface
parente214f32513c5746efd2e470f979c43ec95e92a84 (diff)
downloadtqtinterface-07befe7f683996b72153e7f757cc3c902b94c8c5.tar.gz
tqtinterface-07befe7f683996b72153e7f757cc3c902b94c8c5.zip
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
Diffstat (limited to 'qtinterface')
-rw-r--r--qtinterface/CMakeLists.txt2
-rw-r--r--qtinterface/Makefile.am1
-rw-r--r--qtinterface/private/tqrichtext_p.h40
-rw-r--r--qtinterface/tqt.h.cmake1
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 <kb9vqf@pearsoncomputing.net>
+
+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