summaryrefslogtreecommitdiffstats
path: root/kdeui
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
commit28042add4dfb7afb6559f8d890f56c22bfa632e5 (patch)
tree660fd9321ba99d0f36e9880e4c49a50a01f38a68 /kdeui
parentf0023a8307d74fa725424821433582eea645a4c5 (diff)
downloadtdelibs-28042add4dfb7afb6559f8d890f56c22bfa632e5.tar.gz
tdelibs-28042add4dfb7afb6559f8d890f56c22bfa632e5.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/kdelibs@1222475 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;