summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/widget_layer.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/widget_layer.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/widget_layer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/widget_layer.h b/noncore/apps/opie-console/widget_layer.h
index 5bd2ef9..01a4614 100644
--- a/noncore/apps/opie-console/widget_layer.h
+++ b/noncore/apps/opie-console/widget_layer.h
@@ -57,98 +57,99 @@ public:
57 /** 57 /**
58 * sets the image 58 * sets the image
59 * @param QArray<Character> const newimg, the new image 59 * @param QArray<Character> const newimg, the new image
60 * @param int lines, lines count of newimg 60 * @param int lines, lines count of newimg
61 * @param int columns, columns count of newimg 61 * @param int columns, columns count of newimg
62 */ 62 */
63 virtual void setImage( QArray<Character> const newimg, int lines, int colums ) = 0; 63 virtual void setImage( QArray<Character> const newimg, int lines, int colums ) = 0;
64 64
65 /** 65 /**
66 * annoy the user 66 * annoy the user
67 */ 67 */
68 void bell(); 68 void bell();
69 69
70 /** 70 /**
71 * @return int m_lines, the lines count 71 * @return int m_lines, the lines count
72 */ 72 */
73 int lines(){ return m_lines; } 73 int lines(){ return m_lines; }
74 74
75 /** 75 /**
76 * @return int m_columns, the columns count 76 * @return int m_columns, the columns count
77 */ 77 */
78 int columns(){ return m_columns; } 78 int columns(){ return m_columns; }
79 79
80 /** 80 /**
81 * insert current selection (currently this is only the clipboard) 81 * insert current selection (currently this is only the clipboard)
82 */ 82 */
83 void insertSelection(); 83 void insertSelection();
84 84
85 /** 85 /**
86 * insert text 86 * insert text
87 * @param QString text, the text to be inserted 87 * @param QString text, the text to be inserted
88 */ 88 */
89 void insertText( QString text ); 89 void insertText( QString text );
90 90
91 /** 91 /**
92 * set selection (clipboard) to text 92 * set selection (clipboard) to text
93 * @param const QString &text, the text to be selected 93 * @param const QString &text, the text to be selected
94 */ 94 */
95 void setSelection( const QString &text ); 95 void setSelection( const QString &text );
96 96
97 /** 97 /**
98 * paste content of clipboard 98 * paste content of clipboard
99 */ 99 */
100 void pasteClipboard(); 100 void pasteClipboard();
101 101
102 102
103 /** 103 /**
104 * reload configuration 104 * reload configuration
105 * @param const Profile& config, the config to be used (may be the same as in constructor)
105 */ 106 */
106 virtual void reloadConfig() = 0; 107 virtual void reloadConfig( const Profile& config ) = 0;
107 108
108 109
109 /** 110 /**
110 * sets the scrollbar (if implemented by successor of this class) 111 * sets the scrollbar (if implemented by successor of this class)
111 */ 112 */
112 virtual void setScroll( int cursor, int slines ); 113 virtual void setScroll( int cursor, int slines );
113 114
114 /** 115 /**
115 * scrolls (if implemented, by successor of this class) 116 * scrolls (if implemented, by successor of this class)
116 * @param int value, how much the widget should scroll up (positive value) or down (negative value) 117 * @param int value, how much the widget should scroll up (positive value) or down (negative value)
117 */ 118 */
118 virtual void scroll( int value ); 119 virtual void scroll( int value );
119 120
120signals: 121signals:
121 122
122 /** 123 /**
123 * key was pressed 124 * key was pressed
124 */ 125 */
125 void keyPressed( QKeyEvent *e ); 126 void keyPressed( QKeyEvent *e );
126 127
127 /** 128 /**
128 * whenever Mouse selects something 129 * whenever Mouse selects something
129 * @param int button, the button that us pressed : 130 * @param int button, the button that us pressed :
130 * 0left Button 131 * 0left Button
131 * 3Button released 132 * 3Button released
132 * @param int x, x position 133 * @param int x, x position
133 * @param int y, y position 134 * @param int y, y position
134 * 135 *
135 * // numbering due to layout in old TEWidget 136 * // numbering due to layout in old TEWidget
136 */ 137 */
137 void mousePressed( int button, int x, int y ); 138 void mousePressed( int button, int x, int y );
138 139
139 /** 140 /**
140 * size of image changed 141 * size of image changed
141 * @param int lines, line count of new size 142 * @param int lines, line count of new size
142 * @param int columns, column count of new size 143 * @param int columns, column count of new size
143 */ 144 */
144 void imageSizeChanged( int lines, int columns ); 145 void imageSizeChanged( int lines, int columns );
145 146
146 /** 147 /**
147 * cursor in history changed 148 * cursor in history changed
148 * @param int value, value of history cursor 149 * @param int value, value of history cursor
149 */ 150 */
150 void historyCursorChanged( int value ); 151 void historyCursorChanged( int value );
151 152
152 /** 153 /**
153 * selection should be cleared 154 * selection should be cleared
154 */ 155 */