diff options
Diffstat (limited to 'kalarm')
-rw-r--r-- | kalarm/kamail.cpp | 2 | ||||
-rw-r--r-- | kalarm/lib/label.cpp | 2 | ||||
-rw-r--r-- | kalarm/lib/spinbox.cpp | 2 | ||||
-rw-r--r-- | kalarm/lib/spinbox2.cpp | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/kalarm/kamail.cpp b/kalarm/kamail.cpp index faf3e5c3c..0c33a3ae7 100644 --- a/kalarm/kamail.cpp +++ b/kalarm/kamail.cpp @@ -944,7 +944,7 @@ TQString KAMail::getMailBody(TQ_UINT32 serialNumber) arg << (int)0; TQString body; if (kapp->dcopClient()->call("kmail", "KMailIface", "getDecodedBodyPart(TQ_UINT32,int)", data, replyType, replyData) - && replyType == TQSTRING_OBJECT_NAME_STRING) + && replyType == "TQString") { TQDataStream reply_stream(replyData, IO_ReadOnly); reply_stream >> body; diff --git a/kalarm/lib/label.cpp b/kalarm/lib/label.cpp index 7767a7659..891213c57 100644 --- a/kalarm/lib/label.cpp +++ b/kalarm/lib/label.cpp @@ -56,7 +56,7 @@ void Label::setBuddy(TQWidget* bud) { while (w->focusProxy()) w = TQT_TQWIDGET(w->focusProxy()); - if (!w->inherits(TQRADIOBUTTON_OBJECT_NAME_STRING)) + if (!w->inherits("TQRadioButton")) w = 0; } if (!w) diff --git a/kalarm/lib/spinbox.cpp b/kalarm/lib/spinbox.cpp index a55492ec7..3a2cffc42 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_OBJECT_NAME_STRING, 0, false, true); + TQObjectList* spinwidgets = queryList("TQSpinWidget", 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 360d2a2a5..5572cb953 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_OBJECT_NAME_STRING)) + if (style().inherits("TQMotifPlusStyle")) { 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_OBJECT_NAME_STRING, 0, false, true); + TQObjectList* spinwidgets = spinbox->queryList("TQSpinWidget", 0, false, true); mSpinWidget = (SpinBox*)spinwidgets->getFirst(); delete spinwidgets; } |