[PyKDE] KPart problem
Roberto Alsina
ralsina at kde.org
Sun Jul 24 20:28:38 BST 2005
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,'dropbear')
win=kparts.KParts.MainWindow()
app.setMainWidget(win)
factory = kdecore.KLibLoader.self().factory( "libkonsolepart" );
p=factory.create( win)
win.setCentralWidget(p.widget())
win.show()
app.exec_loop()
I'm getting that p has no widget member.
Any ideas?
--
("\''/").__..-''"`-. . Roberto Alsina
`9_ 9 ) `-. ( ).`-._.`) ralsina at kde.org
(_Y_.)' ._ ) `._`. " -.-' KDE Developer (MFCH)
_..`-'_..-_/ /-'_.'
(l)-'' ((i).' ((!.' Buenos Aires - Argentina
Imminentizing the eschaton since 1971.
More information about the PyQt
mailing list