-rw-r--r-- | noncore/apps/opie-write/qcomplextext.cpp | 3 | ||||
-rw-r--r-- | noncore/apps/opie-write/qrichtext.cpp | 15 | ||||
-rw-r--r-- | noncore/apps/opie-write/qstylesheet.cpp | 2 | ||||
-rw-r--r-- | noncore/apps/opie-write/qtextedit.cpp | 20 |
4 files changed, 0 insertions, 40 deletions
diff --git a/noncore/apps/opie-write/qcomplextext.cpp b/noncore/apps/opie-write/qcomplextext.cpp index e8b94da..473f184 100644 --- a/noncore/apps/opie-write/qcomplextext.cpp +++ b/noncore/apps/opie-write/qcomplextext.cpp @@ -26,29 +26,26 @@ ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for ** information about Qt Commercial License Agreements. ** See http://www.trolltech.com/qpl/ for QPL licensing information. ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ -#include "qcomplextext_p.h" #include "qrichtext_p.h" -#include "qfontmetrics.h" -#include "qrect.h" #include <stdlib.h> using namespace Qt3; // ----------------------------------------------------- /* a small helper class used internally to resolve Bidi embedding levels. Each line of text caches the embedding level at the start of the line for faster relayouting */ QBidiContext::QBidiContext( uchar l, QChar::Direction e, QBidiContext *p, bool o ) diff --git a/noncore/apps/opie-write/qrichtext.cpp b/noncore/apps/opie-write/qrichtext.cpp index 3b044c3..b77a0fc 100644 --- a/noncore/apps/opie-write/qrichtext.cpp +++ b/noncore/apps/opie-write/qrichtext.cpp @@ -28,42 +28,27 @@ ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for ** information about Qt Commercial License Agreements. ** See http://www.trolltech.com/qpl/ for QPL licensing information. ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include "qrichtext_p.h" -#include "qstringlist.h" -#include "qfont.h" -#include "qtextstream.h" -#include "qfile.h" -#include "qapplication.h" -#include "qmap.h" -#include "qfileinfo.h" -#include "qstylesheet.h" -#include "qmime.h" -#include "qimage.h" #include "qdragobject.h" #include "qpaintdevicemetrics.h" -#include "qpainter.h" #include "qdrawutil.h" -#include "qcursor.h" -#include "qstack.h" -#include "qstyle.h" -#include "qcomplextext_p.h" #include "qcleanuphandler.h" #include <stdlib.h> using namespace Qt3; static QTextCursor* richTextExportStart = 0; static QTextCursor* richTextExportEnd = 0; static QTextFormatCollection *qFormatCollection = 0; const int border_tolerance = 2; diff --git a/noncore/apps/opie-write/qstylesheet.cpp b/noncore/apps/opie-write/qstylesheet.cpp index 67cd828..ca634f7 100644 --- a/noncore/apps/opie-write/qstylesheet.cpp +++ b/noncore/apps/opie-write/qstylesheet.cpp @@ -29,26 +29,24 @@ ** information about Qt Commercial License Agreements. ** See http://www.trolltech.com/qpl/ for QPL licensing information. ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include "qstylesheet.h" #include "qrichtext_p.h" -#include "qlayout.h" -#include "qpainter.h" #include "qcleanuphandler.h" #include <stdio.h> using namespace Qt3; namespace Qt3 { class QStyleSheetItemData { public: QStyleSheetItem::DisplayMode disp; diff --git a/noncore/apps/opie-write/qtextedit.cpp b/noncore/apps/opie-write/qtextedit.cpp index 82401c6..27dd515 100644 --- a/noncore/apps/opie-write/qtextedit.cpp +++ b/noncore/apps/opie-write/qtextedit.cpp @@ -29,46 +29,26 @@ ** information about Qt Commercial License Agreements. ** See http://www.trolltech.com/qpl/ for QPL licensing information. ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #include "qtextedit.h" #include "qrichtext_p.h" -#include "qpainter.h" -#include "qpen.h" -#include "qbrush.h" -#include "qpixmap.h" -#include "qfont.h" -#include "qcolor.h" -#include "qstyle.h" -#include "qsize.h" -#include "qevent.h" -#include "qtimer.h" -#include "qapplication.h" #include "qlistbox.h" -#include "qvbox.h" -#include "qapplication.h" #include "qclipboard.h" -#include "qcolordialog.h" -#include "qfontdialog.h" -#include "qstylesheet.h" -#include "qdragobject.h" -#include "qurl.h" -#include "qcursor.h" -#include "qregexp.h" #include "qpopupmenu.h" #define ACCEL_KEY(k) "\t" + QString("Ctrl+" #k) using namespace Qt3; static bool qt_enable_richtext_copy = FALSE; struct QUndoRedoInfoPrivate { QTextString text; }; |