[Uml-devel] KDE/kdesdk/umbrello/umbrello
Ralf Habacker
ralf.habacker at freenet.de
Mon Sep 10 14:09:19 UTC 2007
Ralf Habacker schrieb:
> Oliver Kellogg schrieb:
>> SVN commit 710470 by okellogg:
>>
>> Handle all enum values in menu selection switch.
>>
>
>> @@ -126,6 +127,10 @@
>> case ListPopupMenu::mt_Properties:
>>
>> slotDoubleClick(m_pContentLB->item(m_pContentLB->currentItem()));
>> break;
>> +
>> + default:
>> + kDebug() << "PkgContentsPage::slotPopupMenuSel: Menu_Type "
>> + << id << " not implemented" << endl;
>>
> just a hint: Isn't there a kDebug area for umbrello which could be
> used here instead of using the default area 0 ? This would makes it
> able to enable/disable complety umbrello related messages.
>
I saw that there is no category defined for umbrello in
kdelibs/kdecore/kdebug.areas. Only the following ones are there:
# kdesdk
8100 kompare
8101 kompare (libs)
8102 kompare (shell)
8103 kompare (part)
8104 kompare (list view)
8105 kompare (nav view)
8106 kompare (connect widget)
8107 kbabel
8108 kbabel (search)
8109 catalogmanager
8050 cervisia
8051 cervisia (cvsservice)
Can you specifiy debug groups for umbrello or is one group enough ? At
least one group should be added.
8060 umbrello
If you like I can add the following category to kdebug.areas and change
all kDebug() calls using the correct number.
BTW: The new kDebug() api prints already the class and methods where it
is called, so there is no need to print this manual.
Ralf
More information about the umbrello-devel
mailing list