Re: [PyKDE] PyKDE status and requirements

2006-04-12 Thread Jim Bublitz
On Wednesday 12 April 2006 15:29, Torsten Marek wrote: Jim Bublitz wrote: I'm slowly getting PyKDE ready for release. A snapshot doesn't make sense at the moment, because there are changes necessary across all modules. Because of some function changes in sip 4.4, I don't think it's likely

[PyKDE] PyKDE status and requirements

2006-04-06 Thread Jim Bublitz
I'm slowly getting PyKDE ready for release. A snapshot doesn't make sense at the moment, because there are changes necessary across all modules. Because of some function changes in sip 4.4, I don't think it's likely that the next PyKDE release will work with older versions of sip - sip = 4.4.1

Re: [PyKDE] segfault in kdecore using dcop call

2006-04-06 Thread Jim Bublitz
On Thursday 06 April 2006 20:47, Ismail Donmez wrote: Cuma 7 Nisan 2006 06:32 tarihinde, Ismail Donmez şunları yazmıştı: Cuma 7 Nisan 2006 03:36 tarihinde, Miguel Angel Alvarez şunları yazmıştı: gdb output with PyKDE-snapshot20060122: Reading in symbols for

Re: [PyKDE] Some information on PYKDE...

2006-03-27 Thread Jim Bublitz
On Saturday 25 March 2006 01:38, [EMAIL PROTECTED] wrote: Hi, I don't get why I can find information on KPassivePopup having a popup style for pyKDE-3.15 (http://www.riverbankcomputing.com/Docs/PyKDE3/classref/kdeui/KPassivePopup .html) but on my pyKDE-4.00 the popupstyle has been removed is

Re: [PyKDE] Problem with PyKDE and sip 4.4

2006-03-25 Thread Jim Bublitz
On Saturday 25 March 2006 02:33, Detlev Offenbach wrote: Generating the C++ source for the kdecore module... sip: sip/kdecore/kstdaccel.sip:30: The struct/class has already been defined Error: Unable to create the C++ code. It looks like sip is having a problem with namespaces used in more

Re: [PyKDE] Problem with PyKDE and sip 4.4

2006-03-25 Thread Jim Bublitz
On Saturday 25 March 2006 07:50, Phil Thompson wrote: On Saturday 25 March 2006 3:07 pm, Jim Bublitz wrote: On Saturday 25 March 2006 02:33, Detlev Offenbach wrote: Generating the C++ source for the kdecore module... sip: sip/kdecore/kstdaccel.sip:30: The struct/class has already been

Re: [review] [PyKDE] Re: How to embed Python in C++

2006-03-22 Thread Jim Bublitz
On Wednesday 22 March 2006 02:56, Eric Jardim wrote: 2006/3/21, Eric Jardim [EMAIL PROTECTED]: How do I embed Python script in C++? C'mon folks... How do I convert a PyObject* to a QWidget* returned from a function like PyRun_String()? Or you can use sip.wrapinstance and

Re: [PyKDE] SIP: MappedType for pointers?

2006-03-22 Thread Jim Bublitz
On Wednesday 22 March 2006 06:28, Hans-Peter Jansen wrote: Am Mittwoch, 22. März 2006 14:19 schrieb Giovanni Bajo: Jim Bublitz [EMAIL PROTECTED] wrote: Same as the following, except %MappedType wchar_t and other obvious changes. Many thanks Jim. For some reason, I had thought

Re: [review] [PyKDE] build error w/ KDE 3.5.2 on Mac OS X (Qt3/X11)

2006-03-22 Thread Jim Bublitz
On Wednesday 22 March 2006 09:59, Benjamin Reed wrote: I'm trying to package kdebindings 3.5.2 for fink (against qt/x11), and running into a compile error in pykde: ---(snip!)--- g++-4.0 -c -Wno-deprecated-declarations -pipe -fPIC -Os -Wall -W -D__DARWIN_X11__ -DQT_NO_DEBUG

Re: [review] [PyKDE] build error w/ KDE 3.5.2 on Mac OS X (Qt3/X11)

2006-03-22 Thread Jim Bublitz
On Wednesday 22 March 2006 14:25, Andreas Pakulat wrote: On 22.03.06 12:55:25, Jim Bublitz wrote: On Wednesday 22 March 2006 09:59, Benjamin Reed wrote: In this case, I'd suspect that gcc 4.0 is the problem - early versions (before 4.0.3 ??) IIRC I had used 4.0.1 when I reported

Re: [PyKDE] PyKDE khtml DOMString

2006-03-17 Thread Jim Bublitz
On Friday 17 March 2006 10:21, Ismail Donmez wrote: Hi all, I am using khtml in my PyKDE app ( which rocks btw ) , two minor problems appear, I have to use stuff like document = self.htmlPart.document() document.getElementsByTagName(DOM.DOMString(input)) would it be possible to write it

Re: [PyKDE] PyKDE fails to compile on Debian

2006-03-12 Thread Jim Bublitz
On Sunday 12 March 2006 08:35, Gudjon I. Gudjonsson wrote: sipkdecorepart0.o sipkdecorepart0.cpp sip/kdecore/ktimezones.sip: In function 'PyObject* convertFrom_ZoneMap(void*)': /usr/include/kde/ktimezones.h:191: error: 'KTimezone::KTimezone(const KTimezone)' is private

Re: [PyKDE] Double free() problem in PyQt 3.15.1??

2006-03-12 Thread Jim Bublitz
On Sunday 12 March 2006 07:04, Phil Thompson wrote: On Sunday 12 March 2006 10:04 am, Simon Edwards wrote: On Saturday 11 March 2006 20:26, Phil Thompson wrote: On Saturday 11 March 2006 7:13 pm, Simon Edwards wrote: Anyway, I think I've come across a double free memory bug in PyQt

Re: [PyKDE] PyKDE fails to compile on Debian

2006-03-12 Thread Jim Bublitz
On Sunday 12 March 2006 10:01, Gudjon I. Gudjonsson wrote: Þann Sunnudagur 12. mars 2006 19:00 skrifaði Jim Bublitz: On Sunday 12 March 2006 08:35, Gudjon I. Gudjonsson wrote: sipkdecorepart0.o sipkdecorepart0.cpp sip/kdecore/ktimezones.sip: In function 'PyObject* convertFrom_ZoneMap

Re: [PyKDE] Double free() problem in PyQt 3.15.1??

2006-03-11 Thread Jim Bublitz
On Saturday 11 March 2006 11:13, Simon Edwards wrote: Hi Phil and everybody else, I'm busy working on polishing and debugging stuff for the coming Kubuntu release, which makes increasingly more use of PyQt+PyKDE BTW. Anyway, I think I've come across a double free memory bug in PyQt 3.15.1.

Re: [PyKDE] How to contribute to sip ?

2006-02-28 Thread Jim Bublitz
On Tuesday 28 February 2006 09:18, Giovanni Bajo wrote: Phil Thompson [EMAIL PROTECTED] wrote: With one source file (plus lots of header files) the whole of PyQt4 takes 2 minutes 50 seconds on my 2GHz Opteron. Microsoft compilers struggle with such large source files. My experience is that

Re: [PyKDE] KPanelApplet using Python

2006-02-24 Thread Jim Bublitz
On Friday 24 February 2006 12:22, Varun Hiremath wrote: Hi, Can anyone give me an example on how to use pyKDE's KPanelApplet class to make a KDE Panel Applet. I have made a small window using KMainWindow and I have linked it to KPanelApplet class but it doesn't seem to work. Here is the

Re: [PyKDE] Run program as root

2006-02-15 Thread Jim Bublitz
On Wednesday 15 February 2006 03:30, Tina Isaksen wrote: Tina Isaksen wrote: Try running kdesu ps auxww to get a nice password request UI.. Pete Oh for crying out loud! Of course... I wish I could see the woods but all those darn trees are in the way... :P Thanks Pete!

Re: [PyKDE] Newbie: Initiate

2006-02-11 Thread Jim Bublitz
On Saturday 11 February 2006 18:39, Kuljo wrote: Hi Mikhail, thanks for your contribution. But I think, I did not described my problem clear enough: I have a kListBox1 which I want to fill with the names of the directories out of a higher level directory. For this purpose I have made a slot

Re: [PyKDE] kdepyuic modifications

2006-02-11 Thread Jim Bublitz
On Saturday 11 February 2006 22:53, Mikhail Yarmish wrote: Danny Pansters wrote: On Saturday 11 February 2006 13:15, Mikhail Yarmish wrote: At the moment kdepyuic doesn't make import of kde widgets. I've modified it for myself to do that imports. At the moment it do import just for kfile

Re: [PyKDE] import khtml causes weird problem

2006-02-10 Thread Jim Bublitz
On Thursday 09 February 2006 09:03, D Bera wrote: It could be a problem with KURL::List - there are two 'filePreview' functions: namespace KIO { KIO::PreviewJob* filePreview (KURL::List, ...) KIO::PreviewJob* filePreview (KFileList, ...) } where KFileList is a mapped type

Re: [PyKDE] import khtml causes weird problem

2006-02-10 Thread Jim Bublitz
Just to follow up on my previous msg to the list: I do have a partition with KDE 3.1.4/sip 4.3 (a snapshot, about 3 mos. old) and fired that up. The program works perfectly there, even importing both kparts and khtml. That would strongly suggest the problem is KDE C++ related. Why importing

Re: [PyKDE] In searching of examples

2006-02-10 Thread Jim Bublitz
On Friday 10 February 2006 06:33, Mikhail Yarmish wrote: Andreas Pakulat wrote: On 10.02.06 13:08:48, Mikhail Yarmish wrote: Could somebody recommend some nice, small programs writed in PyKDE(Qt) to learn some base things? Both come with examples-directories. Andreas Yeah, thanks! I

Re: [PyKDE] import khtml causes weird problem

2006-02-09 Thread Jim Bublitz
On Wednesday 08 February 2006 17:44, D Bera wrote: Hi Have a look at this simple script below trying out kio.filepreview. If I dont include import khtml at (1), slot_preview prints class 'kio.KFileItem' kio.KFileItem object at 0xb74d3d2c If I include import khtml at (1), slot_preview

Re: [PyKDE] Auto-connecting Slots

2006-01-27 Thread Jim Bublitz
On Friday 27 January 2006 16:31, Giovanni Bajo wrote: Phil Thompson [EMAIL PROTECTED] wrote: The QtCore.signature() decorator takes a single argument which is, in effect, the C++ signature of the method which tells the auto-connect code which signal to connect. For example...

[PyKDE] kabc module bug

2006-01-26 Thread Jim Bublitz
Since KDE 3.2.0, resourcefile.h has been omitted from the kdelibs source tarball, but is still available in kde3/include/kabc. Similarly, resourcedir.h has never been included with kdelibs. Consequently, PyKDE omits both files for most KDE versions. Both seem to include useful classes for

[PyKDE] KABC::ResourceFile oversight

2006-01-26 Thread Jim Bublitz
I posted yesterday that resourcefile.h was missing from the kdelibs tarball - that isn't correct. It's been relocated to the kabc/plugins/file subdirectory, which I hadn't checked. There are other KABC::Resource subclasses (see the subdirs under kabc/plugins). I don't intend to add those to

Re: [PyKDE] PyKDE-snapshot20060118 runtime failure when built with gcc295 (KConfigSkeleton)

2006-01-22 Thread Jim Bublitz
On Sunday 22 January 2006 13:57, Danny Pansters wrote: gcc version 2.95.4-- This is on FreeBSD4 Post-install it imports dcop*.py to byte compile them (sorry if spacing may be messed up a bit): ( install -c -o root -g wheel -m 555

[PyKDE] PyKDE - looking for comments

2006-01-22 Thread Jim Bublitz
The PyKDE tarball contains (uncompressed) about 12MB of html files in the doc/classref directory. Compressed, this adds about 300KB to the size of the tarball (1.4MB including all html files). Since these are auto-generated (from sip/classref.txt and related files), and since I finally took the

[PyKDE] PyKDE snapshot 20060122

2006-01-22 Thread Jim Bublitz
I've just sent Phil a new PyKDE snapshot - it should be available at riverbankcomputing shortly. Barring any new bug reports, this should be the PyKDE 3.15.0 release. I'll do a 3.15.1 release after KDE 3.5.1 is released, but I doubt there will be many changes. This release has been backtested

Re: [PyKDE] New PyKDE snapshot - help needed

2006-01-21 Thread Jim Bublitz
On Saturday 21 January 2006 05:24, Baz Walter wrote: On Thursday 19 Jan 2006 07:01, Jim Bublitz wrote: I also need feedback on whether this snapshot builds on various systems - I currently am only setup to test on SuSE so none of this has been tested on Fedora, Mandriva, Ubuntu or Gentoo. I

Re: [PyKDE] New PyKDE snapshot - help needed

2006-01-21 Thread Jim Bublitz
On Saturday 21 January 2006 14:11, Baz Walter wrote: On Saturday 21 Jan 2006 16:45, you wrote: On Saturday 21 January 2006 05:24, Baz Walter wrote: This is the first time I've compiled pykde. There was one other thing that slightly fazed me with the configuration. After creating

Re: [PyKDE] New PyKDE snapshot - help needed

2006-01-20 Thread Jim Bublitz
On Thursday 19 January 2006 04:41, Ismail Donmez wrote: Perşembe 19 Ocak 2006 09:01 tarihinde, Jim Bublitz şunları yazmıştı: I've just sent a new PyKDE snapshot (PyKDE-snapshot20060118) to Phil and it should be available at http://riverbankcomputing.co.uk/snapshots/PyKDE as soon as he has

Re: [PyKDE] PyKDE concatenation and gcc4.0.3 [was: New PyKDE snapshot - help needed]

2006-01-20 Thread Jim Bublitz
On Thursday 19 January 2006 06:31, Andreas Pakulat wrote: On 19.01.06 14:22:53, Andreas Pakulat wrote: On 18.01.06 23:01:01, Jim Bublitz wrote: I also need feedback on whether this snapshot builds on various systems - I currently am only setup to test on SuSE so none of this has been

Re: [PyKDE] New PyKDE snapshot - help needed

2006-01-20 Thread Jim Bublitz
On Thursday 19 January 2006 06:54, Stephan Hermann wrote: Hi Ismail, On Thursday 19 January 2006 15:39, Ismail Donmez wrote: Perşembe 19 Ocak 2006 16:35 tarihinde, Ismail Donmez şunları yazmıştı: Perşembe 19 Ocak 2006 16:28 tarihinde, Stephan Hermann şunları yazmıştı: [...] I

Re: [PyKDE] PyKDE concatenation and gcc4.0.3 [was: New PyKDE snapshot - help needed]

2006-01-20 Thread Jim Bublitz
On Friday 20 January 2006 11:53, Stephan Hermann wrote: Hi Jim, On Friday 20 January 2006 20:03, Jim Bublitz wrote: On an 800MHz machine with a 100MHz front side bus, the concatenated version using gcc 3 takes about 45 minutes, the non-concatenated version with gcc 4 takes about 75

Re: [PyKDE] New PyKDE snapshot - help needed

2006-01-20 Thread Jim Bublitz
On Friday 20 January 2006 15:36, Danny Pansters wrote: On Thursday 19 January 2006 07:01, Jim Bublitz wrote: I also need feedback on whether this snapshot builds on various systems - I currently am only setup to test on SuSE so none of this has been tested on Fedora, Mandriva, Ubuntu

[PyKDE] New PyKDE snapshot - help needed

2006-01-18 Thread Jim Bublitz
I've just sent a new PyKDE snapshot (PyKDE-snapshot20060118) to Phil and it should be available at http://riverbankcomputing.co.uk/snapshots/PyKDE as soon as he has time to post it there (which is usually fairly fast, depending on timezone differences). The 2 major changes are that I've

Re: [PyKDE] Re: Scalar types in KConfigSkeleton

2006-01-12 Thread Jim Bublitz
On Wednesday 11 January 2006 21:27, Stephan Hermann wrote: Hi, On Thursday 12 January 2006 01:11, Akos Polster wrote: On Wednesday 11 January 2006 20:36, Jim Bublitz wrote: On Wednesday 11 January 2006 06:49, Akos Polster wrote: Jim, I agree with all your worries but - don't we

Re: [PyKDE] Re: Scalar types in KConfigSkeleton

2006-01-11 Thread Jim Bublitz
On Wednesday 11 January 2006 06:49, Akos Polster wrote: Jim, I agree with all your worries but - don't we have a patch already making scalars types work? All we are asking for is to include it in the official release (assuming you can live with its quality) One problem is that I don't have

[PyKDE] Next PyKDE snapshot

2006-01-10 Thread Jim Bublitz
I'm working on getting the next PyKDE snapshot out to build with KDE 3.5.0 and recent sip versions. There are some sip changes that KDE needs to be adjusted to, and that's taking a little longer than I expected. It'll be several days before the snapshot is ready. Jim

Re: [review] Re: [PyKDE] Re: Scalar types in KConfigSkeleton

2006-01-10 Thread Jim Bublitz
On Tuesday 10 January 2006 11:11, Andrey Golovizin wrote: On Tuesday 22 November 2005 (Вт) 22:54 Jim Bublitz wrote: On Saturday 19 November 2005 17:40, Akos Polster wrote: Hi, is this fixed in any Riverbank snapshots? I seem to have the same problem with 20050829. No - it'll probably

[PyKDE] Re: Scalar types in KConfigSkeleton

2006-01-10 Thread Jim Bublitz
On Tuesday 10 January 2006 12:55, Jim Bublitz wrote: On Tuesday 10 January 2006 11:11, Andrey Golovizin wrote: On Tuesday 22 November 2005 (Вт) 22:54 Jim Bublitz wrote: On Saturday 19 November 2005 17:40, Akos Polster wrote: Hi, is this fixed in any Riverbank snapshots? I seem to have

Re: [PyKDE] PyKDE snapshot snapshot-20051013 and sip snapshots

2006-01-09 Thread Jim Bublitz
On Sunday 08 January 2006 06:39, Andreas Pakulat wrote: On 03.01.06 21:17:18, Jim Bublitz wrote: On Tuesday 03 January 2006 17:05, Andreas Pakulat wrote: Generating the C++ source for the kdecore module... sip: Ptr is undefined [8284 refs] Error: Unable to create the C++ code

[PyKDE] Ptr problem in PyKDE builds

2006-01-09 Thread Jim Bublitz
Actually, I lied when I said in another response that it was too late to solve the 'Ptr undefined' problem in PyKDE. It appears that recent sip versions are catching an error they missed before. The required fix is to change sip/kmountpoint.sip, line 37 from: typedef QValueListPtr List; to:

Re: [PyKDE] PyKDE snapshot snapshot-20051013 and sip snapshots

2006-01-03 Thread Jim Bublitz
On Tuesday 03 January 2006 17:05, Andreas Pakulat wrote: Generating the C++ source for the kdecore module... sip: Ptr is undefined [8284 refs] Error: Unable to create the C++ code. This is the second report. I can't reproduce the problem with older sip/PyQt versions, so I'll have to give it

Re: [PyKDE] Latest sip snapshot PyKDE

2006-01-03 Thread Jim Bublitz
On Friday 30 December 2005 08:21, Ismail Donmez wrote: Generating the C++ source for the kdecore module... sip: Ptr is undefined Error: Unable to create the C++ code. A second user is reporting the same problem - I'll have to try to build with the latest sip/PyQt and see if I can

Re: [PyKDE] Latest sip snapshot PyKDE

2005-12-30 Thread Jim Bublitz
On Friday 30 December 2005 08:21, Ismail Donmez wrote: I am trying to use PyQt4 and PyQt with PyKDE in the same system. So I upgraded to latest sip , PyQt4 and PyQt snapshots and all worked fine. But I can't get PyKDE to compile: [EMAIL PROTECTED] PyKDE-snapshot20051013 $ python configure.py

Re: [PyKDE] QByteArray and unicode

2005-12-24 Thread Jim Bublitz
On Friday 23 December 2005 11:11, Orcan Ogetbil wrote: Hi, using the following code, I can get the track title that's being played in amarok. [code] import dcop dcopclient = dcop.DCOPClient() dcopclient.registerAs(amarokapp) dcopclient.rc = dcop.DCOPRef(amarok, player) result =

Re: [PyKDE] about dcopclients

2005-12-22 Thread Jim Bublitz
On Thursday 22 December 2005 13:23, Orcan Ogetbil wrote: Hello, I used to use this code to create a dcop client for my superkaramba widget. It used to wok fine, but after upgrading my PyKDE and PyQt it stopped working, [code] import dcop import kdecore temp =

Re:[PyKDE] PyQt4 and designer plugins

2005-12-22 Thread Jim Bublitz
On Thursday 22 December 2005 16:04, Andreas Pakulat wrote: Hi, just started with a mainwindows-example to get a feel for PyQt(4) programming. I first wanted to start at the beginning, i.e. porting the designer examples. But then I came across the problem: Those are normally shared libs... So

Re: [PyKDE] C++ code generation problem: longlong is undefined

2005-12-18 Thread Jim Bublitz
On Sunday 18 December 2005 09:24, Vincent Jong wrote: Nevermind, I got the link as I remember about MARC, lol. Okay kdecore generates with no problems now and it's getting farther down. Code generation for kfile is erroring out with: sip: sip/kfile/kdirsize.sip:73: A function with the same

Re: [PyKDE] C++ code generation problem: longlong is undefined

2005-12-18 Thread Jim Bublitz
On Sunday 18 December 2005 19:03, Vincent Jong wrote: That was the last change. The configure step completed, make seemed to complete with no errors, and after make install, the importTest.py ran with no errors. I noticed that the sip generated files were installed into /usr/share/sip/..., so

Re: [PyKDE] C++ code generation problem: longlong is undefined

2005-12-17 Thread Jim Bublitz
On Friday 16 December 2005 23:22, Vincent Jong wrote: That seemed to fix the longlong error, but the kdecore part of the code generation still fails. The error message now is: sip: KShortcutList::Other is undefined Error: Unable to create the C++ code. Is it possible e that the newest

Re: [PyKDE] C++ code generation problem: longlong is undefined

2005-12-17 Thread Jim Bublitz
On Saturday 17 December 2005 00:19, Vincent Jong wrote: Ok. Thanks a lot for your help in this matter. It is very much appreciated. =) No problem - sorry for the errors. There were some errors in the files configure.py uses to tailor PyKDE for different KDE versions - I suspect most of the

Re: [PyKDE] C++ code generation problem: longlong is undefined

2005-12-16 Thread Jim Bublitz
On Friday 16 December 2005 19:38, Vincent Jong wrote: I've downloaded the latest version of PyKDE from the website and I've been having problems compiling it on my RedHat 7.3 system using KDE 3.1.1. I'm using SIP version 4.3.1 and PyQT 3.15. Everytime it gets to generating the c++ source

Re: [PyKDE] PyKDE-snapshot20051013 fails against kde-3.5.0

2005-12-06 Thread Jim Bublitz
On Tuesday 06 December 2005 07:35, Stephan Hermann wrote: when do you expect a new release of pykde or actually a new sip,pyqt,pykde toolchain. I need to fix the packages (at least for pykde) for kde3.5 in kubuntu/ubuntu dapper (development branch). I intended to have it out by now, but that

Re: [PyKDE] PyKDE-snapshot20051013 fails against kde-3.5.0

2005-12-05 Thread Jim Bublitz
On Monday 05 December 2005 06:41, Rex Dieter wrote: FYI, Using sip-4.3.2, PyQt-3.15.1, kde.3.5.0, gcc-3.4.4 (RedHat Enterprise 4)... I'm having trouble getting PyKDE-snapshot20051013 to build (failure below). In file included from sip/kdecore/ktempdir.sip:32, from

Re: [PyKDE] PyKDE-snapshot20051013 fails against kde-3.5.0

2005-12-05 Thread Jim Bublitz
On Monday 05 December 2005 10:09, Rex Dieter wrote: Jim Bublitz wrote: On Monday 05 December 2005 06:41, Rex Dieter wrote: FYI, Using sip-4.3.2, PyQt-3.15.1, kde.3.5.0, gcc-3.4.4 (RedHat Enterprise 4)... I'm having trouble getting PyKDE-snapshot20051013 to build (failure below

Re: [PyKDE] compile pyqt4 on linux (ubuntu)

2005-12-01 Thread Jim Bublitz
On Thursday 01 December 2005 14:16, Phil Thompson wrote: On Thursday 01 December 2005 10:01 pm, [EMAIL PROTECTED] wrote: i compile pyqt4 on linux without error, but my first import failed. can i test my installation or set debug options ? marc :~/My

Re: [PyKDE] DCOPExObj bug?

2005-11-30 Thread Jim Bublitz
On Wednesday 30 November 2005 15:41, Danny Pansters wrote: Hi, I'm working on a PyKDE app and have been adding a dcop interface like such: def __init__(self, obj, id): DCOPExObj.__init__(self, id) self.addMethod(void quit(), obj.slotQuit) where obj is the mainwindow instance

Re: [PyKDE] Embed Dialog in Window

2005-11-16 Thread Jim Bublitz
On Wednesday 16 November 2005 11:29, Chad Brantly wrote: Is there any way to embed a dialog in a window? I would like to embed the font dialog in my preference window, but haven't found any way to do this. It would be easy to have a button in the preference window to open the font dialog, but

Re: [PyKDE] PyKDE Error

2005-11-15 Thread Jim Bublitz
On Monday 14 November 2005 08:03, DaBlade wrote: I was trying to compile PyKDE, and got this error: sip version is 4.3.1 (4.3.1) Generating the C++ source for the dcop module... sh: /usr/bin/sip: No such file or directory Error: Unable to create the C++ code. What directory is sip

Re: [PyKDE] PyKDE KDE Applets

2005-11-09 Thread Jim Bublitz
On Wednesday 09 November 2005 13:33, Rajeev Joseph Sebastian wrote: Is there some way to write KDE Applets in Python ? Yes. There used to be a PyKPanelApplet included in PyKDE, and I have a PyKPanelExtension working also. They were complcating the build system at one time, some other changes

Re: [PyKDE] QString in PyQt4 - Request for Comments

2005-10-21 Thread Jim Bublitz
On Friday 21 October 2005 16:02, Phil Thompson wrote: On Friday 21 October 2005 8:03 pm, Gustavo Sverzut Barbieri wrote: On 10/21/05, Gilbert Ramirez [EMAIL PROTECTED] wrote: For me, one of the strong points of Qt is that the documentation for it is great. Although the documention is for

Re: [PyKDE] QString in PyQt4 - Request for Comments

2005-10-19 Thread Jim Bublitz
On Wednesday 19 October 2005 00:47, Phil Thompson wrote: QString just wouldn't exist in PyQt4. Would there still be something to allow me to handle something like: QMapQString, QString with sipBuildResult and sipForceConvertTo_QString? Also, KDE still uses QCString in a bunch of places -

Re: [PyKDE] PyQt C API

2005-10-18 Thread Jim Bublitz
On Tuesday 18 October 2005 01:44, elho wrote: When I understand your question right, this example will be the answer. PyObject*myPyType; // convert a PyObject pointer to MyPythonType-Pointer object // cppType will be the known CPP-Type which is the base of MyPythonType myPyType =

Re: [PyKDE] QString in PyQt4 - Request for Comments

2005-10-18 Thread Jim Bublitz
On Tuesday 18 October 2005 10:24, Phil Thompson wrote: I'm wondering whether QString should be dropped in PyQt4 in order to make it more Pythonic. At the moment Python strings and unicode strings are automatically converted to QStrings when passed as arguments - so there would be no change

Re: [PyKDE] PyKDE KDE 3.5 again

2005-10-16 Thread Jim Bublitz
On Sunday 16 October 2005 03:33, İsmail Dönmez wrote: Hi Jim, Looks like your fix mentioned in http://www.mail-archive.com/pykde%40mats.imk.fraunhofer.de/msg05769.html didn't make it to PyKDE-snapshot20051013. Did you just forget or is there any problem with it? No problem - I just haven't

[PyKDE] New PyKDE snapshot

2005-10-13 Thread Jim Bublitz
I'm in the process of sending the latest PyKDE snapshot to Phil for posting on at http://www.riverbankcomputing.co.uk/snapshots/PyKDE. It's snapshot20051013. It should be available within 24 to 48 hours. The changes are: Cleaned up sip files for gcc 3.4.x/4.0.x compatibility

Re: [PyKDE] PyQt and SIP configure.py Changes

2005-10-10 Thread Jim Bublitz
On Thursday 22 September 2005 13:31, Phil Thompson wrote: With tonights snapshots I have completed the refactoring of the SIP PyQt build system so that sipconfig.py no longer contains any configuation data specific to a Qt version. This means that SIP is now completely independent of Qt and

Re: [PyKDE] Controlling korganizer from python

2005-10-10 Thread Jim Bublitz
On Monday 10 October 2005 14:29, Dick Kniep wrote: Hi list, This is my first post here, so I am a newbee on python kde programming. I do know my way around python. We have built a big system with Python, wxPython and postgresql. Now we would like to use kontact as an email/agenda, but I need

Re: [review] [PyKDE] bugs using PyKDE

2005-10-03 Thread Jim Bublitz
On Monday 03 October 2005 14:35, Mathieu Bouchard wrote: Hi, I'm using a recent menu in one of my apps It is created with : ac = self.actionCollection() ... self.OpenRecent = KStdAction.openRecent(self.__slotOpenRecent_, ac) the slot is : def fileOpenRecent(self, url):

Re: [PyKDE] PyKDE KDE 3.5

2005-09-26 Thread Jim Bublitz
On Sunday 25 September 2005 23:55, İsmail Dönmez wrote: Hi, Whenever I compile PyKDE snapshot against KDE 3.5, I have to apply attached patch. I don't know how to fix this in sip file generation instead so I hope someone else knows :-) P.S: Patch fixes the compile error saying CursorShape

Re: [PyKDE] PyKDE update

2005-09-23 Thread Jim Bublitz
On Friday 23 September 2005 00:32, Phil Thompson wrote: Phil's post regarding sipconfig.py today may mean that PyKDE won't build with the newest sip releases, because configure.py for PyKDE probably looks for Qt info in sipconfig.py, and it's no longer there. Not a difficult fix, and I

[PyKDE] PyKDE update

2005-09-22 Thread Jim Bublitz
PyKDE development hasn't moved too quickly the last few months. I finally have firewood put up for the winter, my daughter off to college, and some other things out of the way, so I expect to get back on it soon. The forthcoming SuSE 10 release will be gcc 4.0.2 based - I have my order in and

Re: [PyKDE] KPDF KPart

2005-09-21 Thread Jim Bublitz
On Wednesday 21 September 2005 10:50, David Boddie wrote: On Wed Sep 21 17:57:58, Rajeev J Sebastian wrote: I am trying to use the KPDF KPart in my application. So far, I have been successful in using KHTML Part, and so I want to go further. I am using the following code: self.viewTB =

Re: [review] Re: [PyKDE] KPDF KPart

2005-09-21 Thread Jim Bublitz
On Wednesday 21 September 2005 12:05, Rajeev J Sebastian wrote: On Wednesday 21 September 2005 6:32 pm, Jim Bublitz wrote: On Wednesday 21 September 2005 10:50, David Boddie wrote: It's important to use KParts.MainWindow instead of KMainWindow for your application - something that's

Re: [review] Re: [PyKDE] KPDF KPart

2005-09-21 Thread Jim Bublitz
On Wednesday 21 September 2005 12:03, Rajeev J Sebastian wrote: On Wednesday 21 September 2005 6:32 pm, Jim Bublitz wrote: On Wednesday 21 September 2005 10:50, David Boddie wrote: On Wed Sep 21 17:57:58, Rajeev J Sebastian wrote: I am trying to use the KPDF KPart in my application. So

Re: [review] [PyKDE] Using konsolepart. How?

2005-09-19 Thread Jim Bublitz
On Monday 19 September 2005 05:54, Russell Brown wrote: Hi, Firsly sorry for asking what's probably a numpty question (although I have looked through the archives and searched the docs/examples) but I'm new to Py{thon,KDE}. As a mini-project to learn PyKDE, I'm trying to produce a 'wrapper'

Re: [PyKDE] KHTML border woes

2005-09-07 Thread Jim Bublitz
On Wednesday 07 September 2005 20:39, Brian Thomason wrote: I'm currently banging my head on a small, simple (in theory), fullscreen app that I've written using a KApplication, KMainWindow, and a KHTMLPArt view as the central widget. The background of the page being displayed in the view is

Re: [PyKDE] pykde segfaults

2005-09-06 Thread Jim Bublitz
On Tuesday 06 September 2005 05:19, Giovanni Bajo wrote: Jim Bublitz [EMAIL PROTECTED] wrote: You're using QApplication instead of KApplication. If you add: from kdecore import KApplication and change app = QApplication (sys.argv) to app = KApplication (sys.argv

Re: [PyKDE] importTest.py fails

2005-09-05 Thread Jim Bublitz
On Friday 02 September 2005 22:36, Mladen Bestvina wrote: Hi, I installed the latest PyKDE. It compiles fine, except for a few warning messages. My compiler is gcc3.4. Then, when I run importTest.py I get: The packages on riverbankcomputing.co.uk require gcc 3.3. The KDE CVS version should

Re: [PyKDE] pykde segfaults

2005-09-05 Thread Jim Bublitz
On Monday 05 September 2005 11:29, Gudjon I. Gudjonsson wrote: Hi I am using Debian unstable and kde 3.4.2. Pykde finishes with segmentation fault when reaching the lines self.kDoubleNumInput1_4 = KDoubleNumInput(self.groupBox4,kDoubleNumInput1_4) or if that is commented out then

Re: [PyKDE] pyKDE 0628 snapshot doesn't compile anymore with newer sip

2005-08-22 Thread Jim Bublitz
On Monday 22 August 2005 06:16, Danny Pansters wrote: First of all, thanks for all the hard work. I'm having a problem building pyKDE with the new sip. The last version that I succesfully tested was 0727. With 0819 and 0821 I get this, and from the looks of it it's possibly a problem that

Re: [PyKDE] Simple KHtml program crashing at exit

2005-08-11 Thread Jim Bublitz
On Thursday 11 August 2005 10:03, David Boddie wrote: looked at some of my own experiments with using KHTML from ython, and found that you can at least stop the crash on exit by mplementing a close method: def close(self, alsoDelete = 1): return HWidget.close(self, 1) ote that

Re: [PyKDE] cant install PyKDE

2005-08-10 Thread Jim Bublitz
On Tuesday 09 August 2005 21:18, [EMAIL PROTECTED] wrote: Generating the C++ source for the kdecore module... sip: sip/kdecore/kshortcutlist.sip:85: There is already an enum in scope with the same Python name Error: Unable to create the C++ code. Not sure of the cause, but it looks like an

Re: [PyKDE] PyKDE

2005-08-10 Thread Jim Bublitz
On Tuesday 09 August 2005 05:47, Ryan wrote: Im trying to install PyKDE but I have problems with the Mandrake RPM's and when I install from source it says, sip: Unable to find file qt/qtmod.sip Error: Unable to create the C++ code. Is this due to the versions of SIP/KDE/QT that I have

Re: [PyKDE] pyke install erro

2005-07-31 Thread Jim Bublitz
On Sunday 31 July 2005 14:51, Gumby wrote: Generating the C++ source for the dcop module... Error: Unable to create the dcop directory. My first guesses would be that either you aren't running configure.py as a user who has the necessary permissions to create directories under the PyKDE

Re: [PyKDE] KPart problem

2005-07-26 Thread Jim Bublitz
On Monday 25 July 2005 14:03, Roberto Alsina wrote: Well, that works fine and I get a terminal, but I run into another problem. To use the TerminalInterface-specific functionality, you need a TerminalInterface like this: TerminalInterface* t = static_castTerminalInterface*( p-qt_cast(

Re: [PyKDE] KPart problem

2005-07-25 Thread Jim Bublitz
On Sunday 24 July 2005 20:12, Roberto Alsina wrote: factory = kdecore.KLibLoader.self().factory( libkonsolepart ); p=factory.create( win) with p = kparts.createReadWritePart(libkonsolepart, win, konsole, KParts::Part) The syntax for this

Re: [review] [PyKDE] PyKDE on Gentoo

2005-07-19 Thread Jim Bublitz
On Tuesday 19 July 2005 01:23, Aurel (DustyDingo) W. wrote: Hi, I am new to all this PyQt/KDE stuff and currently developing a little application using PyQt. Now i also want to use some KDE features, but i have problems with the python bindings for the libs on Gentoo. There is a package

Re: [PyKDE] Problems with a port of C++/Qt book to Python

2005-07-18 Thread Jim Bublitz
On Monday 18 July 2005 08:48, Douglas Soares de Andrade wrote: Hi ! Another problem: What about this construction ? class FindDialog : public QDialog { Q_OBJECT public: FindDialog(QWidget *parent, const char *name = 0); All is clear for me, but what about

Re: [PyKDE] arts

2005-07-07 Thread Jim Bublitz
On Thursday 07 July 2005 20:15, Patrick Stinson wrote: Jim: what are you thoughts on supporting the various audio mechanisms in kde, besides KAudioPlayer? Being able to launch some streams and play some from the net would be nice. PyMediaPlayer? excellent. I wrote a touchscreen-stereo

Re: [review] RE: [review] [PyKDE] can't make PyKDE

2005-07-05 Thread Jim Bublitz
On Tuesday 05 July 2005 05:22, Витёк wrote: Jim Thank you for your response. First, I was updating SIP, PyQT, PyKDE. Second I try to make this. SIP, PyQT making successful. After this problem with my previous post solved, but new problem appear g++: internal error: Killed (program cc1plus)

Re: [review] [PyKDE] can't make PyKDE

2005-07-04 Thread Jim Bublitz
On Thursday 30 June 2005 14:46, витёк wrote: sip version is snapshot-20050626 (4.2.1) More recent sip versions require explicit declaration of some private destructors - (2) and (3) below. The most recent 6/28 PyKDE snapshot should fix all of those occurrences:

Re: [PyKDE] Latest PyKDE Snapshot

2005-06-30 Thread Jim Bublitz
On Thursday 30 June 2005 04:24, Stephan Hermann wrote: Hi, what are the changes to last snapshot? Anyway, the changelog is not updated, and it's hard to determine the changes at all... can someone summarize the changes beginning from: [EMAIL PROTECTED]:~/kde/pykde$ less

Re: [PyKDE] [PATCH] Fix compilation of PyKDE snapshot20050628

2005-06-29 Thread Jim Bublitz
On Wednesday 29 June 2005 12:18, Sebastian Kügler wrote: Hi Jim, On Tuesday 28 June 2005 23:25, Jim Bublitz wrote: The latest sip snapshot this was tested against was the 06/05 snapshot. I haven't done a lot of testing with this, so please test and report any problems. This snapshot still

Re: [PyKDE] Typecasting problems with PyQt embedded in Scribus

2005-06-29 Thread Jim Bublitz
On Wednesday 29 June 2005 19:34, Henning Schröder wrote: Hi! Scribus is a free DTP application which is coded in C++ and Qt and provides scripting with Python. A Python script can import the qt module and access the data from the running application as far as it is reachable with the

Re: [PyKDE] dcop call always returns same value

2005-06-28 Thread Jim Bublitz
On Monday 27 June 2005 06:07, Sebastian Kügler wrote: Hi, While trying to interface the Kdesktop ScreensaverIface, I noticed an odd behaviour. If called via bash or kdcop, $ dcop kdesktop KScreensaverIface isEnabled would return the correct value, i.e. true or false whether I have checked

<    1   2   3   4   5   6   7   >