From kdevelop-devel Fri Nov 30 22:16:32 2001 From: Ralf Nolden Date: Fri, 30 Nov 2001 22:16:32 +0000 To: kdevelop-devel Subject: Re: RFC: classviewerwas Re: AutoComplete X-MARC-Message: https://marc.info/?l=kdevelop-devel&m=100715908315395 On Friday 30 November 2001 20:24, you wrote: > "F@lk Brettschneider" wrote: > > Since actually any further work for new features for version 2.0.x has > > been stopped, it's not a good idea to make such a _big_ change on > > KDE_2_2_BRANCH. Just bugfixes should go in. Well, yes and no :) As said, I'm adding the crosscompiling feature to the branch. I talked to Dirk and he said we're open for any string changes. So if you have a really good feature that you want to add, do it now before the translators have the say again :)) Ralf > > okay: shorter version - bugfix only ;-) > > sort the global symbols (all the getSorted...List() methods seem > to be broken) > > could you apply this patch ? > Thanks > Gustl > > diff -u -3 -p -c -r1.57.2.25.2.18.2.4 cclassview.cpp > cvs server: conflicting specifications of output style > *** cclassview.cpp 2001/11/19 00:24:36 1.57.2.25.2.18.2.4 > --- cclassview.cpp 2001/11/30 19:17:03 > *************** void CClassView::refresh() > *** 475,486 **** > --- 475,488 ---- > item = treeH->addItem( i18n( "Namespaces" ), THFOLDER, globalsItem > ); > scopeList = store->globalContainer.getSortedScopeList(); > ((CClassTreeHandler *)treeH)->addScopes( scopeList, item ); > + item->sortChildItems(0,true); > delete scopeList; > > // Add global Structures > item = treeH->addItem( i18n( "Structures" ), THFOLDER, globalsItem > ); > structList = store->getSortedStructList(); > ((CClassTreeHandler *)treeH)->addGlobalStructs( structList, item ); > + item->sortChildItems(0,true); > delete structList; > > // Add global functions > *************** void CClassView::refresh() > *** 489,494 **** > --- 491,497 ---- > methodList = store->globalContainer.getSortedMethodList(); > kdDebug() << "Got " << methodList->count() << " methods" << endl; > ((CClassTreeHandler *)treeH)->addGlobalFunctions( methodList, item > ); > + item->sortChildItems(0,true); > delete methodList; > > // Add global variables > *************** void CClassView::refresh() > *** 496,501 **** > --- 499,505 ---- > item = treeH->addItem( i18n( "Variables" ), THFOLDER, globalsItem ); > attributeList = store->globalContainer.getSortedAttributeList(); > ((CClassTreeHandler *)treeH)->addGlobalVariables( attributeList, > item ); > + item->sortChildItems(0,true); > delete attributeList; > > treeH->setLastItem( item ); _______________________________________________ Kdevelop-devel mailing list Kdevelop-devel@barney.cs.uni-potsdam.de http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel