[PyKDE] PyKDE without KApplication

2005-06-30 Thread Mike Tammerman
Is there a way to instantiate pykde classes using QApplication instead KApplication. Thanks. Mike ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Re: [PyKDE] PyKDE without KApplication

2005-06-30 Thread Andreas Pakulat
On 30.Jun 2005 - 17:33:34, Mike Tammerman wrote: Is there a way to instantiate pykde classes using QApplication instead KApplication. I think so, at least most. For instance KMainWindow is derived from QMainWindow and thus it should be possible to use QApplication.setMainWidget Instead of

Re: [PyKDE] PyKDE without KApplication

2005-06-30 Thread Mike Tammerman
Mostly it creates a segfault, the basic one is --- from qt import * from kdeprint import * import sys a = QApplication(sys.argv) KPrinter() --- Mike On 6/30/05, Andreas Pakulat [EMAIL PROTECTED] wrote: On 30.Jun 2005 - 17:33:34, Mike Tammerman wrote: Is there a way to instantiate pykde

Re: [PyKDE] PyKDE without KApplication

2005-06-30 Thread Simon Edwards
On Thursday 30 June 2005 16:33, Mike Tammerman wrote: Is there a way to instantiate pykde classes using QApplication instead KApplication. You could try, but it would be a very unwise thing to do. The KDE classes assume that KApplication is around and correctly initialised. -- Simon Edwards