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 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 KApplication. And also you should be able to use a KDE widget > wherever a QWidget can be used. Note: I did not test this myself, these > are only assumptions based on the information about the classes from the > kde docs. > > Andreas > > -- > Your business will go through a period of considerable expansion. > > _______________________________________________ > PyKDE mailing list [email protected] > http://mats.imk.fraunhofer.de/mailman/listinfo/pykde > _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
