Diffstat (limited to 'noncore/apps/opie-reader/QTReader.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/QTReader.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/noncore/apps/opie-reader/QTReader.cpp b/noncore/apps/opie-reader/QTReader.cpp index 03c8fbe..d64abb4 100644 --- a/noncore/apps/opie-reader/QTReader.cpp +++ b/noncore/apps/opie-reader/QTReader.cpp | |||
@@ -5,33 +5,26 @@ | |||
5 | ** | 5 | ** |
6 | ** This file is part of an example program for Qt. This example | 6 | ** This file is part of an example program for Qt. This example |
7 | ** program may be used, distributed and modified without limitation. | 7 | ** program may be used, distributed and modified without limitation. |
8 | ** | 8 | ** |
9 | *****************************************************************************/ | 9 | *****************************************************************************/ |
10 | 10 | ||
11 | #include "useqpe.h" | ||
12 | #include <qpainter.h> | ||
13 | #include <qimage.h> | ||
14 | #include <qtimer.h> | ||
15 | #include "config.h" | ||
16 | #include "QTReader.h" | 11 | #include "QTReader.h" |
17 | #include "QTReaderApp.h" | 12 | #include "QTReaderApp.h" |
18 | #include "CDrawBuffer.h" | ||
19 | #ifdef USEQPE | 13 | #ifdef USEQPE |
20 | #include <qpe/qpeapplication.h> | 14 | #include <qpe/qpeapplication.h> |
21 | #endif | 15 | #endif |
22 | #include <math.h> | 16 | #include <math.h> |
23 | #include <ctype.h> | 17 | #include <ctype.h> |
24 | #include <stdio.h> //for sprintf | 18 | #include <stdio.h> //for sprintf |
25 | #ifdef USEQPE | 19 | #ifdef USEQPE |
26 | #include <qpe/config.h> | 20 | #include <qpe/config.h> |
27 | #include <qpe/applnk.h> | 21 | #include <qpe/applnk.h> |
28 | #include <qpe/global.h> | 22 | #include <qpe/global.h> |
29 | #include <qpe/qcopenvelope_qws.h> | 23 | #include <qpe/qcopenvelope_qws.h> |
30 | #endif | 24 | #endif |
31 | #include <qfontdatabase.h> | ||
32 | 25 | ||
33 | #ifdef _UNICODE | 26 | #ifdef _UNICODE |
34 | const char *QTReader::fonts[] = { "unifont", "Courier", "Times", 0 }; | 27 | const char *QTReader::fonts[] = { "unifont", "Courier", "Times", 0 }; |
35 | #else | 28 | #else |
36 | const char *QTReader::fonts[] = { "Helvetica", "Courier", "Times", 0 }; | 29 | const char *QTReader::fonts[] = { "Helvetica", "Courier", "Times", 0 }; |
37 | #endif | 30 | #endif |
@@ -445,14 +438,12 @@ void QTReader::focusOutEvent(QFocusEvent* e) | |||
445 | { | 438 | { |
446 | timer->stop(); | 439 | timer->stop(); |
447 | //m_scrolldy1 = m_scrolldy2 = 0; | 440 | //m_scrolldy1 = m_scrolldy2 = 0; |
448 | } | 441 | } |
449 | } | 442 | } |
450 | 443 | ||
451 | #include <qapplication.h> | ||
452 | #include <qdrawutil.h> | ||
453 | #ifndef _WINDOWS | 444 | #ifndef _WINDOWS |
454 | #include <unistd.h> | 445 | #include <unistd.h> |
455 | #endif | 446 | #endif |
456 | 447 | ||
457 | void QTReader::goDown() | 448 | void QTReader::goDown() |
458 | { | 449 | { |