author | ibotty <ibotty> | 2002-10-06 00:53:57 (UTC) |
---|---|---|
committer | ibotty <ibotty> | 2002-10-06 00:53:57 (UTC) |
commit | 0e67d3b0704e10c1e4676d568caf67d97b604445 (patch) (unidiff) | |
tree | 69b2bb0e4961f82539b6e0f4875aca9a6203e06d | |
parent | 9d081a8b393b8291d3d1b8cd064d9d928c2b0efc (diff) | |
download | opie-0e67d3b0704e10c1e4676d568caf67d97b604445.zip opie-0e67d3b0704e10c1e4676d568caf67d97b604445.tar.gz opie-0e67d3b0704e10c1e4676d568caf67d97b604445.tar.bz2 |
forgot something (virtually falling asleep now)
-rw-r--r-- | noncore/apps/opie-console/widget_layer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/widget_layer.h b/noncore/apps/opie-console/widget_layer.h index a1f3f30..5474c64 100644 --- a/noncore/apps/opie-console/widget_layer.h +++ b/noncore/apps/opie-console/widget_layer.h | |||
@@ -16,99 +16,106 @@ class WidgetLayer : public QObject | |||
16 | { QObject | 16 | { QObject |
17 | 17 | ||
18 | public: | 18 | public: |
19 | /** | 19 | /** |
20 | * constructor | 20 | * constructor |
21 | */ | 21 | */ |
22 | WidgetLayer(); | 22 | WidgetLayer(); |
23 | 23 | ||
24 | /** | 24 | /** |
25 | * destructor | 25 | * destructor |
26 | */ | 26 | */ |
27 | virtual ~WidgetLayer(); | 27 | virtual ~WidgetLayer(); |
28 | 28 | ||
29 | /** | 29 | /** |
30 | * sets the image | 30 | * sets the image |
31 | */ | 31 | */ |
32 | void setImage( const Character* const newimg, int lines, int colums ); | 32 | void setImage( const Character* const newimg, int lines, int colums ); |
33 | 33 | ||
34 | /** | 34 | /** |
35 | * annoy the user | 35 | * annoy the user |
36 | */ | 36 | */ |
37 | void bell(); | 37 | void bell(); |
38 | 38 | ||
39 | /** | 39 | /** |
40 | * return the lines count | 40 | * return the lines count |
41 | */ | 41 | */ |
42 | int lines(){ return _lines; } | 42 | int lines(){ return _lines; } |
43 | 43 | ||
44 | /** | 44 | /** |
45 | * return the columns count | 45 | * return the columns count |
46 | */ | 46 | */ |
47 | int columns(){ return _columns } | 47 | int columns(){ return _columns } |
48 | 48 | ||
49 | /** | 49 | /** |
50 | * copy selection into clipboard, etc | 50 | * copy selection into clipboard, etc |
51 | */ | 51 | */ |
52 | void emitSelection(); | 52 | void emitSelection(); |
53 | 53 | ||
54 | /** | 54 | /** |
55 | * set selection (clipboard) to text | 55 | * set selection (clipboard) to text |
56 | */ | 56 | */ |
57 | void setSelection( QString &text ) | 57 | void setSelection( QString &text ) |
58 | 58 | ||
59 | /** | 59 | /** |
60 | * paste content of clipboard | 60 | * paste content of clipboard |
61 | */ | 61 | */ |
62 | void pasteClipboard(); | 62 | void pasteClipboard(); |
63 | 63 | ||
64 | 64 | ||
65 | signals: | 65 | signals: |
66 | 66 | ||
67 | /** | 67 | /** |
68 | * key was pressed | 68 | * key was pressed |
69 | */ | 69 | */ |
70 | keyPressed( QKeyEvent *e ); | 70 | keyPressed( QKeyEvent *e ); |
71 | 71 | ||
72 | /** | 72 | /** |
73 | * whenever Mouse selects something | 73 | * whenever Mouse selects something |
74 | * 0left Button | 74 | * 0left Button |
75 | * 3Button released | 75 | * 3Button released |
76 | * // numbering due to layout in old TEWidget | 76 | * // numbering due to layout in old TEWidget |
77 | */ | 77 | */ |
78 | mousePressed( int button, int x, int y ); | 78 | mousePressed( int button, int x, int y ); |
79 | 79 | ||
80 | /** | 80 | /** |
81 | * size of image changed | 81 | * size of image changed |
82 | */ | 82 | */ |
83 | imageSizeChanged( int lines, int columns ); | 83 | imageSizeChanged( int lines, int columns ); |
84 | 84 | ||
85 | /** | 85 | /** |
86 | * cursor in history changed | 86 | * cursor in history changed |
87 | */ | 87 | */ |
88 | historyCursorChanged( int value ); | 88 | historyCursorChanged( int value ); |
89 | 89 | ||
90 | /** | 90 | /** |
91 | * selection should be cleared | 91 | * selection should be cleared |
92 | */ | 92 | */ |
93 | void selectionCleared(); | 93 | void selectionCleared(); |
94 | 94 | ||
95 | /** | 95 | /** |
96 | * selection begin | 96 | * selection begin |
97 | */ | 97 | */ |
98 | void selectionBegin( const int x, const int y ) | 98 | void selectionBegin( const int x, const int y ) |
99 | 99 | ||
100 | /** | 100 | /** |
101 | * selection extended | 101 | * selection extended |
102 | * (from begin s.a. to x, y) | 102 | * (from begin s.a. to x, y) |
103 | */ | 103 | */ |
104 | void selectionExtended( const int x, const int y ); | 104 | void selectionExtended( const int x, const int y ); |
105 | 105 | ||
106 | /** | 106 | /** |
107 | * selection end | 107 | * selection end |
108 | * bool: preserve line breaks in selection | 108 | * bool: preserve line breaks in selection |
109 | */ | 109 | */ |
110 | void selectionEnd( const bool lineBreakPreserve ); | 110 | void selectionEnd( const bool lineBreakPreserve ); |
111 | 111 | ||
112 | slots: | ||
113 | |||
114 | /** | ||
115 | * clear selection | ||
116 | */ | ||
117 | onClearSelection(); | ||
118 | |||
112 | }; | 119 | }; |
113 | 120 | ||
114 | 121 | ||