summaryrefslogtreecommitdiffstats
path: root/kdeui
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui')
-rw-r--r--kdeui/kcombobox.cpp2
-rw-r--r--kdeui/kjanuswidget.cpp2
-rw-r--r--kdeui/kmainwindow.cpp2
-rw-r--r--kdeui/kwindowinfo.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/kdeui/kcombobox.cpp b/kdeui/kcombobox.cpp
index 25a6a4a43..af4852ac2 100644
--- a/kdeui/kcombobox.cpp
+++ b/kdeui/kcombobox.cpp
@@ -249,7 +249,7 @@ void KComboBox::wheelEvent( TQWheelEvent *ev )
void KComboBox::setLineEdit( TQLineEdit *edit )
{
if ( !editable() && edit &&
- !qstrcmp( edit->className(), "TQLineEdit" ) )
+ !qstrcmp( edit->className(), TQLINEEDIT_OBJECT_NAME_STRING ) )
{
// uic generates code that creates a read-only KComboBox and then
// calls combo->setEditable( true ), which causes TQComboBox to set up
diff --git a/kdeui/kjanuswidget.cpp b/kdeui/kjanuswidget.cpp
index 2cfbb473e..584a82c18 100644
--- a/kdeui/kjanuswidget.cpp
+++ b/kdeui/kjanuswidget.cpp
@@ -684,7 +684,7 @@ int KJanusWidget::pageIndex( TQWidget *widget ) const
// and addGridPage() but not with addPage() which returns a child of
// the toplevel page. addPage() returns a TQFrame so I check for that.
//
- if( widget->isA("TQFrame") )
+ if( widget->isA(TQFRAME_OBJECT_NAME_STRING) )
{
return d->mPageToInt[widget->tqparentWidget()];
}
diff --git a/kdeui/kmainwindow.cpp b/kdeui/kmainwindow.cpp
index 777f5e004..21b22f76b 100644
--- a/kdeui/kmainwindow.cpp
+++ b/kdeui/kmainwindow.cpp
@@ -394,7 +394,7 @@ void KMainWindow::hide()
d->hiddenDockWindows.clear();
- TQObjectList *list = queryList( "TQDockWindow" );
+ TQObjectList *list = queryList( TQDOCKWINDOW_OBJECT_NAME_STRING );
for( TQObjectListIt it( *list ); it.current(); ++it ) {
TQDockWindow *dw = (TQDockWindow*)it.current();
if ( dw->isTopLevel() && dw->isVisible() ) {
diff --git a/kdeui/kwindowinfo.cpp b/kdeui/kwindowinfo.cpp
index 362cc5b79..9c17b03c1 100644
--- a/kdeui/kwindowinfo.cpp
+++ b/kdeui/kwindowinfo.cpp
@@ -85,7 +85,7 @@ void KWindowInfo::permanent( const TQString &text )
void KWindowInfo::permanent( const TQString &text, const TQPixmap &pix )
{
if ( !oldText.isNull() ) {
- TQObjectList *l = queryList( "TQTimer" );
+ TQObjectList *l = queryList( TQTIMER_OBJECT_NAME_STRING );
TQObjectListIt it( *l );
TQObject *obj;