[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    "About KDE" and KRun()
From:       Espen Sand <espen.sand () neo ! no>
Date:       1999-09-03 10:55:48
[Download RAW message or body]

How should an url be launced  (by KRun()) from the "About KDE"?
I can not assume 

KRegistry registry;
registry.addFactory( new KServiceTypeFactory );
registry.addFactory( new KServiceFactory );
registry.load();

has not been done by the program.

The docs say:
This was the memory-eating solution. Alternatively, create a KDEDInstance
and a  KTraderServiceProvider instance (see ktrader.h) in order to use KRun
without those registries loaded. You need to link to libkded in this case, of
course. 

What is best (fastest, less resource hungry) if the "About KDE" dialog is in
some common class? Is there a method available that can say "Yes" or "No" 
if the registry.addFactory() step has been done earlier by the program?

Any examples available for the "doc method" above?


-- 
Espen Sand

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic