Re: [PyKDE] KPart problem

2005-07-24 Thread Roberto Alsina
> factory = kdecore.KLibLoader.self().factory( "libkonsolepart" ); > p=factory.create( win) > > with > > p = kparts.createReadWritePart("libkonsolepart", win, "konsole", > "KParts::Part") > > The syntax for this convenience function is > > createReadWritePa

Re: [PyKDE] KPart problem

2005-07-24 Thread Roberto Alsina
> On Sun Jul 24 21:28:38 MEST 2005, Roberto Alsina wrote: > >> And here's my attempt: >> >> def main(args): >> app=kdecore.KApplication(args,'dropbear') >> win=kparts.KParts.MainWindow() >> app.setMainWidget(win) >> factory = kdecore.KLibLoader.self().factory( "libk

Re: [PyKDE] KPart problem

2005-07-24 Thread David Boddie
On Sun Jul 24 21:28:38 MEST 2005, Roberto Alsina wrote: > And here's my attempt: > > def main(args): > app=kdecore.KApplication(args,'dropbear') > win=kparts.KParts.MainWindow() > app.setMainWidget(win) > factory = kdecore.KLibLoader.self().factory( "libkonsolepart"

[PyKDE] KPart problem

2005-07-24 Thread Roberto Alsina
Hello, if anyone has tried to use the TerminalInterface, what am I doing wrong? I am trying to do what's here: http://developer.kde.org/documentation/library/3.4-api/interfaces/html/classTerminalInterface.html And here's my attempt: def main(args): app=kdecore.KApplication(args,'dropbe