diff options
Diffstat (limited to 'src/linklabel.h')
-rw-r--r-- | src/linklabel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linklabel.h b/src/linklabel.h index 7266ad4..13283e3 100644 --- a/src/linklabel.h +++ b/src/linklabel.h @@ -152,8 +152,8 @@ class LinkDisplay int width() const { return m_width; } /// << @return the width of the link. It is never less than minWidth()! int height() const { return m_height; } /// << @return the height if the link after having set it a width. // And finaly, use it: - void paint(TQPainter *painter, int x, int y, int width, int height, const TQColorGroup &colorGroup, bool isDefaultColor, bool isSelected, bool isHovered, bool isIconButtonHovered) const; /// << Draw the link on a painter. Set textColor to be !isValid() to use the LinkLook color. Otherwise it will use this color! - TQPixmap feedbackPixmap(int width, int height, const TQColorGroup &colorGroup, bool isDefaultColor); /// << @return the pixmap to put under the cursor while dragging this object. + void paint(TQPainter *painter, int x, int y, int width, int height, const TQColorGroup &tqcolorGroup, bool isDefaultColor, bool isSelected, bool isHovered, bool isIconButtonHovered) const; /// << Draw the link on a painter. Set textColor to be !isValid() to use the LinkLook color. Otherwise it will use this color! + TQPixmap feedbackPixmap(int width, int height, const TQColorGroup &tqcolorGroup, bool isDefaultColor); /// << @return the pixmap to put under the cursor while dragging this object. // Eventually get some information about the link display: bool iconButtonAt(const TQPoint &pos) const; /// << @return true if the icon button is under point @p pos. TQRect iconButtonRect() const; /// << @return the rectangle of the icon button. |