summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/label.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kalarm/lib/label.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/lib/label.cpp')
-rw-r--r--kalarm/lib/label.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kalarm/lib/label.cpp b/kalarm/lib/label.cpp
index ad6fd7832..d2b18ba10 100644
--- a/kalarm/lib/label.cpp
+++ b/kalarm/lib/label.cpp
@@ -23,20 +23,20 @@
#include "label.moc"
-Label::Label(TQWidget* parent, const char* name, WFlags f)
- : TQLabel(parent, name, f),
+Label::Label(TQWidget* tqparent, const char* name, WFlags f)
+ : TQLabel(tqparent, name, f),
mRadioButton(0),
mFocusWidget(0)
{ }
-Label::Label(const TQString& text, TQWidget* parent, const char* name, WFlags f)
- : TQLabel(text, parent, name, f),
+Label::Label(const TQString& text, TQWidget* tqparent, const char* name, WFlags f)
+ : TQLabel(text, tqparent, name, f),
mRadioButton(0),
mFocusWidget(0)
{ }
-Label::Label(TQWidget* buddy, const TQString& text, TQWidget* parent, const char* name, WFlags f)
- : TQLabel(buddy, text, parent, name, f),
+Label::Label(TQWidget* buddy, const TQString& text, TQWidget* tqparent, const char* name, WFlags f)
+ : TQLabel(buddy, text, tqparent, name, f),
mRadioButton(0),
mFocusWidget(0)
{ }
@@ -103,8 +103,8 @@ void Label::activated()
* Class: LabelFocusWidget
=============================================================================*/
-LabelFocusWidget::LabelFocusWidget(TQWidget* parent, const char* name)
- : TQWidget(parent, name)
+LabelFocusWidget::LabelFocusWidget(TQWidget* tqparent, const char* name)
+ : TQWidget(tqparent, name)
{
setFocusPolicy(ClickFocus);
setFixedSize(TQSize(1,1));
@@ -112,7 +112,7 @@ LabelFocusWidget::LabelFocusWidget(TQWidget* parent, const char* name)
void LabelFocusWidget::focusInEvent(TQFocusEvent*)
{
- Label* parent = (Label*)tqparentWidget();
- parent->activated();
+ Label* tqparent = (Label*)tqparentWidget();
+ tqparent->activated();
}