diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 11:50:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 18:43:57 +0900 |
commit | 762dc98fa6b143629c75b3bbe277228fb04e8324 (patch) | |
tree | db3a5fb61d0c372eac307dcc69b1fccb413dbad2 /kalarm/lib | |
parent | 6ab7f162f49900770424dba529cba4a8a8a4a242 (diff) | |
download | tdepim-762dc98fa6b143629c75b3bbe277228fb04e8324.tar.gz tdepim-762dc98fa6b143629c75b3bbe277228fb04e8324.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kalarm/lib')
-rw-r--r-- | kalarm/lib/colourcombo.cpp | 2 | ||||
-rw-r--r-- | kalarm/lib/label.cpp | 2 | ||||
-rw-r--r-- | kalarm/lib/timespinbox.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/kalarm/lib/colourcombo.cpp b/kalarm/lib/colourcombo.cpp index c859ac6c0..e52501eec 100644 --- a/kalarm/lib/colourcombo.cpp +++ b/kalarm/lib/colourcombo.cpp @@ -41,7 +41,7 @@ ColourCombo::ColourCombo(TQWidget* parent, const char* name, const TQColor& defa addColours(); connect(this, TQT_SIGNAL(activated(int)), TQT_SLOT(slotActivated(int))); connect(this, TQT_SIGNAL(highlighted(int)), TQT_SLOT(slotHighlighted(int))); - Preferences::connect(TQT_SIGNAL(preferencesChanged()), TQT_TQOBJECT(this), TQT_SLOT(slotPreferencesChanged())); + Preferences::connect(TQT_SIGNAL(preferencesChanged()), this, TQT_SLOT(slotPreferencesChanged())); } void ColourCombo::setColour(const TQColor& colour) diff --git a/kalarm/lib/label.cpp b/kalarm/lib/label.cpp index f2aa91b53..49c176955 100644 --- a/kalarm/lib/label.cpp +++ b/kalarm/lib/label.cpp @@ -55,7 +55,7 @@ void Label::setBuddy(TQWidget* bud) if (w) { while (w->focusProxy()) - w = TQT_TQWIDGET(w->focusProxy()); + w = w->focusProxy(); if (!w->inherits("TQRadioButton")) w = 0; } diff --git a/kalarm/lib/timespinbox.cpp b/kalarm/lib/timespinbox.cpp index 0ac932e69..4bc161fda 100644 --- a/kalarm/lib/timespinbox.cpp +++ b/kalarm/lib/timespinbox.cpp @@ -31,7 +31,7 @@ class TimeSpinBox::TimeValidator : public TQValidator { public: TimeValidator(int minMin, int maxMin, TQWidget* parent, const char* name = 0) - : TQValidator(TQT_TQOBJECT(parent), name), + : TQValidator(parent, name), minMinute(minMin), maxMinute(maxMin), m12Hour(false), mPm(false) { } virtual State validate(TQString&, int&) const; int minMinute, maxMinute; |