summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/emulation_widget.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/emulation_widget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/emulation_widget.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/noncore/apps/opie-console/emulation_widget.h b/noncore/apps/opie-console/emulation_widget.h
index a57803d..56ea15f 100644
--- a/noncore/apps/opie-console/emulation_widget.h
+++ b/noncore/apps/opie-console/emulation_widget.h
@@ -26,55 +26,55 @@ public:
26 * @param const Profile& config, the configuration 26 * @param const Profile& config, the configuration
27 * @param QWidget* parent, parent widget 27 * @param QWidget* parent, parent widget
28 * @param const char* name, the name of the widget 28 * @param const char* name, the name of the widget
29 */ 29 */
30 EmulationWidget( const Profile& config, QWidget *parent=0, const char *name =0 ); 30 EmulationWidget( const Profile& config, QWidget *parent=0, const char *name =0 );
31 31
32 /** 32 /**
33 * destructor 33 * destructor
34 */ 34 */
35 ~EmulationWidget(); 35 ~EmulationWidget();
36 36
37 /** 37 /**
38 * sets the image 38 * sets the image
39 * @param QArray<Character> const newimg, the new image 39 * @param QArray<Character> const newimg, the new image
40 * @param int lines, lines of the new image 40 * @param int lines, lines of the new image
41 * @param int columns, columns of the new image 41 * @param int columns, columns of the new image
42 */ 42 */
43 virtual void setImage( QArray<Character> const newimg, int columns, int lines ); 43 virtual void setImage( QArray<Character> const newimg, int columns, int lines ) {};
44 44
45 /** 45 /**
46 * reloads configuration 46 * reloads configuration
47 * @param const Profile& config, configuration 47 * @param const Profile& config, configuration
48 */ 48 */
49 virtual void reloadConfig( const Profile& config ); 49 virtual void reloadConfig( const Profile& config ) {};
50 50
51 /** 51 /**
52 * sets the scrollbar (not yet implemented) 52 * sets the scrollbar (not yet implemented)
53 */ 53 */
54 virtual void setScroll( int cursor, int slines ); 54 virtual void setScroll( int cursor, int slines );
55 55
56 /** 56 /**
57 * scrolls (not yet implemented) 57 * scrolls (not yet implemented)
58 * @param int value, scroll by this value 58 * @param int value, scroll by this value
59 */ 59 */
60 virtual void scroll( int value ); 60 virtual void scroll( int value );
61 61
62protected: 62protected:
63 63
64 /** 64 /**
65 * calculates current image bounds 65 * calculates current image bounds
66 */ 66 */
67 virtual void calcGeometry(); 67 virtual void calcGeometry() {};
68 68
69 /** 69 /**
70 * draws a String 70 * draws a String
71 * @param QString& string, string to be drawn 71 * @param QString& string, string to be drawn
72 * @param QPainter& painter, painter, that should draw 72 * @param QPainter& painter, painter, that should draw
73 * @param QRect rect, rect to be drawn into 73 * @param QRect rect, rect to be drawn into
74 * @param Character attr, attributes of Characters 74 * @param Character attr, attributes of Characters
75 * @param bool usePixmap, if to use the background pixmap (currently not supported) 75 * @param bool usePixmap, if to use the background pixmap (currently not supported)
76 * @param bool clear, if rect should be cleared 76 * @param bool clear, if rect should be cleared
77 */ 77 */
78 void drawAttrString( QString& string, QPainter& painter, QRect rect, Character attr, bool pm, bool clear ); 78 void drawAttrString( QString& string, QPainter& painter, QRect rect, Character attr, bool pm, bool clear );
79 79
80}; 80};