author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /pwmanager/pwmanager/commentbox.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
Diffstat (limited to 'pwmanager/pwmanager/commentbox.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | pwmanager/pwmanager/commentbox.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pwmanager/pwmanager/commentbox.h b/pwmanager/pwmanager/commentbox.h index 3103353..d14ba13 100644 --- a/pwmanager/pwmanager/commentbox.h +++ b/pwmanager/pwmanager/commentbox.h | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <qstring.h> | 23 | #include <qstring.h> |
24 | #include <qsize.h> | 24 | #include <qsize.h> |
25 | class QWidget; | 25 | class QWidget; |
26 | class QTextEdit; | 26 | class Q3TextEdit; |
27 | class KHTMLPart; | 27 | class KHTMLPart; |
28 | 28 | ||
29 | #ifndef PWM_EMBEDDED | 29 | #ifndef PWM_EMBEDDED |
@@ -85,18 +85,18 @@ protected: | |||
85 | /** current comment box usage type */ | 85 | /** current comment box usage type */ |
86 | commentBoxMode mode; | 86 | commentBoxMode mode; |
87 | /** if the comment box is a normal textbox, data is stored here */ | 87 | /** if the comment box is a normal textbox, data is stored here */ |
88 | QTextEdit *textDta; | 88 | Q3TextEdit *textDta; |
89 | /** if the comment box is a HTML box, data is stored here */ | 89 | /** if the comment box is a HTML box, data is stored here */ |
90 | KHTMLPart *htmlDta; | 90 | KHTMLPart *htmlDta; |
91 | }; | 91 | }; |
92 | 92 | ||
93 | #else | 93 | #else |
94 | #include <qtextbrowser.h> | 94 | #include <q3textbrowser.h> |
95 | /** Implementation of the advanced HTML comment box */ | 95 | /** Implementation of the advanced HTML comment box */ |
96 | //US ENH: CommentBox must be derived from QWidget, to allow the splitter to set a initial size | 96 | //US ENH: CommentBox must be derived from QWidget, to allow the splitter to set a initial size |
97 | // without conflicting with the two display modes | 97 | // without conflicting with the two display modes |
98 | 98 | ||
99 | class CommentBox : public QTextBrowser | 99 | class CommentBox : public Q3TextBrowser |
100 | { | 100 | { |
101 | public: | 101 | public: |
102 | CommentBox(QWidget *_parentWidget); | 102 | CommentBox(QWidget *_parentWidget); |