summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/screen.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/screen.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/screen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/screen.h b/noncore/apps/opie-console/screen.h
index cd7422a..38b84ab 100644
--- a/noncore/apps/opie-console/screen.h
+++ b/noncore/apps/opie-console/screen.h
@@ -131,17 +131,17 @@ public: // these are all `Screen' operations
void clear();
void home();
void reset();
//
void ShowCharacter(unsigned short c);
//
void resizeImage(int new_lines, int new_columns);
//
- Character* getCookedImage();
+ QArray<Character> getCookedImage();
/*! return the number of lines. */
int getLines() { return lines; }
/*! return the number of columns. */
int getColumns() { return columns; }
/*! set the position of the history cursor. */
void setHistCursor(int cursor);
@@ -188,17 +188,17 @@ private:
Even more unexpected are variables to save and restore
parts of the state.
*/
// screen image ----------------
int lines;
int columns;
- Character *image; // [lines][columns]
+ QArray<Character> image; // [lines][columns]
// history buffer ---------------
int histCursor; // display position relative to start of the history buffer
HistoryScroll hist;
// cursor location