Mercurial > octave-nkf
comparison libgui/graphics/TextEdit.h @ 18501:523878f76518 gui-release
style fix: eliminate lines of slashes to separate functions.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 20 Feb 2014 15:10:07 -0500 |
parents | 49877d3be064 |
children | dbb207d10d7c 709f3a77685d |
comparison
equal
deleted
inserted
replaced
18500:49877d3be064 | 18501:523878f76518 |
---|---|
23 #ifndef __QtHandles_TextEdit__ | 23 #ifndef __QtHandles_TextEdit__ |
24 #define __QtHandles_TextEdit__ 1 | 24 #define __QtHandles_TextEdit__ 1 |
25 | 25 |
26 #include <QTextEdit> | 26 #include <QTextEdit> |
27 | 27 |
28 ////////////////////////////////////////////////////////////////////////////// | |
29 | |
30 namespace QtHandles | 28 namespace QtHandles |
31 { | 29 { |
32 | |
33 ////////////////////////////////////////////////////////////////////////////// | |
34 | 30 |
35 class TextEdit : public QTextEdit | 31 class TextEdit : public QTextEdit |
36 { | 32 { |
37 Q_OBJECT | 33 Q_OBJECT |
38 | 34 |
46 protected: | 42 protected: |
47 void focusOutEvent (QFocusEvent* event); | 43 void focusOutEvent (QFocusEvent* event); |
48 void keyPressEvent (QKeyEvent* event); | 44 void keyPressEvent (QKeyEvent* event); |
49 }; | 45 }; |
50 | 46 |
51 ////////////////////////////////////////////////////////////////////////////// | |
52 | |
53 }; // namespace QtHandles | 47 }; // namespace QtHandles |
54 | 48 |
55 ////////////////////////////////////////////////////////////////////////////// | |
56 | |
57 #endif | 49 #endif |