Re: [PyKDE] dcop call always returns same value - UPDATE

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

[PyKDE] New PyKDE snapshot20050628

2005-06-28 Thread Jim Bublitz
I've just sent a new snapshot to Phil, and it should appear shortly on the riverbankcomputing site in the directory http://www.river-bank.demon.co.uk/download/snapshots/PyKDE/ The latest sip snapshot this was tested against was the 06/05 snapshot. I haven't done a lot of testing with this, so

Re: [PyKDE] Eric 3.7 latest snapshoots

2005-06-18 Thread Jim Bublitz
On Saturday 18 June 2005 16:54, Antoni Aloy wrote: Hello! I have installed the lastest Qscintilla, PyQT and SIP snapshoot on my brand new G5, using Fedora Core 4. The eric instaler complains saying I must have a more recent version of QScintilla :O On the other hand I can run Eric

Re: [PyKDE] Re: QString vs PyString

2005-06-03 Thread Jim Bublitz
On Friday 03 June 2005 11:40, Matej Cepl wrote: James Emerton wrote: This all leads me to thinking about the strategies used whenan API targeting one language is wrapped for some other language with different idioms and culture. In many cases, utility types (such as QString, QDate[Time])

Re: [PyKDE] creating a application that can be iconify in KDE toolbar

2005-05-31 Thread Jim Bublitz
On Tuesday 31 May 2005 06:53, Tarek Ziadrote: I was wondering if PyKde provide any API that would let me iconify my application, like KNotes or KOrganizer I'm not completely sure what you're looking for. Take a look at PyKDE/examples/systray.py or templates/annotated/systray*.py Jim

Re: [PyKDE] Using SIP to call Python from C++

2005-05-19 Thread Jim Bublitz
On Thursday 19 May 2005 07:26, Niac Neb wrote: James, I'm assuming you don't have an example of calling Python from C++. Your previous post indicated you'd done this numerous times. The code snippet pretty much left me hanging. The folks at Riverbank indicated that SIP didn't even

Re: [PyKDE] Using SIP to call Python from C++

2005-05-19 Thread Jim Bublitz
On Thursday 19 May 2005 12:49, Niac Neb wrote: Jim, Thanks for the detailed response! I believe I do need to call SIP (maybe just Python) from C++. I have an existing C++ application that I'm trying to add Python plotting capabilities to. I need to spawn these plot utilities ... telling

Re: [PyKDE] Re: Unresolved symbol PyKDE w/kde-3.4.0

2005-05-13 Thread Jim Bublitz
On Friday 13 May 2005 06:10, Rex Dieter wrote: Jim Bublitz wrote: On Wednesday 04 May 2005 07:01, Norberto Bensa wrote: I get an unresolved 'DockWindow.' I do not have the exact message since I'm at work and without access to my box at home, but I wanted to ask if someone have any

Re: [PyKDE] Re: Using comboboxes indexes for referencing data

2005-05-10 Thread Jim Bublitz
On Tuesday 10 May 2005 14:44, Jorge Godoy wrote: Jim Bublitz [EMAIL PROTECTED] writes: In the case of QComboBox, index refers to an item's position in the combo box's list of items. The list of items is a list of strings. Pity. :-( I was happy thinking I could do that as with wxPython

Re: [PyKDE] Unresolved symbol in Gentoo

2005-05-04 Thread Jim Bublitz
On Wednesday 04 May 2005 07:01, Norberto Bensa wrote: Hello list, I'm trying to install PyKDE (snapshot from 20050316) on Gentoo. It compiles but when I do: import kdeui I get an unresolved 'DockWindow.' I do not have the exact message since I'm at work and without access to my box at

Re: [PyKDE] Error generating code

2005-05-02 Thread Jim Bublitz
On Friday 29 April 2005 08:34, lapo wrote: Hi i got this stiky error: 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. In the file indicated, delete the following lines around line 85, then re-run

Re: [PyKDE] Speeding up PyKDE small app

2005-04-28 Thread Jim Bublitz
On Wednesday 27 April 2005 17:26, Matej Cepl wrote: I am very much newbie in Qt/KDE programming, but I needed for a vim-script I work on slightly more complicated than what I could get with vim-script or with kdialog. After not getting any answer for my (probably quite naive) question how to

Re: [PyKDE] KDE app template: Qt signal problem...

2005-04-28 Thread Jim Bublitz
On Wednesday 27 April 2005 23:36, Simon Edwards wrote: On Tuesday 26 April 2005 23:15, Jim Bublitz wrote: In testapp.py, KParts want to reside in a KParts.MainWindow, not a KMainWindow. That means you'd need to provide an argument to createGUI as well, which would be the part being

Re: [PyKDE] Re: Speeding up PyKDE small app

2005-04-28 Thread Jim Bublitz
On Thursday 28 April 2005 05:31, Matej Cepl wrote: Jim Bublitz wrote: It's a PyQt app - if it were a PyKDE app it would probably load even slower :( Yeah, that's correct. :-) Short of doing something like preloading the dialog (and perhaps keeping it hidden) I don't think coding

Re: [PyKDE] KDE app template: Qt signal problem...

2005-04-26 Thread Jim Bublitz
On Tuesday 26 April 2005 06:00, Simon Edwards wrote: Hello, I'm having some trouble translating one of the kdevelop C++ application templates to Python. Setting up some signals from the HTML KPart to the application isn't working. Qt gives: QObject::connect: No such signal

Re: [PyKDE] KDE app template: Qt signal problem...

2005-04-26 Thread Jim Bublitz
On Tuesday 26 April 2005 11:25, Simon Edwards wrote: On Tuesday 26 April 2005 19:48, Jim Bublitz wrote: On Tuesday 26 April 2005 06:00, Simon Edwards wrote: Hello, I'm having some trouble translating one of the kdevelop C++ application templates to Python. Setting up some signals

Re: [PyKDE] KDE widgets

2005-04-13 Thread Jim Bublitz
On Wednesday 13 April 2005 10:38, Torsten Marek wrote: Hello all, right now I'm working on getting the KDE widgets into PyQtUI. Apart from listing them all in a file with their respective modules, what should be supported too: * creating a KApplication instead of a QApplication Look at

Re: [PyKDE] PyKE and KDE 3.4.0

2005-04-11 Thread Jim Bublitz
On Wednesday 06 April 2005 05:30, C Ginger wrote: Generating the C++ source for the kdecore module... sip: sip/kdecore/kshortcutlist.sip:85: There is already an enum in scope with th e same Python name Error: Unable to create the C++ code. In the file indicated, delete

Re: [review] [PyKDE] Undefined symbol (KDockWindow)

2005-04-11 Thread Jim Bublitz
On Monday 11 April 2005 11:19, Nicolas Girard wrote: Dear people, I'm desperating to make PyKDE work on a recent Mandrakelinux (a.k.a Mandriva) Cooker box ; I downloaded the latest snapshot and tried to compile it. Currently I'm stuck with an undefined symbol error messages, related to

Re: [PyKDE] PyKDE: Playing a video file

2005-04-11 Thread Jim Bublitz
On Monday 11 April 2005 15:33, Fabien Meghazi wrote: Hi all, I would like to play a video in a frame, the video could be mpeg, ffmpeg, xvid, ... or even a DVD source. Some time ago I heard about xine lib integration in KDE. I don't know if it was about a kpart integration or only the choice

Re: [review] [PyKDE] Using QDataStream

2005-04-06 Thread Jim Bublitz
On Tuesday 05 April 2005 17:39, Eron Lloyd wrote: Since pickle doesn't allow objects wrapping QObjects, I guess QDataStream is the next best bet. I haven't found any good examples of it in action, so was wondering if anyone has any suggestions. Basically I have a class that acts as a data

Re: [PyKDE] Language Overhead: C++ vs Python

2005-04-06 Thread Jim Bublitz
On Wednesday 06 April 2005 05:57, Torsten Marek wrote: Wido Depping schrieb: By the way, are there any Python-implemented widgets available on the net? There are some nice widgets in KDE (like Date selector), I would like to integrate into my application. But I don't want my application

Re: [PyKDE] pure virtual method called

2005-03-24 Thread Jim Bublitz
On Thursday 24 March 2005 11:05, Simon Edwards wrote: Hi all, If I play this this code (see attachment) I quickly run up against a crash or the message pure virtual method called and then a crash. I'm overriding createView(), but my version should right now behave exactly the same as the

Re: [PyKDE] boost::shared_ptr

2005-03-22 Thread Jim Bublitz
On Tuesday 22 March 2005 10:04, James Emerton wrote: On 22-Mar-05, at 12:23 AM, Jim Bublitz wrote: snip It seems to me Python is taking care of all of the ref counting in this case - there might be pathological cases where either the C++ instance of the template type or the Python

Re: [PyKDE] Undefined symbols (PyKDE-snapshot20050316)

2005-03-20 Thread Jim Bublitz
On Sunday 20 March 2005 09:52, Akos Polster wrote: So now I can build PyKDE with GCC 4.0 but I'm getting some undefined symbols while running (a slightly modified) importTest.py. What am I missing? Testing PyKDE module imports Modules built: dcop kdecore kdesu kdefx kdeui kio kutils

Re: [PyKDE] Ivalid cast (PyKDE-snapshot20050316, GCC 4)

2005-03-18 Thread Jim Bublitz
On Friday 18 March 2005 11:27, Akos Polster wrote: I'm getting this error while compiling PyKDE-snapshot20050316 on Linux with GCC 4.0: sip/kdecore/kurl.sip: In function PyObject* slot_KURL_List___add__(PyObject*, PyObject*): sip/kdecore/kurl.sip:348: error: invalid cast of an rvalue

Re: [PyKDE] Ivalid cast (PyKDE-snapshot20050316, GCC 4)

2005-03-18 Thread Jim Bublitz
On Friday 18 March 2005 13:46, Akos Polster wrote: ...and I have no SIP skills at all, so thanks for the clarification. This seems to satisfy GCC 4 and GCC 3.3.4 both: KURL::List operator + (const KURL::List); %MethodCode //returns (KURL.List) //takes listToAdd |

Re: [PyKDE] [PATCH] python dcop can't return linebreaked strings

2005-03-16 Thread Jim Bublitz
On Wednesday 16 March 2005 04:07, Sebastian Kgler wrote: Hi Simon, Attached is a patch that enables me to return strings containing linebreaks from dcop calls. I think it's pretty obvious and shouldn't cause harm. Are you the right person to merge this bit? Simon would be the one to add it

[PyKDE] PyKDE snapshot 20050316

2005-03-16 Thread Jim Bublitz
I'll be sending the next snapshot to Phil in a little while - it should be up at http://www.riverbankcomputing.co.uk/download/snapshots/PyKDE in the next few days. It has the following changes from the previous snapshot: 1. Fixed case problem in configure.py distro check (Mandrake only) 2.

Re: [PyKDE] New PyKDE snapshot 20050307

2005-03-14 Thread Jim Bublitz
On Thursday 10 March 2005 08:13, Tobias Powalowski wrote: hi would you be so kind and send me the new snapshot, i get compile errors with the current one and people on our forum need a new pykde version really soon. i tried it with latest pyqt and kde 3.4 final packages. --snip ake[1]:

Re: [PyKDE] Little article: data-aware widgets implemented in python

2005-03-09 Thread Jim Bublitz
On Wednesday 09 March 2005 21:13, Roberto Alsina wrote: I just wrote an article with an idea on how to implement data-aware widgets on the python side of PyQt, so you can, for example, use Python's DB APIs instead of Qt's. It's kinda nifty, if I may say so myself :-) Check it out:

Re: [PyKDE] KColorButton crashes

2005-03-08 Thread Jim Bublitz
On Tuesday 08 March 2005 03:55, Diez B. Roggisch wrote: Hi, I'm a happy camper with debian's pyqt packages - versions are python-sip 4.1.1-1 python-qt 3.13-4 python-kde 3.11.3-3 However, today I added my first KColorButton to my widget - and what can I say, it crashed with a segfault

Re: [PyKDE] Newbie PyQt question

2005-03-08 Thread Jim Bublitz
On Tuesday 08 March 2005 06:55, Andreas Pauley wrote: Hi all, I've started writing an app (point of sale) that needs to first show a login dialog (and succesfully authenticate a user) before showing the main window. I've managed to do this, but my program fails to exit and return to the

Re: [PyKDE] PyKDE-snapshot20050305 error

2005-03-08 Thread Jim Bublitz
On Tuesday 08 March 2005 13:05, tony wrote: Could I ask you a big favor? If you have some time, modify configure.py to add the two print stmts shown: def check_distribution (): dist = glob.glob (/etc/*-release) print dist =, dist # === add this print stmt (at original line

Re: [review] Re: [PyKDE] Trouble configuring on Mandrake

2005-03-07 Thread Jim Bublitz
On Saturday 05 March 2005 15:32, Greg Meyer wrote: On Saturday 05 March 2005 06:21 pm, Greg Meyer wrote: I am having trouble installing PyKDE on two machines.  One is a Mandrake 10.1 upgraded to KDE 3.3.2 and the other is a current Cooker with KDE 3.3.2.  In Sorry to use your bandwidth, I

Re: [PyKDE] Compiling sip 4.1.1, PyQt 3.13, PyKDE 3.11.3 on Solaris8micro-Howto

2005-03-07 Thread Jim Bublitz
On Monday 07 March 2005 01:13, Holger Joukl wrote: Giovanni wrote: ... Your GCC compiler is almost 6 years old now. Isn't about time to update it? It would probably solve this and other problems with C++ codebases.. Well, we are in the process of moving to a newer GCC. But we have quite a

Re: [PyKDE] New PyKDE snapshot 20050307

2005-03-07 Thread Jim Bublitz
On Sunday 06 March 2005 21:38, Jim Bublitz wrote: There's a new snapshot at http://www.riverbankcomputing.co.uk/download/snapshots/PyKDE. The changes are: 1. Fix kicontheme.h in extra/kde331 and extra/kde332 2. enum fixes to systray examples and templates Apparently Phil's away for a few

Re: [PyKDE] Painting one cell of a table

2005-03-06 Thread Jim Bublitz
On Saturday 05 March 2005 18:17, Jorge Godoy wrote: Hi, I'm trying to paint one cell in a table but the result is put on the wrong place. My code is: row = 2 col = 2 cg = QColorGroup() cg.setColor(QColorGroup.Base, Qt.red)

Re: [PyKDE] PyKDE 4.0.0 and gcc295 (on older FreeBSD branch)

2005-03-06 Thread Jim Bublitz
On Sunday 06 March 2005 17:38, Danny Pansters wrote: Hi, I attempt to maintain the FreeBSD port to sip, py-qt, py-kde, and have just updated the former two to their .1 versions, currently checking if py-kde still builds (latest snapshot). I have a few observations (small fixable things) and

[PyKDE] New PyKDE snapshot 20050307

2005-03-06 Thread Jim Bublitz
There's a new snapshot at http://www.riverbankcomputing.co.uk/download/snapshots/PyKDE. The changes are: 1. Fix kicontheme.h in extra/kde331 and extra/kde332 2. enum fixes to systray examples and templates Jim ___ PyKDE mailing list

[PyKDE] PyKDE 20050305 snapshot

2005-03-05 Thread Jim Bublitz
The next PyKDE snapshot is complete - I'm just waiting for a compile check on the tarball to finish. I probably won't send a copy to Phil until sometime tomorrow. This snapshot is actually the PyKDE 4.0.0 release, minus any bug fixes. The changes from the last snapshot include: 1. KDE 3.4.0

Re: [review] [PyKDE] Trouble configuring on Mandrake

2005-03-05 Thread Jim Bublitz
On Saturday 05 March 2005 15:21, Greg Meyer wrote: I am having trouble installing PyKDE on two machines. One is a Mandrake 10.1 upgraded to KDE 3.3.2 and the other is a current Cooker with KDE 3.3.2. In both cases PyQt, PyQt-devel, sip and sip-devel are installed. Both give similar errors

Re: [PyKDE] Compiling sip 4.1.1, PyQt 3.13, PyKDE 3.11.3 on Solaris 8micro-Howto

2005-03-04 Thread Jim Bublitz
/qt/qvaluelist..sip It's now in PyKDE/sip/dcop/typedefs.sip B.t.w.: Should be addressed in the latest PyKDE snapshot 20050301 announced by Jim Bublitz, but it is not up on riverbankcomputing.co.uk until now (?) Yeah - looks like Phil is away at the moment, so will probably be another few days

[PyKDE] Good news/Bad news

2005-03-04 Thread Jim Bublitz
The bad news is I made a dumb mistake when regenerating PyKDE for KDE 3.4.0. In the project file, I set the previous version number equal to the new version number, so no new stuff showed up. It looked like an error in the way enums were versioned, so I set off debugging that, and found the

Re: [PyKDE] PyKDE and KDE 3.4.0

2005-03-03 Thread Jim Bublitz
On Wednesday 02 March 2005 22:58, Simon Edwards wrote: On Thursday 03 March 2005 07:18, Jim Bublitz wrote: I just compiled the latest PyKDE snapshot (20050301) against KDE 3.4.0rc1 and it compiles without a hitch and seems to work fine (didn't test much though). In KDE CVS there have

Re: [PyKDE] PyKDE and KDE 3.4.0

2005-03-03 Thread Jim Bublitz
On Thursday 03 March 2005 10:25, Simon Edwards wrote: On Thursday 03 March 2005 17:15, Jim Bublitz wrote: I guess I'm not up to speed on this issue. Is this the __attribute__ stuff? maybe, symbol visibility means you can hide C++ symbols in shared libraries. i.e. private symbols are hidden

Re: [PyKDE] [RFC] [PATCH] Adding support for templated container types to sip

2005-03-02 Thread Jim Bublitz
On Wednesday 02 March 2005 11:39, Bryan O'Sullivan wrote: I've been working on a patch to sip 4.2 that adds support for templated container types. This lets sip automatically generate code to handle mapping between a templated C++ container type and a Python collection of the appropriate

[PyKDE] PyKDE and KDE 3.4.0

2005-03-02 Thread Jim Bublitz
I just compiled the latest PyKDE snapshot (20050301) against KDE 3.4.0rc1 and it compiles without a hitch and seems to work fine (didn't test much though). There's one other patch that I didn't apply to PyKDE - Bryan O'Sullivan's -L patch for 64 bit AMD compatibility. I'll try to get that into

Re: [PyKDE] Compiling PyKDE 3.11.3 on Solaris 8 fails

2005-03-01 Thread Jim Bublitz
On Tuesday 01 March 2005 04:43, Holger Joukl wrote: The actual KDE method signature is const QValueList pid_t pids() const;, and pid_t is typedef´ed to long on my machine. int and long are the same for 32bit I guess I a) could remove the method from kstartupinfo.sip b) Modifiy the

Re: [PyKDE] pykde 3.11.3 configure: How to set extra_defines, extra_cxxflags...

2005-03-01 Thread Jim Bublitz
On Tuesday 01 March 2005 06:55, Holger Joukl wrote: Hi, there seems no way to set the extra_define, extra_cxxflags, etc. parameters of the generate_code function when running configure.py. Or did I overlook s.th.? Does that mean the way to set such things is to modify my configure.py copy?

Re: [review] [PyKDE] PyKDE Error

2005-03-01 Thread Jim Bublitz
On Tuesday 01 March 2005 09:44, Marcelo Bovo wrote: Hi, Sorry to bother you but I haven't found any clue about this on the docs. I've compiled and installed succesfully PyQT and Sip, but when I try to configure the PyKDE sources for compilation I get this error sip:

Re: [PyKDE] KParts.URLArgs metaData() ?

2005-03-01 Thread Jim Bublitz
On Monday 28 February 2005 04:46, Mateusz Korniak wrote: dir(args): ['__class__', '__delattr__', '__doc__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__', '__weakref__', 'contentType', 'doPost',

[PyKDE] PyKDE Snapshot 20050301 Released

2005-03-01 Thread Jim Bublitz
I've sent off the latest PyKDE snapshot to Phil, so it should up at http://riverbankcomputing.co.uk/download/snapshots/PyKDE fairly soon. I'd appreciate it if people would download and test this snapshot - particularly Mandrake users, as there are some Mandrake-specific fixes. I've only tested

Re: [PyKDE] PyKDE application icon

2005-02-28 Thread Jim Bublitz
On Monday 28 February 2005 11:11, Akos Polster wrote: Hi, as a newbie to PyKDE and KDE in general, I'm trying to set the icon for an application with no luck (the default icon remains displayed). See the code below. What's wrong with it? I'm not sure if you can set the application icon in

Re: [review] Re: [PyKDE] kdepyuic in the KDE CVS?

2005-02-27 Thread Jim Bublitz
On Sunday 27 February 2005 01:28, Detlev Offenbach wrote: Am Sonntag, 27. Februar 2005 07:21 schrieb Matt T.: On Sunday 27 February 2005 00:21, Jim Bublitz wrote: On Saturday 26 February 2005 04:48, [EMAIL PROTECTED] wrote: On Saturday 26 February 2005 11:15 am, Joachim Werner wrote

Re: [PyKDE] kdepyuic in the KDE CVS?

2005-02-27 Thread Jim Bublitz
On Sunday 27 February 2005 10:32, Hans-Peter Jansen wrote: On Sunday 27 February 2005 18:28, Jim Bublitz wrote: Where would you like it installed - site-packages/, /usr/bin, /usr/local/bin, or ... ? I would vote for sipconfig.Configuration().default_bin_dir Good point, now that I'm

Re: [review] Re: [PyKDE] kdepyuic in the KDE CVS?

2005-02-26 Thread Jim Bublitz
On Saturday 26 February 2005 04:48, [EMAIL PROTECTED] wrote: On Saturday 26 February 2005 11:15 am, Joachim Werner wrote: Hi! Is kdepyuic missing in the PyKDE that comes with KDE or do I just not find it? Cheers Joachim had the same problem , its not in any of the related rpms

Re: [PyKDE] iterating over a QListView

2005-02-22 Thread Jim Bublitz
On Tuesday 22 February 2005 11:35, Christopher J. Bottaro wrote: Forgot to answer this: This question goes for all Qt iterator classes (i.e. are they turned into Python iterables by PyQt?). QlistViewItemIterator is implemented in PyQt - you'd have to check the PyQt docs for the others. Jim

Re: [PyKDE] iterating over a QListView

2005-02-22 Thread Jim Bublitz
On Tuesday 22 February 2005 11:35, Christopher J. Bottaro wrote: The C++ documentation shows this example: QPtrListQListViewItem lst; QListViewItemIterator it( myListView ); while ( it.current() ) { if ( it.current()-isSelected() ) lst.append( it.current() );

Re: [review] [PyKDE] PyQT module size

2005-02-18 Thread Jim Bublitz
On Friday 18 February 2005 06:38, Brian Thomason wrote: We've been using PyQT/PyKDE here at Linspire for some time now to develop a handful of applications. One of these is Lsongs, and it has grown quite large and has a very large memory footprint. We're trying to reduce this a bit in

Re: [PyKDE] PyQt v4 Roadmap

2005-02-17 Thread Jim Bublitz
On Thursday 17 February 2005 08:30, Phil Thompson wrote: Phil Thompson [EMAIL PROTECTED] wrote: The separate Qt v4 libraries will be wrapped as separate Python modules. The module names will be the same as the corresponding library (eg. QtCore, QtGui) and be grouped as a single Python

Re: [PyKDE] Providing DCOP methods

2005-02-17 Thread Jim Bublitz
On Thursday 17 February 2005 19:39, Paul Giannaros wrote: Hey I've been looking for information on connecting to DCOP and providing methods accessible over DCOP. I take it from what i've read in the mailing list archives and from what docs I could find on the subject such functionality is

Re: [PyKDE] PyKDE based programs in KDE Proper?

2005-02-12 Thread Jim Bublitz
On Saturday 12 February 2005 09:07, Adam wrote: Are PyKDE based programs are allowed in the official KDE distribution. I can only take a guess at that. PyKDE is now being maintained on KDE CVS as part of the kdebindings package, so I'd KDE would be willing to entertain the idea of including

Re: [PyKDE] Re: Qt/Windows announcement

2005-02-08 Thread Jim Bublitz
On Monday 07 February 2005 08:40, Phil Thompson wrote: Doug Bell wrote: If PyQt follows the same policy, it will be more than perfect for general purpose projects. It will, although I'm making no promises as to when PyQt for Qt v4 will be available. Just out of curiousity, are you

Re: [PyKDE] can't connect signal...

2005-02-05 Thread Jim Bublitz
On Saturday 05 February 2005 23:00, Christopher J. Bottaro wrote: I get a runtime exception when I try to execute the following code: --- def _initConnections(self): QObject.connect(self.list_view, SIGNAL(contextMenuRequested(QListViewItem*, QPoint, int)),

Re: [PyKDE] Re: where is KStdAccel::New?

2005-02-04 Thread Jim Bublitz
On Friday 04 February 2005 10:15, Christopher J. Bottaro wrote: Jim Bublitz wrote: This should work: from kdecore import KStdAccel from kdeui import KAction, KMainWindow Ahh, thank you...there it is! KStdAccel is in the kdecore section in the PyKDE docs (which just lists

Re: [PyKDE] How to add a Table Validator

2005-02-01 Thread Jim Bublitz
On Tuesday 01 February 2005 18:44, Steve Taetzsch wrote: I'm trying to port a Tkinter application to pyqt. It has a table that the user can enter dates in one column and I'd like to add a validator to the entry. I'd also would like to validate dollar amount entries in another column. After

Re: [PyKDE] Error report

2005-01-31 Thread Jim Bublitz
On Monday 31 January 2005 06:20, Michal Zachar wrote: Error: Couldn't locate KDE3 include directory (/usr is KDE base) This indicates configure.py is finding something that looks like the KDE base directory in /usr; apparently it should be /opt/kde-3.3.2. You may have an older KDE directory

Re: [PyKDE] Missing classes (sip-4.2rc1 and PyKDE-3.11.3)

2005-01-30 Thread Jim Bublitz
On Saturday 29 January 2005 13:42, David Boddie wrote: Has anyone else tried to use PyKDE with sip-4.2rc1 yet? My experience is that I can get the modules built and installed, but that not all of the classes are present when various modules are imported. For example, in kdecore, I find that

Re: [PyKDE] gentoo ebuild patch to compile agains kdelibs 3.3.2?

2005-01-25 Thread Jim Bublitz
On Tuesday 25 January 2005 15:28, Gustavo Barbieri wrote: Hello, Gentoo blocks pykde from compile if I use kdelibs 3.3.1, I tried to remove this restriction and compile pykde-3.11.3 bug got this error: Generating the C++ source for the kdecore module... sip: KLockFile::Ptr is undefined

Re: [review] [PyKDE] PyKDE 20050104 snapshot fails on Xandros3

2005-01-19 Thread Jim Bublitz
On Tuesday 18 January 2005 22:22, [EMAIL PROTECTED] wrote: Xandros 3.0 is a Debian/sarge based distribution with KDE 3.3. The 3.11.3-xandros3.1 designation is my own, and is temporary until I can get it to compile. It seems to be horking in building kdeui looking for 'qlist.h'.

Re: [PyKDE] KDE 3.4beta1 (no) support

2005-01-14 Thread Jim Bublitz
On Friday 14 January 2005 10:57, Simon Edwards wrote: On Friday 14 January 2005 08:52, Jim Bublitz wrote: Right now I'm shooting for cleaning some remaining PyKDE problems/requests and being ready to release a 3.4 compatible version as close to the shceduled mid-March 3.4.0 release

[PyKDE] KDE 3.4beta1 (no) support

2005-01-13 Thread Jim Bublitz
I'm not planning on releasing anything for the KDE 3.4 betas (beta1 just released). The principal changes that affect PyKDE are mostly khtml related, and I'm not aware that there are a lot of people using that module. The remaining changes to kdelibs (the only ones that affect PyKDE) aren't

Re: [PyKDE] Method returning a QObject instance instead of QHeader

2005-01-12 Thread Jim Bublitz
On Wednesday 12 January 2005 12:47, Bruno da Silva de Oliveira wrote: I'm having a problem that I hope someone can provide an answer. I'm subclassing QTable, and I install an event filter in its vertical QHeader instance. When I catch a mouse double click event inside the event filter,

Re: [review] [PyKDE] PyKDE 3.11.3 compilation problems

2005-01-11 Thread Jim Bublitz
On Monday 10 January 2005 15:23, Andrzej Szelachowski wrote: KDE version is 3.3.2 (0x30302) PyKDE 3.13 as released won't build against KDE 3.3.2. Instead, try the PyKDE snapshot, which is in the riverbankcomputing.co.uk Downloads section at snapshots/PyKDE. The snapshot is essentially a

Re: [PyKDE] QScintilla Lexers

2005-01-10 Thread Jim Bublitz
On Monday 10 January 2005 15:38, yawber wrote: If I was writing a Qt app in C++ which used QScintilla, I could just go ahead and sub-class QextScintillaLexer without any problems. But because I'm a Python programmer using QScintilla via PyQt, I can't. PyQt includes a sip binding for

Re: [PyKDE] PyKDE snapshot for KDE 3.3.2/recent sip

2005-01-04 Thread Jim Bublitz
On Tuesday 04 January 2005 10:15, Michael Franz Aigner wrote: The include files not found are kkeyserver_x11.h, kaccelaction.h and kaccelbase.h. I investigated already a bit in the problem, and found that these files are listed in the KDE Makefiles under noinst_HEADERS:

[PyKDE] PyKDE snapshot for KDE 3.3.2/recent sip

2005-01-03 Thread Jim Bublitz
I've just sent a PyKDE snapshot (PyKDE-snapshot20050103.tar.gz) to Phil for posting at riverbankcomputing.co.uk. It should end up at: http://www.river-bank.demon.co.uk/download/snapshots/PyKDE/ This PyKDE snapshot will build against the most recent sip and PyQt snapshots as well as the

Re: [PyKDE] KDialogBase bug(?) with IconList and TreeList dialogFace

2004-12-28 Thread Jim Bublitz
On Tuesday 28 December 2004 11:25, Matt T. wrote: a = QApplication(sys.argv) Use KApplication instead of QApplication - works for me. Jim ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Re: [PyKDE] KDialogBase bug(?) with IconList and TreeList dialogFace

2004-12-28 Thread Jim Bublitz
On Tuesday 28 December 2004 21:15, Matt T. wrote: On Wednesday 29 December 2004 06:49, Jim Bublitz wrote: On Tuesday 28 December 2004 11:25, Matt T. wrote: a = QApplication(sys.argv) Use KApplication instead of QApplication - works for me. yes, stupid me, of course, that was it. THANKS

Re: [PyKDE] PyKDE compatibility with KDE 3.3.2?

2004-12-18 Thread Jim Bublitz
On Saturday 18 December 2004 00:05, Jared Thirsk wrote: I should have sent this to the list earlier... Jim, thanks for your response. As you can see, I've got it working using Nick's suggestion below. Jared -- Forwarded Message -- Subject: Re: [PyKDE] PyKDE

Re: [PyKDE] PyKDE compatibility with KDE 3.3.2?

2004-12-17 Thread Jim Bublitz
On Friday 17 December 2004 17:57, Jared Thirsk wrote: Hey all, This is probably a known issue and I don't mean to rush anyone but I thought I'd bring it up since I don't think anyone else has. I've got KDE 3.3.2 (and don't want to downgrade), and pykde-3.11.3 (Gentoo refuses to combine

Re:[PyKDE] pyKDE / KPIM libraries

2004-12-14 Thread Jim Bublitz
On Tuesday 14 December 2004 06:39, Richard Taylor wrote: Are there any python wrappers for the KPIM libaries? I would like to be able to access the Address Book and KMail libraries from a pyKDE application. My apologies if the answer to this should be staring me in the face. I have been

Re: [PyKDE] Using KParts

2004-12-13 Thread Jim Bublitz
On Sunday 12 December 2004 17:38, Troy Melhase wrote: On Thursday 09 December 2004 10:26 pm, Patrick Stinson wrote: kparts.createReadWritePart('kwritepart') # can't remember the exact syntax This has worked for me in the past: from kio import KTrader from kparts import

Re: [PyKDE] Using KParts

2004-12-12 Thread Jim Bublitz
On Thursday 09 December 2004 23:26, Patrick Stinson wrote: I am writing a small application to organize 3D-animated povray widgets into python packages for PyQT. (check out the results: http://pksampler.sf.net/) want to embed a kwrite editor window into the app in order to use its terrific

Re: [PyKDE] kio.move and kio.copy missing?

2004-12-06 Thread Jim Bublitz
On Thursday 02 December 2004 14:10, Maurizio Colucci wrote: Hello there, I cannot find the static methods kio.copy and kio.move in PyKDE 3.11.3. Sad news for my file manager... :) Is there some equivalent technique? I can't find them either - do you know where in kio they exist? I'd

Re: Easy installation (was: [PyKDE] PyKDE on mandrake 10.1?)

2004-11-27 Thread Jim Bublitz
On Saturday 27 November 2004 12:19, Simon Edwards wrote: Speaking of RPMs for Mandrake, I've got a related question. How many people are using the version of KDE that comes with 10.1 (3.2) versus KDE 3.3? I'm mainly asking because the stuff I've been working on is at the stage where I want

[PyKDE] Problems with PyKDE/KDE 3.3.1

2004-11-27 Thread Jim Bublitz
There have been a couple problems with people trying to build PyKDE against KDE 3.3.1. The source of the problem is that PyKDE doesn't know what files to add to its base set of files for KDE 3.3.1. I suggested one fix, which was to edit kdeversion.h to make PyKDE think it's still building

Re: [PyKDE] Minimum KDE for PyKDE?

2004-11-25 Thread Jim Bublitz
On Wednesday 24 November 2004 22:29, Bret Wortman wrote: I'm looking to build PyKDE on a server that has no GUI currently installed. For various reasons, I want to build everything from source. I know I'll need kdelibs and probably kdebase; what other KDE source tarballs do I need to build

Re: [review] [PyKDE] Problems with PyKDE! Please let me know. Thanks.

2004-11-19 Thread Jim Bublitz
On Tuesday 16 November 2004 08:45, Rocco Orlando Rossi wrote: KDE version is 3.3.1 (0x30301) Generating the C++ source for the kdecore module... sip: KCalendarSystem is undefined Error: Unable to create the C++ code. There's apparently an error in the way configure.py is generating files

Re: [review] [PyKDE] Compile error - pykde 3.11.3

2004-11-07 Thread Jim Bublitz
On Sunday 07 November 2004 00:29, Oliver Schenk wrote: Hi, Im quite new to this but following installation instructions i came across a compile error while running make for pykde. PyKDE version 3.11.3 Debian 3.1 testing (2.6.8 kernel) KDE 3.2.3 Make 3.80 g++ -c

Re: [PyKDE] kio.KRecentDocument? kio.KRecentDirs ?

2004-11-04 Thread Jim Bublitz
On Thursday 04 November 2004 12:07, Maurizio Colucci wrote: Hello, Yoday I sadly discovered that PyKDE (3.11.3) does not recognize kio.KRecentDocument and kio.KRecentDirs. I was really relying on those classes for my application (http://onefinger.sf.net). Is there any particular reason

Re: [PyKDE] Error compiling PyKDE

2004-10-15 Thread Jim Bublitz
On Friday 15 October 2004 00:00, Gerard Vermeulen wrote: Comment out (put // in front of) void setFileName in the lines %If ( - KDE_3_3_0 ) KCatalogue (const QString = QString ::null ); void setFileName (const QString); %End };

Re: [PyKDE] Error compiling PyKDE

2004-10-15 Thread Jim Bublitz
On Friday 15 October 2004 00:36, Maurizio Colucci wrote: Gerard Vermeulen wrote: Comment out (put // in front of) void setFileName in the lines %If ( - KDE_3_3_0 ) KCatalogue (const QString = QString ::null ); void setFileName (const QString);

[PyKDE] Need User Input

2004-10-15 Thread Jim Bublitz
Roberto Alsina pointed out to me that some distributions identify themselves in /etc/*release files. For example, on my system I have /etc/SuSE-release and /etc/lsb-release files. Could a few people check and see if other distributions do the same, and which of the files are present?

Re: [PyKDE] Error compiling PyKDE

2004-10-15 Thread Jim Bublitz
On Friday 15 October 2004 10:48, [EMAIL PROTECTED] wrote: Sorry, Jim. I was too fast with finger pointing. A look in the Mandrake patches for KDE-3.2.3 confirms that Mandrake changed the API of their header files. It comes as a shock to me that a distribution can change the API that much

Re: [PyKDE] PyKDE version 3.11.3 configure

2004-10-10 Thread Jim Bublitz
On Saturday 09 October 2004 02:27, Peter Landgren wrote: KDE version is 3.2.0 (0x30200) Generating the C++ source for the kdeui module... sip: sip/kdeui/kactioncollection.sip:105: A function with the same Python signature has already been defined Error: Unable to create the C++ code. This

Re: [PyKDE] Patch to get PyKDE building on AMD64

2004-10-06 Thread Jim Bublitz
On Wednesday 06 October 2004 20:37, Bryan O'Sullivan wrote: PyKDE's configure.py script needs some tweaking to work properly on an AMD64 machine. This patch adds a -L option, which specifies the name of the library directory to use (on 32-bit machines it's lib, but on 64-bit machines it

Re: [PyKDE] Error with PyKDE

2004-10-05 Thread Jim Bublitz
On Tuesday 05 October 2004 09:14, Michel Stiven Cetina Cittelly wrote: Damn guys's, i see the atach but don't have the error mesaggesorry: sip: sip/kdeui/kactioncollection.sip:105: A function with the same Python signature has already been defined Error: Unable to create the C++ code.

Re: [PyKDE] Fwd: Error with PyKDE

2004-10-04 Thread Jim Bublitz
On Monday 04 October 2004 20:34, Michel Stiven Cetina Cittelly wrote: Sorry guy's, i have a little problem with my konqueror...i atach again the output...and againthx :D Hi, i'm from colombia and now i'm installing pykde to run slickbar...a cool and very good application for the use of

<    1   2   3   4   5   6   7   >