summaryrefslogtreecommitdiff
authoribotty <ibotty>2002-10-08 11:58:01 (UTC)
committer ibotty <ibotty>2002-10-08 11:58:01 (UTC)
commit527227e2065d70887d7de94169434b491a83e5ba (patch) (unidiff)
tree20a981f13032d67a3be51a14aa2ef7a83423a5b1
parent21766cbcf4b4ca84da82a83f1b87d1366e75dd86 (diff)
downloadopie-527227e2065d70887d7de94169434b491a83e5ba.zip
opie-527227e2065d70887d7de94169434b491a83e5ba.tar.gz
opie-527227e2065d70887d7de94169434b491a83e5ba.tar.bz2
updated documentation
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/widget_layer.h28
1 files changed, 24 insertions, 4 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
@@ -42,8 +42,11 @@ public:
42 42
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 /**
49 * destructor 52 * destructor
@@ -53,6 +56,9 @@ public:
53public: 56public:
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;
58 64
@@ -62,12 +68,12 @@ public:
62 void bell(); 68 void bell();
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; }
73 79
@@ -78,10 +84,13 @@ public:
78 84
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 );
87 96
@@ -100,19 +109,26 @@ signals:
100 109
101 /** 110 /**
102 * whenever Mouse selects something 111 * whenever Mouse selects something
112 * @param int button, the button that us pressed :
103 * 0left Button 113 * 0left Button
104 * 3Button released 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 */
107 void mousePressed( int button, int x, int y ); 120 void mousePressed( int button, int x, int y );
108 121
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 );
113 128
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 );
118 134
@@ -123,18 +139,22 @@ signals:
123 139
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 );
128 146
129 /** 147 /**
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 );
134 154
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 );
140 160