summaryrefslogtreecommitdiffstats
path: root/kdm
diff options
context:
space:
mode:
Diffstat (limited to 'kdm')
-rw-r--r--kdm/kfrontend/themer/kdmitem.cpp2
-rw-r--r--kdm/kfrontend/themer/kdmthemer.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kdm/kfrontend/themer/kdmitem.cpp b/kdm/kfrontend/themer/kdmitem.cpp
index 2d3f841f4..1b2d7af1d 100644
--- a/kdm/kfrontend/themer/kdmitem.cpp
+++ b/kdm/kfrontend/themer/kdmitem.cpp
@@ -621,7 +621,7 @@ KdmItem::tqparentWidget() const
if (!this->parent())
return 0;
- if (tqparent()->qt_cast("TQWidget"))
+ if (tqparent()->qt_cast(TQWIDGET_OBJECT_NAME_STRING))
return (TQWidget*)parent();
return ((KdmItem*)parent())->tqparentWidget();
}
diff --git a/kdm/kfrontend/themer/kdmthemer.cpp b/kdm/kfrontend/themer/kdmthemer.cpp
index 5ff9b6711..5cab6a0cd 100644
--- a/kdm/kfrontend/themer/kdmthemer.cpp
+++ b/kdm/kfrontend/themer/kdmthemer.cpp
@@ -358,7 +358,7 @@ KdmThemer::slotActivated( const TQString &id )
return;
item->widget()->setFocus();
- TQLineEdit *le = (TQLineEdit*)item->widget()->qt_cast("TQLineEdit");
+ TQLineEdit *le = (TQLineEdit*)item->widget()->qt_cast(TQLINEEDIT_OBJECT_NAME_STRING);
if (le)
le->selectAll();
}