[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: RFC: classviewerwas  Re: AutoComplete
From:       August =?iso-8859-1?Q?H=F6randl?= <august.hoerandl () gmx ! at>
Date:       2001-11-30 19:24:23
[Download RAW message or body]

"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.

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 );


-- 
August Hörandl                            august.hoerandl@gmx.at
Alle Rechtschreibfehler ohne Gewähr. Alle Rechte vorbehalten,
einschließlich die der Verfilmung und Übersetzung.
Nicht zum Verzehr geeignet.

_______________________________________________
Kdevelop-devel mailing list
Kdevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic