[Kde-bindings] KDE/kdebindings

Arno Rehn arno at arnorehn.de
Sat Feb 6 16:06:55 UTC 2010


On Saturday 06 February 2010 16:46:31 Richard Dale wrote:
> On Friday 05 February 2010 07:27:06 pm Arno Rehn wrote:
> > SVN commit 1085699 by arnorehn:
> > 
> > Add the TerminalInterface classes.
> > 
> > CCMAIL: kde-bindings at kde.org
> > 
> >  M  +2 -0      ruby/korundum/src/lib/KDE/korundum4.rb
> >  M  +3 -0      smoke/kparts/kparts_includes.h
> >  M  +2 -0      smoke/kparts/smokeconfig.xml
> > 
> > --- trunk/KDE/kdebindings/ruby/korundum/src/lib/KDE/korundum4.rb
> > 
> >  #1085698:1085699 @@ -573,6 +573,8 @@
> >  
> >  					now = classname.sub(/^K?(?=[A-Z])/,'KDE::')
> >  				
> >  				elsif classname =~ /^K/ && classname !~ /::/
> >  				
> >  					now = classname.sub(/(^K)/, 'KDE::')
> > 
> > +				elsif classname =~ /^TerminalInterface/
> > +					now = "KDE::#{classname}"
> > 
> >  				end
> >  				now
> >  			
> >  			end)
> 
> Shouldn't this really be in a namespace/module of 'Konsole' - that is what
> the konsole app itself uses? In fact I'm not sure why the
> TerminalInterface classes aren't in a namespace in the first place.
That's why I put them in the KDE namespace for a start. As they are not in any 
namespace in C++ either, I don't know if people actually think about whether 
there could be a 'Konsole' namespace which contains the classes.

-- 
Arno Rehn
arno at arnorehn.de



More information about the Kde-bindings mailing list