diff options
author | Michele Calgaro <[email protected]> | 2023-12-21 11:50:26 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-27 11:42:03 +0900 |
commit | 3b25eb314a3cc15e6643b8467d0e6345c10e7415 (patch) | |
tree | 450bb13c8e440007bd6a80d0ad09b212539431bb /kalarm/lib | |
parent | f26a304e63a25d11fec3f7896de72fccd64527a5 (diff) | |
download | tdepim-3b25eb314a3cc15e6643b8467d0e6345c10e7415.tar.gz tdepim-3b25eb314a3cc15e6643b8467d0e6345c10e7415.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 762dc98fa6b143629c75b3bbe277228fb04e8324)
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; |