summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/widget_layer.h32
1 files changed, 26 insertions, 6 deletions
diff --git a/noncore/apps/opie-console/widget_layer.h b/noncore/apps/opie-console/widget_layer.h
index adf2038..d821f1d 100644
--- a/noncore/apps/opie-console/widget_layer.h
+++ b/noncore/apps/opie-console/widget_layer.h
@@ -43,6 +43,9 @@ public:
43 /** 43 /**
44 * constructor 44 * constructor
45 * @param const Profile &config, the configuration for this widget
46 * @param QWidget *parent, the parent widget
47 * @param const char *name, the name of the widget, defaults to ""
45 */ 48 */
46 WidgetLayer( QWidget *parent=0, const char *name=0 ); 49 WidgetLayer( const Profile &config, QWidget *parent=0, const char *name=0 );
47 50
48 /** 51 /**
@@ -54,4 +57,7 @@ public:
54 /** 57 /**
55 * sets the image 58 * sets the image
59 * @param QArray<Character> const newimg, the new image
60 * @param int lines, lines count of newimg
61 * @param int columns, columns count of newimg
56 */ 62 */
57 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;
@@ -63,10 +69,10 @@ public:
63 69
64 /** 70 /**
65 * return the lines count 71 * @return int m_lines, the lines count
66 */ 72 */
67 int lines(){ return m_lines; } 73 int lines(){ return m_lines; }
68 74
69 /** 75 /**
70 * return the columns count 76 * @return int m_columns, the columns count
71 */ 77 */
72 int columns(){ return m_columns; } 78 int columns(){ return m_columns; }
@@ -79,8 +85,11 @@ public:
79 /** 85 /**
80 * insert text 86 * insert text
87 * @param QString text, the text to be inserted
81 */ 88 */
82 void insertText( QString text ); 89 void insertText( QString text );
90
83 /** 91 /**
84 * set selection (clipboard) to text 92 * set selection (clipboard) to text
93 * @param const QString &text, the text to be selected
85 */ 94 */
86 void setSelection( const QString &text ); 95 void setSelection( const QString &text );
@@ -101,6 +110,10 @@ signals:
101 /** 110 /**
102 * whenever Mouse selects something 111 * whenever Mouse selects something
103 * 0left Button 112 * @param int button, the button that us pressed :
104 * 3Button released 113 * 0left Button
114 * 3Button released
115 * @param int x, x position
116 * @param int y, y position
117 *
105 * // numbering due to layout in old TEWidget 118 * // numbering due to layout in old TEWidget
106 */ 119 */
@@ -109,4 +122,6 @@ signals:
109 /** 122 /**
110 * size of image changed 123 * size of image changed
124 * @param int lines, line count of new size
125 * @param int columns, column count of new size
111 */ 126 */
112 void imageSizeChanged( int lines, int columns ); 127 void imageSizeChanged( int lines, int columns );
@@ -114,4 +129,5 @@ signals:
114 /** 129 /**
115 * cursor in history changed 130 * cursor in history changed
131 * @param int value, value of history cursor
116 */ 132 */
117 void historyCursorChanged( int value ); 133 void historyCursorChanged( int value );
@@ -124,4 +140,6 @@ signals:
124 /** 140 /**
125 * selection begin 141 * selection begin
142 * @param const int x, x position
143 * @param const int y, y position
126 */ 144 */
127 void selectionBegin( const int x, const int y ); 145 void selectionBegin( const int x, const int y );
@@ -130,4 +148,6 @@ signals:
130 * selection extended 148 * selection extended
131 * (from begin (s.a.) to x, y) 149 * (from begin (s.a.) to x, y)
150 * @param const int x, x position
151 * @param const int y, y position
132 */ 152 */
133 void selectionExtended( const int x, const int y ); 153 void selectionExtended( const int x, const int y );
@@ -135,5 +155,5 @@ signals:
135 /** 155 /**
136 * selection end 156 * selection end
137 * bool: preserve line breaks in selection 157 * @param const bool lineBreakPreserve, preserve line breaks in selection
138 */ 158 */
139 void selectionEnd( const bool lineBreakPreserve ); 159 void selectionEnd( const bool lineBreakPreserve );