-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 | |||
@@ -48,67 +48,74 @@ public: | |||
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 | ||