E
Elke Hohls
When I run my Application it crashes at the following part:
- [ code ] --------------------------------------------------------
from kdecore import KLibLoader, KLibFactory
def myApp (self):
# ...
offer = KTrader.self().query("text/html")
# the offer can handle HTML - so try loading the library
strOffer = offer[0].library().latin1()
factory = KLibLoader().factory (strOffer)
if factory :
args = QStringList()
args.append("in shell")
html = factory.create ( self, 'naaaame',
"KParts::ReadOnlyPart", args )
- [ code ] --------------------------------------------------------
from kdecore import KLibLoader, KLibFactory
def myApp (self):
# ...
offer = KTrader.self().query("text/html")
# the offer can handle HTML - so try loading the library
strOffer = offer[0].library().latin1()
factory = KLibLoader().factory (strOffer)
if factory :
args = QStringList()
args.append("in shell")
html = factory.create ( self, 'naaaame',
"KParts::ReadOnlyPart", args )