Re: [PyKDE] starting a new PyKDE project

2007-01-17 Thread Jim Bublitz
On Wednesday 17 January 2007 09:22, Joseph Rawson wrote: I do have a quick question. Is it possible to display a KMessageBox.error on any exception that is raised while the application loop is running? I know that I can make my own exception classes and have them make the dialogs, but this

Re: [PyKDE] Sigh, it was a nice affair while it lasted...

2007-01-09 Thread Jim Bublitz
On Sunday 07 January 2007 14:11, Kenneth McDonald wrote: After my brief flirtation with PyKDE, I'm afraid I have to say goodbye. It looks like a great package, but I'm afraid the viral GPL has driven me away. I say this not to start a flame war, but simply to let people know that the GPL does

Re: [PyKDE] pykde newbie--several questions

2007-01-04 Thread Jim Bublitz
On Thursday 04 January 2007 12:12, Kenneth McDonald wrote: As a long-time Python user, I'm interested in the possibilities offered by Python access to something as powerful as KDE. It's been quite a few years since I've used Linux (currently using mostly OS X), so please forgive me if some of

Re: [PyKDE] How do you get HTML source from konqueror/KHTMLPart?

2006-12-20 Thread Jim Bublitz
On Wednesday 20 December 2006 15:24, Marcos Dione wrote: On Wed, Dec 20, 2006 at 10:59:06AM -0800, yichun wei wrote: I am trying to grab some html pages via KHTMLPart.openURL and scrape the content I get. However I am not able to read out the HTML document sources I have in KHTMLPart.

[PyKDE] Powerless

2006-12-17 Thread Jim Bublitz
On top of everything else, we've been without power since Thursday night (snowstorm, followed by wind storm). We just got power back a few hours ago, but have some equipment damage (power surges) and lots to catch up on. I noticed a few KDE-related problems on the list - I'll get to those as

Re: [PyKDE] Re: PyKDE-3.16.0, python-2.5, x86_64

2006-12-14 Thread Jim Bublitz
On Thursday 14 December 2006 05:32, Rex Dieter wrote: Rex Dieter wrote: I'm having trouble getting PyKDE_3.16.0 to build against python-2.5 on x86_64 arch. Before I dig any deeper, has anyone else had any success/failure doing the same? For completeness, here are the logs for the failed

Re: [PyKDE] Using the Kate KPart from Python

2006-12-06 Thread Jim Bublitz
On Wednesday 06 December 2006 10:07, Paul Giannaros wrote: Hi, How would you go about using a KatePart but getting some more fine-grained control? I've got an editor widget up displaying in my KParts::MainWindow (loading via createReadOnlyPart('libkatepart' .)), but I don't see how I use

Re: [PyKDE] How to pass UDSEntry to KIO.NetAccess.stat

2006-12-04 Thread Jim Bublitz
On Monday 04 December 2006 05:59, [EMAIL PROTECTED] wrote: Hi, I'm a newbie in python and pyKde and was trying to use NetAccess.stat. My problem is, that the UDSEntry parameter returns always empty. I tried with the following sample code:

Re: [PyKDE] python 2.5 and pyKDE (was: compile error for pyqt)

2006-11-23 Thread Jim Bublitz
On Thursday 23 November 2006 09:48, Jonathan Riddell wrote: On Wed, Nov 22, 2006 at 11:05:19PM +, Jonathan Riddell wrote: When compiling pyqt 3 (3.16) with sip 4.5 I get an error sip: QColor::rgb() has overloaded functions with the same Python signature Google found the fix being

Re: [PyKDE] idle time detection

2006-11-09 Thread Jim Bublitz
On Thursday 09 November 2006 10:51, Sebastian Kügler wrote: Can anyone think of some clean way for a PyKDE application to detect idle time? For the Kubuntu powermanager applet, we're currently missing that feature. The usecase would be kicking in a suspend / hibernate / dimming display after

Re: [PyKDE] QtDBus Support in PyQt

2006-10-28 Thread Jim Bublitz
On Saturday 28 October 2006 03:13, Phil Thompson wrote: DBUS completely replaces dcop in KDE4. I'm currently testing an up to date version of KDE/trunk that uses DBUS as interprocess communication. I haven't looked at the code, but I assume that everywhere there was a DCOP reference there

Re: [PyKDE] QtDBus Support in PyQt

2006-10-27 Thread Jim Bublitz
On Friday 27 October 2006 10:51, Phil Thompson wrote: After working on this for a little while I've decided that I will not support QtDBus in PyQt. Reasons are... - A standard set DBus Python bindings already exist. These are still in active development but the current maintainer seems to be

Re: [PyKDE] Error compiling PyKde 3.16.0

2006-10-26 Thread Jim Bublitz
On Thursday 26 October 2006 05:40, Mark Robinson wrote: Am getting the following output after running python configure.py with no switches any help with resolving it would be appriciated many thanks Mark Robinson PyKDE version 3.16.0 --- Python include directory is

Re: [PyKDE] A working konsole part example in PyKDE

2006-10-26 Thread Jim Bublitz
On Thursday 26 October 2006 08:54, Russell Brown wrote: Quoth Reza Salari. a working konsole part example. That could be interesting. If I put that example into a file and point python at it I assume it's meant to do more than say # python k.py File k.py, line 20

Re: [PyKDE] Fixed version of PyKDE?

2006-10-16 Thread Jim Bublitz
On Monday 16 October 2006 12:10, Torsten Marek wrote: Hi Jim, hi all, wasn't there a promise of a new PyKDE maint release? I haven't paid close attention to the mailing list in the last time, mostly because I was too busy with work, so please bear with me if I ask an already answered

Re: [PyKDE] Keeping DCOP object reference does not work

2006-10-15 Thread Jim Bublitz
On Sunday 15 October 2006 05:41, Krzysztof Lichota wrote: Jim Bublitz napisał(a): On Wednesday 11 October 2006 01:40, Krzysztof Lichota wrote: If I create instance right before calling DCOP method, it works. I have noticed that also writing method which returns fresh DCOPObj instance

Re: [PyKDE] Keeping DCOP object reference does not work

2006-10-12 Thread Jim Bublitz
On Wednesday 11 October 2006 01:40, Krzysztof Lichota wrote: I have come across the following problem when using pyKDE: when I try keeping dcopext.DCOPObj reference it does not work. Here is the code I use: def initDcopObj(self): dcop = kdecore.KApplication.dcopClient() self.dcopObj

Re: [PyKDE] Building new Qt4 extension with sipdistutils

2006-10-10 Thread Jim Bublitz
On Tuesday 10 October 2006 03:00, Phil Thompson wrote: On Tuesday 10 October 2006 2:59 am, Phil Thompson wrote: There's a post about PyQt4 with Qt 4.2 that mentions missing classes and missing methods. Am I understanding it correctly then that the next version of PyQt4 will

[PyKDE] Interesting quote relevant to scripting KDE

2006-10-10 Thread Jim Bublitz
From this article (link from /.): http://sztywny.titaniumhosting.com/2006/07/23/stiff-asks-great-programmers-answers/ Q: What do you think will be the next big thing in computer programming? X-oriented programming, y language, quantum computers, what? A. (Linus Torvalds) I don’t think we’ll

Re: [PyKDE] signals

2006-10-06 Thread Jim Bublitz
On Friday 06 October 2006 12:22, Andreas Pakulat wrote: On 06.10.06 12:00:27, Matt Chambers wrote: Any guesses as to why this line would not conncet the signal? Using a treeview. self.connect(self, QtCore.SIGNAL(collapsed (const QModelIndex index)), self.cbCollapsed); Because

Re: [PyKDE] kde language poll

2006-10-05 Thread Jim Bublitz
On Wednesday 04 October 2006 23:48, John Layt wrote: On Thursday 05 October 2006 09:48, Lee Braiden wrote: Hi all, One of the KDE devs is running a poll about which language people would prefer to be blessed as the officially supported KDE scripting language. Currently, it's

[PyKDE] C++ Anomalie

2006-10-05 Thread Jim Bublitz
I realize this isn't a PyKDE question, but there are some good C++ programmers here, and I thought maybe someone could tell me what's going on here. I've had this problem with the SuSE rpms of KSpread, and even recompiled KSpread with debug info and get the same result. I'm duplicating some

Re: [PyKDE] C++ Anomalie

2006-10-05 Thread Jim Bublitz
On Thursday 05 October 2006 11:33, Joshua J. Kugler wrote: [Please pardon the top post] Jim, how are you connecting to KSpread? Are you using DCOP? Something else? I really don't know anything about C++ scripting of KSpread, but I do know there are DCOP interfaces that might simplify

Re: [PyKDE] PyQt to PyKDE migration

2006-10-03 Thread Jim Bublitz
On Tuesday 03 October 2006 05:56, Kushal Das wrote: Hi, I have written a small PyQt app known as Kphotobymail (http://kphotobymail.sourceforge.net) Now here the main Ui is a QMainWindow... from which I am building the QApplication class. I want to migrate it to PyKDE now, so any one can

Re: [PyKDE] Error while installing

2006-10-02 Thread Jim Bublitz
On Monday 02 October 2006 05:08, Kushal Das wrote: sip version is 4.3.1 (4.3.1) PyQt directory is /usr/share/sip PyQt version is 3.15 (3.15.0) sipcfg.error(This version of PyKDE requires SIP v%s or later % sipcfg.version_to_string(minv)) File

Re: [PyKDE] Help with SIP

2006-10-01 Thread Jim Bublitz
On Sunday 01 October 2006 18:44, Christoph Spoerri wrote: Hi there, I just signed up to the list here, since I'm trying to create a python wrapper for an QT application. As you can imagine I'm running into problems since I'm new to SIP and its functions. The first question I'm having is how

Re: [PyKDE] konsole_part again

2006-09-30 Thread Jim Bublitz
On Saturday 30 September 2006 08:11, Jonathan Riddell wrote: On Wed, Sep 20, 2006 at 08:19:33PM -0700, JIm Bublitz wrote: Previously, by request, I had added support for konsole_part to PyKDE. Subsequently, I ran into problems with it, and removed it. Today I tried adding it back in again

Re: [PyKDE] Cannot use KUniqueApplication with dcop

2006-09-28 Thread JIm Bublitz
On Wednesday 23 August 2006 14:58, Sebastian Kügler wrote: I'm trying to make a KUniqueApplication accessible via dcop, but I'm getting the following error: dcop-testapp: ERROR: Communication problem with dcop-testapp, it probably crashed. If I change KUniqueApplication to KApplication, it

Re: [PyKDE] Re: Using scripting languages for KDE4 main modules

2006-09-28 Thread Jim Bublitz
On Thursday 28 September 2006 10:48, Simon Edwards wrote: Funny you should mention that. We on the PyKDE list have been discussing that a bit in the last few weeks. The idea of developing PyKDE[1] in KDE's SVN and releasing up-to-date bindings synchonised with KDE, was positively received.

Re: [PyKDE] Need kubuntu help

2006-09-25 Thread Jim Bublitz
On Sunday 24 September 2006 19:24, Douglas Soares de Andrade wrote: Em Segunda 25 Setembro 2006 03:47, Jim Bublitz escreveu: In the last couple days I've done a couple posts in the thread KParts Crashs. The user having problems is running kubuntu, and since I can't duplicate the problems

[PyKDE] konsole_part yet again

2006-09-25 Thread Jim Bublitz
Apparently I made an incorrect assumption about konsole_part. Since originally libkonsolepart.so exported all of the symbols needed to do a simple binding, and since it exports those symbols on SuSE for KDE 3.5, I assumed it could be used as a library. Unfortunately, the only symbol that's

Re: [PyKDE] PyKDE 3.16.0 released

2006-09-25 Thread Jim Bublitz
On Monday 25 September 2006 11:33, Torsten Marek wrote: sounds like a plan for a quick bug fix. If I have some time, I'll try to find a better fix later. It turns out that I can't guarantee konsole_part will work on every system, so I've made the installation optional (configure.py -x to

Re: [PyKDE] PyKDE 3.16.0 released

2006-09-24 Thread Jim Bublitz
On Saturday 23 September 2006 13:04, Torsten Marek wrote: Hi Jim, one more thing. Is there a way to circumvent the libkonsolepart.so hackery? What you are doing in configure.py works for private persons who install PyKDE on their own, but I can't include something like that into the Debian

Re: [PyKDE] KPart crashs

2006-09-24 Thread Jim Bublitz
On Sunday 24 September 2006 14:34, Daniel Marcel Eichler wrote: Jim Bublitz wrote: The following program imports a KPart - KPDF, KGhostview or KWord. Any of these work fine for me. KPDF and KGhostView will read and display a PDF file. KWord will open and allow you to edit a plain text file

Re: [PyKDE] PyKDE 3.16.0 released

2006-09-24 Thread Jim Bublitz
On Sunday 24 September 2006 00:17, Torsten Marek wrote: Jim Bublitz schrieb: On Saturday 23 September 2006 13:04, Torsten Marek wrote: Hi Jim, one more thing. Is there a way to circumvent the libkonsolepart.so hackery? What you are doing in configure.py works for private persons who

Re: [PyKDE] KDE default application icon

2006-09-24 Thread Jim Bublitz
On Sunday 24 September 2006 03:15, Alek Wojdyga wrote: Hello everyone, how can I get the KDE default application icon? So far I've looked in .desktop file for Icon= line and searched for icon using findfile in some hardcoded dirs. Can this be achieved in a easier and more flexible (not

Re: [PyKDE] PyKDE 3.16.0 released

2006-09-23 Thread Jim Bublitz
On Saturday 23 September 2006 11:49, Torsten Marek wrote: just one small remark: extensions/dcopext.py needs Python 2.4. It uses a generator expression on line 190, as well as a method decorator. This breaks compatibility with 2.3. Otherwise, it builds just fine. Yeah, I noticed that too,

Re: [PyKDE] PyKDE 3.16.0 released

2006-09-23 Thread Jim Bublitz
On Saturday 23 September 2006 13:04, Torsten Marek wrote: Hi Jim, one more thing. Is there a way to circumvent the libkonsolepart.so hackery? What you are doing in configure.py works for private persons who install PyKDE on their own, but I can't include something like that into the Debian

Re: [PyKDE] PyKDE 3.16.0 released

2006-09-23 Thread Jim Bublitz
On Saturday 23 September 2006 13:04, Torsten Marek wrote: Hi Jim, one more thing. Is there a way to circumvent the libkonsolepart.so hackery? What you are doing in configure.py works for private persons who install PyKDE on their own, but I can't include something like that into the Debian

Re: [PyKDE] KPart crashs

2006-09-23 Thread Jim Bublitz
On Wednesday 19 April 2006 05:37, Daniel Marcel Eichler wrote: Hi I have KTabWidget in which i load a libkwordpart. Now, when i set the part to writeable, load a file and click with riht in the part-area, the whole app crashs. There is'nt any methods from me, which can cause the crash, and i

[PyKDE] PyKDE 3.16.0 released

2006-09-22 Thread Jim Bublitz
The PyKDE 3.16.0 release should be available at riverbankcomputing.co.uk in the near future (I understand Phil has some repairs to do there, and has been out of town as well, so it may take a day or two - or not). Changes are (some already available in earlier snapshots): - support for KDE

Re: [PyKDE] BrowserExtension.createNewWindow(KURL, URLArgs, WindowArgs, ReadOnlyPart)

2006-09-22 Thread Jim Bublitz
On Friday 22 September 2006 14:06, Paul Giannaros wrote: There are two createNewWindow signals in KParts::BrowserExtension to notify browser hosts that a new window has been requested. createNewWindow(KURL, KParts::URLArgs) is supported, but I can see on the PyKDE docs that

[PyKDE] Help wanted

2006-09-21 Thread JIm Bublitz
Python/PyKDE Programmer === The premier KDE bindings solution* seeks programmer to develop usage example code for KConfigSkeleton and KConfigDialog classes. Some experience required. Compensation and benefits include PyKDE maintainer continuing to maintain KConfigSkeleton and

[PyKDE] konsole_part again

2006-09-21 Thread JIm Bublitz
Previously, by request, I had added support for konsole_part to PyKDE. Subsequently, I ran into problems with it, and removed it. Today I tried adding it back in again (thinking I knew how to fix the problems) and it seems to work fine again without any difficulties. I'm planning on leaving it

Re: KDE 4 (was: [PyKDE] PyQt 4 on openSUSE)

2006-09-13 Thread Jim Bublitz
On Tuesday 12 September 2006 13:02, Phil Thompson wrote: One thing you need to check is that you can install kdebindings3 (ie. PyQt3 using SIP3) and kdebindings4 (ie. PyQt4 using SIP4) in the same Python installation. I assume this is a requirement - so that people can continue to use PyKDE3

Re: KDE 4 (was: [PyKDE] PyQt 4 on openSUSE)

2006-09-13 Thread Jim Bublitz
On Tuesday 12 September 2006 12:08, Simon Edwards wrote: Now the problem is the old PyFoo package. It depends on python2.5-kde version 4.0 or better and hence sip 4, because sip 4 is what shipped in KDE 4.0. This is the version of sip that PyFoo runs on. If the new python2.5-kde package for

Re: KDE 4 (was: [PyKDE] PyQt 4 on openSUSE)

2006-09-13 Thread Jim Bublitz
On Wednesday 13 September 2006 05:28, Phil Thompson wrote: On Tuesday 12 September 2006 13:02, Phil Thompson wrote: One thing you need to check is that you can install kdebindings3 (ie. PyQt3 using SIP3) and kdebindings4 (ie. PyQt4 using SIP4) in the same Python installation. I assume this

Re: KDE 4 (was: [PyKDE] PyQt 4 on openSUSE)

2006-09-11 Thread Jim Bublitz
On Monday 11 September 2006 11:47, Simon Edwards wrote: Then if I have a KDE program PyFoo that includes a Python C module (or sip wrapper) and was developed for KDE 4.0, it will called something PyFoo2.5 and require KDE 4.0 or later. When KDE 4.1 comes out maybe Python 2.6 is also out, but

[PyKDE] 15 minutes of fame

2006-09-10 Thread Jim Bublitz
I have an interview up at http://dot.kde.org/1157841422/ - feel free to make derisive comments (Phil did one earlier - interview, that is - if you missed it). One thing I learned from the comments (I'm only about 6 months behind) is that as part of KOffice, there's a project called 'kross'

Re: KDE 4 (was: [PyKDE] PyQt 4 on openSUSE)

2006-09-09 Thread Jim Bublitz
On Saturday 09 September 2006 05:50, Sebastian Kügler wrote: On Friday 08 September 2006 21:44, Jim Bublitz wrote: The other problem is having an environment to compile and test the code - that turns out to be a big time consumer for me, especially if I'd have to compile KDE. Which is why I

Re: KDE 4 (was: [PyKDE] PyQt 4 on openSUSE)

2006-09-09 Thread Jim Bublitz
On Saturday 09 September 2006 05:04, Simon Edwards wrote: On Friday 08 September 2006 22:34, Jim Bublitz wrote: On Friday 08 September 2006 12:11, Simon Edwards wrote: [development testing time] Right - mostly because the compiles take so long, and there are at least 5 releases (3.0.x

Re: KDE 4 (was: [PyKDE] PyQt 4 on openSUSE)

2006-09-09 Thread Jim Bublitz
On Saturday 09 September 2006 04:42, Simon Edwards wrote: On Friday 08 September 2006 23:42, David Boddie wrote: On Friday 08 September 2006 21:11:25 +0200, Simon Edwards wrote: On Friday 08 September 2006 01:51, David Boddie wrote: Reading through the SIP files for PyKDE, you find lots

Re: KDE 4 (was: [PyKDE] PyQt 4 on openSUSE)

2006-09-09 Thread Jim Bublitz
On Saturday 09 September 2006 07:11, Phil Thompson wrote: On Thursday 07 September 2006 11:17 pm, Hans-Peter Jansen wrote: What I would like to see is Phil's new sip generation tool (if he's willing to release it into the open world) applied to KDE, with the (possibly) missing pieces added

Re: KDE 4 (was: [PyKDE] PyQt 4 on openSUSE)

2006-09-08 Thread Jim Bublitz
On Friday 08 September 2006 01:26, Sebastian Kügler wrote: On Friday 08 September 2006 01:51, David Boddie wrote: Although KDE 4 looks like it's starting to take shape, I can't believe that there's not going to be a lot of flux in the APIs before they stabilize into a form that provides the

Re: KDE 4 (was: [PyKDE] PyQt 4 on openSUSE)

2006-09-08 Thread Jim Bublitz
On Friday 08 September 2006 12:11, Simon Edwards wrote: On Friday 08 September 2006 01:51, David Boddie wrote: On Thursday 07 September 2006 23:03:14 +0200, Simon Edwards wrote: While it would be nice to have ready made bindings for each new KDE release, it's going to take some willingness

Re: KDE 4 (was: [PyKDE] PyQt 4 on openSUSE)

2006-09-08 Thread Jim Bublitz
On Friday 08 September 2006 12:46, Simon Edwards wrote: On Friday 08 September 2006 02:48, Jim Bublitz wrote: I'm completely in favor of synching KDE and PyKDE :-) : Seriously - 2 or 3 maintainers splitting up module responsibilities would probably do it with decent communication

Re: [PyKDE] Tableitem center text + font size

2006-09-07 Thread Jim Bublitz
On Thursday 07 September 2006 11:51, Dave S wrote: My project (and learning adventure !) continues ... (1) How do I center text in a TableItem ? I realize that I need to set an alignment flag ie AlignHCenter but am struggling to do so. My QT3 docs say ... The Qt class is a namespace for

Re: KDE 4 (was: [PyKDE] PyQt 4 on openSUSE)

2006-09-07 Thread Jim Bublitz
On Thursday 07 September 2006 16:51, David Boddie wrote: On Thursday 07 September 2006 23:03:14 +0200, Simon Edwards wrote: On Wednesday 06 September 2006 13:46, Hans-Peter Jansen wrote: which reminds me that the official kdebindings3-python package of KDE 3.5.4 is _way_ behind the

Re: [PyKDE] [PyQt3] alignment issue on subclassed QTableItem

2006-09-07 Thread Jim Bublitz
On Thursday 07 September 2006 14:24, Hans-Peter Jansen wrote: Hi Jim, Am Donnerstag, 31. August 2006 23:42 schrieb Jim Bublitz: Sorry - can't help with QCheckBox/QButton. I implemented checkboxes with pixmaps, I think because I didn't like the way the Qt checkboxes looked and worked

Re: [PyKDE] PyQt 4 on openSUSE

2006-09-05 Thread Jim Bublitz
On Tuesday 05 September 2006 10:29, Joachim Werner wrote: Hi all, SUSE has been shipping with PyQt/PyKDE installed in the default system for quite a while. For PyQT/PyKDE 3 this was a no-brainer: The HP printer tools are installed by default and need them, so we have to install PyQt/PyKDE

Re: [PyKDE] KRun.setEnableExternalBrowser missing

2006-09-05 Thread Jim Bublitz
On Tuesday 05 September 2006 14:44, Paul Giannaros wrote: Hi there. I'm trying to call the method setEnableExternalBrowser in my source code but it doesn't seem to exist. i.e: import kio kio.KRun.setEnableExternalBrowser AttributeError: setEnableExternalBrowser Depends on what version

Re: [PyKDE] QTable cell color - better way ?

2006-09-03 Thread Jim Bublitz
On Sunday 03 September 2006 01:41, Dave S wrote: As a relative newbe to GUI QT programming I am trying to get various background colours for a QTable call. Extensive googling headscratching has come up with re-defining paint() for each color. This seems like a lot of code I wondered if

Re: [PyKDE] [PATCH] Fix void dcop calls

2006-08-31 Thread Jim Bublitz
On Wednesday 23 August 2006 14:43, Sebastian Kügler wrote: Attached patch makes calls such as self.addMethod ('void foo ()', app.foo) work. Without it, the call fails, since dcop_add does not accept None as second argument. dcop-testapp.py is a minimal testcase: ---SNIP--- Traceback (most

Re: [PyKDE] Pytray

2006-08-31 Thread Jim Bublitz
a lot of people pain. It can be an interesting experience, yes. So here's the question is it not possible/easier to build a C applet/tray that will swallow any python script written for it? That's what happened in the end. Jim Bublitz and I made lots of different prototypes, but there always

Re: [PyKDE] [PyQt3] alignment issue on subclassed QTableItem

2006-08-31 Thread Jim Bublitz
On Thursday 24 August 2006 16:58, Hans-Peter Jansen wrote: Hi PyQties, I'm struggling with a strange effect in a subclassed QTableItem. For clearness reasons, I need a centered checkbox table item without text label.. First, I based my implementation on QCheckTableItem with only the paint

Re: [PyKDE] PyKDE can't find KDE libraries in /opt/kde/lib64

2006-08-31 Thread Jim Bublitz
On Wednesday 09 August 2006 14:42, Post, Mark K wrote: I'm trying to build kdebindings 3.5.4 on my 64-bit Slack/390 system. When make gets to the pykde directory, I get the following error: cd ./pykde ; \ export QTDIR=/usr/lib/qt/ ; \ /usr/bin/python configure.py -c -k /opt/kde -d

Re: [PyKDE] PyKDE and kipi plugins

2006-08-03 Thread Jim Bublitz
On Thursday 03 August 2006 05:49, Paul Waldo wrote: Hi all, I'm interested in using kipi plugins in my PyKDE application, but I'm unsure how to go about this. Do I need to get the kipi source and SIPify it? Thanks in advance! It would depend on how you intend to use the plugins, but

Re: [PyKDE] Error: already an enum in scope with the same Python name

2006-08-01 Thread Jim Bublitz
On Tuesday 01 August 2006 00:21, jeason wrote: Generating the C++ source for the kdecore module... sip: sip/kdecore/netwm_def.sip:410: There is already an enum in scope with the same Python name Error: Unable to create the C++ code. In sip//kdecore/netwm_def.sip, beginning at line 305,

Re: [PyKDE] PyKDE bug with KMdiMainFrm

2006-07-26 Thread Jim Bublitz
On Tuesday 25 July 2006 10:36, Serge Weinstock wrote: Hi, I'm currently upgrading Sip/PyQt/PyKDE in order to be able to use PyQt4. I'm using a Suse10.1 x86 distribution with KDE3.5.4 and I'm now using: * sip 4.4.5 * PyQt-x11-gpl-3.16 * PyKDE-snapshot20060422 Checking that my previous

Re: [PyKDE] Konsole KPart in pykde

2006-07-24 Thread Jim Bublitz
On Friday 21 July 2006 05:02, Jonathan Riddell wrote: What's the status of the Konsole KPart in pykde? According to the changelog it was added then removed with Backed out konsolepart code (undefined symbol problem). How likely is it this problem can be fixed? From 10/13/2005: Backed

Re: [PyKDE] PyKDE: bug with KRecentFilesAction?

2006-07-07 Thread Jim Bublitz
On Friday 07 July 2006 12:06, Serge Weinstock wrote: Is there a bug with KRecentFilesAction? I'm creating a KRecentFilesAction like this: class MyMainWindow(KMainWindow) ... def initActions(self): ... self.openRecentFilesAction = KRecentFilesAction(i18n(Open Recent

Re: [PyKDE] Question about Qt syntax between C++ and python

2006-06-29 Thread Jim Bublitz
On Thursday 29 June 2006 11:09, Michael Sullivan wrote: On Thu, 2006-06-29 at 18:44 +0100, Phil Thompson wrote: On Thursday 29 June 2006 6:30 pm, Michael Sullivan wrote: If I've got a symbolic constant, such as Qt::AlignHCenter, how would I write that in python? Qt.AlignHCenter

Re: [PyKDE] DCOP From Cron

2006-06-20 Thread Jim Bublitz
On Tuesday 20 June 2006 08:49, Richard Heck wrote: İsmail Dönmez wrote: Salı 20 Haziran 2006 17:19 tarihinde, Richard Heck şunları yazmıştı: I'm writing a simple application to rotate wallpaper every so often, and I want to run it as a cron job. The basic structure is pretty simple, and

Re: [PyKDE] Configure Error

2006-06-20 Thread Jim Bublitz
On Monday 19 June 2006 19:41, Jon Keating wrote: Hopefully someone can tell me how to fix this error. Please see the attached log. Your configure.py run seems to be dying without issuing an error message when it tries to generate code for kutils. Looking at PyKDE, I seem to have generated

Re: [PyKDE] DCOP From Cron

2006-06-20 Thread Jim Bublitz
On Tuesday 20 June 2006 11:28, you wrote: Jim Bublitz wrote: On Tuesday 20 June 2006 08:49, Richard Heck wrote: İsmail Dönmez wrote: Salı 20 Haziran 2006 17:19 tarihinde, Richard Heck şunları yazmıştı: I'm writing a simple application to rotate wallpaper every so often, and I want

Re: [PyKDE] DCOP From Cron

2006-06-20 Thread Jim Bublitz
On Tuesday 20 June 2006 16:26, Richard Heck wrote: Jim Bublitz wrote: Here's a simple test program: #/usr/bin/python #Create DCOP clients import kdecore import dcopext dcopclient = kdecore.KApplication.dcopClient() dcopclient.registerAs(changewp) dcopapp = dcopext.DCOPApp

Re: [PyKDE] Problem compiling PyKDE with latest sip

2006-06-04 Thread Jim Bublitz
On Saturday 03 June 2006 11:06, Detlev Offenbach wrote: Hi, I tried to compile PyKDE (latest snapshot) with the latest sip and got the following error during the configure step. Generating the C++ source for the kdecore module... sip: KMD5::update() has overloaded functions with the same

Re: [PyKDE] short PyKDE code which worked under KDE 3.3.x but crashes under 3.5.2/ 3.5.3

2006-06-02 Thread Jim Bublitz
On Friday 02 June 2006 06:32, Mateusz Korniak wrote: As topic states, code used to work, after update to 3.5.2 (or 3.5.3) crashes. I'm not sure if it's mine bug or KDE regression. Code attached, any hint appreciated. I get a failure here too with KDE 3.5.2, but not with 3.4.2. The backtrace

Re: [PyKDE] Network Transparency Help

2006-05-16 Thread Jim Bublitz
On Monday 15 May 2006 18:01, Paul Waldo wrote: Hi all, I'm trying to write a PyKDE application that, among other things, does bulk file copying. I'm trying to write this with Network Transparency in mind. Rather than just being able to copy files from /my/directory/* to /your/directory/

Re: [PyKDE] Network Transparency Help

2006-05-16 Thread Jim Bublitz
On Tuesday 16 May 2006 04:30, Paul Waldo wrote: On Tuesday 16 May 2006 2:19 am, Jim Bublitz wrote: def locateFiles(self): startUrl = KURL(self._url) job = KIO.listRecursive(startUrl) QObject.connect(job, SIGNAL(entries(KIO::Job *, const KIO

Re: [PyKDE] dcop program

2006-05-16 Thread Jim Bublitz
On Tuesday 16 May 2006 00:47, basse wrote: hi, I am doing a little application that can be controlled via dcop. so far everything else works, but I am unable to set the application name without pid number appearing to the end of it automaticly (with dash). so in dcop list, instead of myapp

Re: [PyKDE] KGlobalAccel

2006-05-15 Thread Jim Bublitz
On Monday 15 May 2006 02:12, Michał Woźniak wrote: Hi there, I am trying to get my script to register a global hotkey (or accel key, should I rather say) under KDE 3.4.3. I am using KGlobalAccel, but without any success. All that I have achieved so far is either: - freezing the app (and the

Re: [PyKDE] alignment in table

2006-05-12 Thread Jim Bublitz
On Friday 12 May 2006 07:03, Behnam Kamrani wrote: Sorry for another trivial post..., but have difficulties to (center) align cells in a table. Does anybody have an example to look at? There was a post which discussed that, but even that is not enough for me:(

Re: [PyKDE] Using kabc from Python

2006-05-03 Thread Jim Bublitz
On Wednesday 03 May 2006 05:59, Aurélien Gâteau wrote: Hello, I need to write a KABC::Resource, and I would like to implement it in Python. My version of PyKDE is 3.11.3 (old one, I know :-/) which does not come with bindings for KABC. Would you advice using the latest snapshot (I am always

Re: [PyKDE] Killing QApplication

2006-05-01 Thread Jim Bublitz
On Monday 01 May 2006 09:34, Paul Waldo wrote: Hi Jim, Thanks for the reply. I'm trying to test in a slightly different way than your method. If I understand you correctly, you create a main window and have a button kick off all of your tests. I create a bunch of test classes, each of

Re: [PyKDE] Killing QApplication

2006-04-30 Thread Jim Bublitz
On Sunday 30 April 2006 06:22, Paul Waldo wrote: Hi all, I'm trying to be a good boy, so I have a lot of unit tests for my python KDE application. Each of the tests run fine individually, but when I run them all together, it seems that the application refuses to die. The first test runs

Re: [PyKDE] Recent sip, PyQt, PyKDE snapshot - error during building kdecore/ void release_Display(void*, int) - dumbfix.

2006-04-27 Thread Jim Bublitz
On Thursday 27 April 2006 06:13, Mateusz Korniak wrote: On Monday 24 April 2006 14:07, Mateusz Korniak wrote: I have such problem building latest PyKDE: I dumbfixed it forcing to qvariant.h be included much more early. Seems it fixed building and long awaited pyKDE for 3.5.2 works for me as

Re: [PyKDE] PyKDE Snapshot - sip bug?

2006-04-25 Thread Jim Bublitz
On Tuesday 25 April 2006 12:59, Mathieu Bouchard wrote: Hi, I've tried the latest snapshot of pykde with sip 4.4.2 and pyqt 3.16 and almost everything is working fine. In fact, I'm only having some problems with the KIO namespace. With the latest snapshot of pykde, I was doing : ... from

Re: [PyKDE] Compile crash

2006-04-24 Thread Jim Bublitz
On Saturday 22 April 2006 03:02, Andreas Pakulat wrote: On 22.04.06 11:42:04, Ondrej Vlach wrote: Sorry, I forgot include information about version of PyKDE So, version is : snapshot20060122 IIRC that version cannot be used with the latest sip release. Jim hasn't had the time to update

Re: [PyKDE] PyKDE uses qt2 compat header

2006-04-24 Thread Jim Bublitz
On Sunday 23 April 2006 05:28, Andreas Pakulat wrote: Hi, the latest PyKDE snapshots includes qlist.h in various places, however this is a deprecated header file, the correct one to use is qptrlist.h (which is included from qlist.h). I stumbled over this because Debian has split the

Re: [PyKDE] PyKDE uses qt2 compat header

2006-04-24 Thread Jim Bublitz
On Monday 24 April 2006 16:19, Andreas Pakulat wrote: On 24.04.06 15:50:37, Jim Bublitz wrote: On Sunday 23 April 2006 05:28, Andreas Pakulat wrote: Hi, the latest PyKDE snapshots includes qlist.h in various places, however this is a deprecated header file, the correct one to use

Re: [PyKDE] PyKDE Snapshot

2006-04-23 Thread Jim Bublitz
On Sunday 23 April 2006 04:18, Phil Thompson wrote: On Sunday 23 April 2006 12:02 pm, Ismail Donmez wrote: Pazar 23 Nisan 2006 14:00 tarihinde, Ismail Donmez şunları yazmıştı: Pazar 23 Nisan 2006 07:34 tarihinde, Jim Bublitz şunları yazmıştı: I've sent Phil the new PyKDE snapshot (PyKDE

Re: [PyKDE] Compile crash

2006-04-22 Thread Jim Bublitz
On Saturday 22 April 2006 02:42, Ondrej Vlach wrote: SIP Version: sip-4.4.1 The current snapshot won't compile with sip 4.4.1, but don't change to an earlier sip - a new snapsnot will be available within the next day or two. I'll be sending it off to Phil for posting in a little while, so

[PyKDE] PyKDE Snapshot

2006-04-22 Thread Jim Bublitz
I've sent Phil the new PyKDE snapshot (PyKDE-snapshot20060422.tar.gz) and it should be available soon at riverbankcomputing.co.uk, allowing for timezone differences and Phil's schedule. This snapshot *requires* sip 4.1.1 and probably will not build with any earlier sip version. I've only

Re: [PyKDE] KConfigDialog woes

2006-04-21 Thread Jim Bublitz
On Friday 21 April 2006 11:03, Paul Waldo wrote: Hi all, I'm trying to figure out how to make KConfigDialog work under PyKDE. When I run the attached file, I get this error: Traceback (most recent call last): File src/kconfigdialogtest.py, line 63, in ? main() File

Re: [PyKDE] Partial part-problem

2006-04-19 Thread Jim Bublitz
On Friday 14 April 2006 05:20, Daniel Marcel Eichler wrote: Hi I have some stupid problems with some kparts. Loading of the parts is no problem, but i can't open a file wih them. KPDF an Kate-Kpart goes well, but with others like libkghostviewpart not. So, anybody can give me a hint? As you

Re: [PyKDE] KPart crashs

2006-04-19 Thread Jim Bublitz
On Wednesday 19 April 2006 05:37, Daniel Marcel Eichler wrote: Hi I have KTabWidget in which i load a libkwordpart. Now, when i set the part to writeable, load a file and click with riht in the part-area, the whole app crashs. There is'nt any methods from me, which can cause the crash, and i

Re: [PyKDE] How to use kURLRequester

2006-04-18 Thread Jim Bublitz
On Tuesday 18 April 2006 00:22, Alvaro Arenas wrote: Hi. I am trying to use the kURLRequester widget (this comes with the qt-designer) but this widget is not recognised. I guess I should add some include line like import kde. But I wonder why qt-dessigner doesn't add the code by itself. By

Re: [PyKDE] PyKDE building and the -j flag (again)

2006-04-14 Thread Jim Bublitz
On Friday 14 April 2006 14:32, Danny Pansters wrote: Hi, I'm maintaining the FreeBSD ports for sip/pyqt/pykde. I'm once again having problems with the -j flag, but this time not across archs but for i386. On my box it works fine, on the FreeBSD build cluster it doesn't. For clarity: I'm

Re: [PyKDE] Radiobutton in table?

2006-04-13 Thread Jim Bublitz
On Thursday 13 April 2006 02:01, Behnam Kamrani wrote: Hi, I would appreciate a lot if somebody can help me to create a radiobutton in a table using pyqt? To use Checkbox or Combobox is pretty easy by having QComboTableItems or QCheckTableItems. However, apparently there is not an object like

<    1   2   3   4   5   6   7   >