Browse Source

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/kdegraphics@1222475 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
tags/v3.5.13
tpearson 9 years ago
parent
commit
6803a8bb7f
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      kpovmodeler/pmdockwidget.cpp
  2. +2
    -2
      kuickshow/src/kuickshow.cpp

+ 2
- 2
kpovmodeler/pmdockwidget.cpp View File

@@ -1310,7 +1310,7 @@ void PMDockManager::activate()
obj->show();
}
}
if ( !main->inherits("TQDialog") ) main->show();
if ( !main->inherits(TQDIALOG_OBJECT_NAME_STRING) ) main->show();
}

bool PMDockManager::eventFilter( TQObject *obj, TQEvent *event )
@@ -2466,7 +2466,7 @@ void PMDockArea::resizeEvent(TQResizeEvent *rsize)
#ifndef NO_KDE2
kdDebug()<<"PMDockArea::resize"<<endl;
#endif
TQObjectList *list=queryList("TQWidget",0,false);
TQObjectList *list=queryList(TQWIDGET_OBJECT_NAME_STRING,0,false);

TQObjectListIt it( *list ); // iterate over the buttons
TQObject *obj;


+ 2
- 2
kuickshow/src/kuickshow.cpp View File

@@ -1306,7 +1306,7 @@ void KuickShow::slotReplayEvent()
// ### WORKAROUND for TQIconView bug in Qt <= 3.0.3 at least
if ( fileWidget && fileWidget->view() ) {
TQWidget *widget = fileWidget->view()->widget();
if ( widget->inherits( "TQIconView" ) || widget->child(0, "TQIconView" ) ){
if ( widget->inherits( TQICONVIEW_OBJECT_NAME_STRING ) || widget->child(0, TQICONVIEW_OBJECT_NAME_STRING ) ){
fileWidget->setSorting( fileWidget->sorting() );
}
}
@@ -1320,7 +1320,7 @@ void KuickShow::replayAdvance(DelayedRepeatEvent *event)
// rely on sorting to be correct before the TQIconView has been show()n.
if ( fileWidget && fileWidget->view() ) {
TQWidget *widget = fileWidget->view()->widget();
if ( widget->inherits( "TQIconView" ) || widget->child(0, "TQIconView" ) ){
if ( widget->inherits( TQICONVIEW_OBJECT_NAME_STRING ) || widget->child(0, TQICONVIEW_OBJECT_NAME_STRING ) ){
fileWidget->setSorting( fileWidget->sorting() );
}
}


Loading…
Cancel
Save