summaryrefslogtreecommitdiffstats
path: root/src/linklabel.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit631d7b9b0878ca3842496b5719f9c5803335e150 (patch)
treed09fe0c8cd6edfd28c9c7947b0af60ccc75fbb8d /src/linklabel.h
parent33f08e93132a53bf14f41f5f1e567eeea832b336 (diff)
downloadbasket-631d7b9b0878ca3842496b5719f9c5803335e150.tar.gz
basket-631d7b9b0878ca3842496b5719f9c5803335e150.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/linklabel.h')
-rw-r--r--src/linklabel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/linklabel.h b/src/linklabel.h
index bee254c..13283e3 100644
--- a/src/linklabel.h
+++ b/src/linklabel.h
@@ -102,9 +102,9 @@ class LinkLabel : public TQFrame
Q_OBJECT
TQ_OBJECT
public:
- LinkLabel(int hAlign, int vAlign, TQWidget *tqparent = 0, const char *name = 0, WFlags f = 0);
+ LinkLabel(int hAlign, int vAlign, TQWidget *parent = 0, const char *name = 0, WFlags f = 0);
LinkLabel(const TQString &title, const TQString &icon, LinkLook *look, int hAlign, int vAlign,
- TQWidget *tqparent = 0, const char *name = 0, WFlags f = 0);
+ TQWidget *parent = 0, const char *name = 0, WFlags f = 0);
~LinkLabel();
public:
void setLink(const TQString &title, const TQString &icon, LinkLook *look = 0);
@@ -158,7 +158,7 @@ class LinkDisplay
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.
// Utility function:
- TQFont labelFont(TQFont font, bool isIconButtonHovered) const; /// << @return the font for this link, according to tqparent font AND LinkLook!
+ TQFont labelFont(TQFont font, bool isIconButtonHovered) const; /// << @return the font for this link, according to parent font AND LinkLook!
int heightForWidth(int width) const; /// << @return the needed height to display the link in function of a width.
TQString toHtml(const TQString &imageName) const; /// << Convert the link to HTML code, using the LinkLook to style it.
TQString toHtml(HTMLExporter *exporter, const KURL &url, const TQString &title = "");
@@ -183,7 +183,7 @@ class LinkLookEditWidget : public TQWidget
TQ_OBJECT
public:
LinkLookEditWidget(KCModule* module, const TQString exTitle, const TQString exIcon,
- TQWidget *tqparent = 0, const char *name = 0, WFlags fl = 0);
+ TQWidget *parent = 0, const char *name = 0, WFlags fl = 0);
~LinkLookEditWidget();
void saveChanges();
void saveToLook(LinkLook *look);