summaryrefslogtreecommitdiffstats
path: root/kalarm
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
commita21c1c9b1dca09b9ab3a56d60e6f4c7a253689f8 (patch)
tree3359e2a90e87b53193c6ded445569016204e1c12 /kalarm
parent084c86a81820f17db9eee7362120586199008e27 (diff)
downloadtdepim-a21c1c9b1dca09b9ab3a56d60e6f4c7a253689f8.tar.gz
tdepim-a21c1c9b1dca09b9ab3a56d60e6f4c7a253689f8.zip
Fix a number of runtime object identification problems which led to an even larger array of minor glitches
NOTE: kdevelop and kdewebdev still need to be fully repaired git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1222475 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm')
-rw-r--r--kalarm/lib/label.cpp2
-rw-r--r--kalarm/lib/spinbox.cpp2
-rw-r--r--kalarm/lib/spinbox2.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/kalarm/lib/label.cpp b/kalarm/lib/label.cpp
index 92f07402a..ad6fd7832 100644
--- a/kalarm/lib/label.cpp
+++ b/kalarm/lib/label.cpp
@@ -56,7 +56,7 @@ void Label::setBuddy(TQWidget* bud)
{
while (w->focusProxy())
w = w->focusProxy();
- if (!w->inherits("TQRadioButton"))
+ if (!w->inherits(TQRADIOBUTTON_OBJECT_NAME_STRING))
w = 0;
}
if (!w)
diff --git a/kalarm/lib/spinbox.cpp b/kalarm/lib/spinbox.cpp
index 42d91a914..8ae5962a2 100644
--- a/kalarm/lib/spinbox.cpp
+++ b/kalarm/lib/spinbox.cpp
@@ -56,7 +56,7 @@ void SpinBox::init()
// Find the spin widgets which are part of the spin boxes, in order to
// handle their shift-button presses.
- TQObjectList* spinwidgets = queryList("TQSpinWidget", 0, false, true);
+ TQObjectList* spinwidgets = queryList(TQSPINWIDGET_OBJECT_NAME_STRING, 0, false, true);
TQSpinWidget* spin = (TQSpinWidget*)spinwidgets->getFirst();
if (spin)
spin->installEventFilter(this); // handle shift-button presses
diff --git a/kalarm/lib/spinbox2.cpp b/kalarm/lib/spinbox2.cpp
index db74cc595..8b3faa706 100644
--- a/kalarm/lib/spinbox2.cpp
+++ b/kalarm/lib/spinbox2.cpp
@@ -291,7 +291,7 @@ void SpinBox2::getMetrics() const
wGap = 0;
// Make style-specific adjustments for a better appearance
- if (style().inherits("TQMotifPlusStyle"))
+ if (style().inherits(TQMOTIFPLUSSTYLE_OBJECT_NAME_STRING))
{
xSpinbox = 0; // show the edit control left border
wGap = 2; // leave a space to the right of the left-hand pair of spin buttons
@@ -403,7 +403,7 @@ SpinMirror::SpinMirror(SpinBox* spinbox, TQFrame* spinFrame, TQWidget* parent, c
// Find the spin widget which is part of the spin box, in order to
// pass on its shift-button presses.
- TQObjectList* spinwidgets = spinbox->queryList("TQSpinWidget", 0, false, true);
+ TQObjectList* spinwidgets = spinbox->queryList(TQSPINWIDGET_OBJECT_NAME_STRING, 0, false, true);
mSpinWidget = (SpinBox*)spinwidgets->getFirst();
delete spinwidgets;
}