~ubuntu-branches/ubuntu/karmic/python-kde3/karmic

« back to all changes in this revision

Viewing changes to sip/kfile/kfilebookmark.sip

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2006-11-22 19:03:34 UTC
  • mfrom: (1.1.5 upstream) (3.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20061122190334-z7nhzu4dca926iam
Tags: 3.16.0-0ubuntu1
* New upstream release
* Build-depend on pyqt 3.17 and sip 4.5
* Add build-depends on /usr/lib/kde3/libkonsolepart.so
* Don't build for python 2.5, it fails to build
* Merge with Debian, remaining change:
  - kubuntu_01_dcop.diff patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    const QString        getText ();
49
49
    const QString        getURL ();
50
50
    int                  getType ();
51
 
    QList<KFileBookmark>& getChildren ();
 
51
    QPtrList<KFileBookmark>& getChildren ();
52
52
 
53
53
};  // class KFileBookmark
54
54
 
82
82
 
83
83
 
84
84
 
85
 
%MappedType QList<KFileBookmark>
 
85
%MappedType QPtrList<KFileBookmark>
86
86
//converts a Python list of KFileBookmark
87
87
{
88
88
%TypeHeaderCode
89
 
#include <qlist.h>
 
89
#include <qptrlist.h>
90
90
%End
91
91
 
92
92
%ConvertFromTypeCode
102
102
 
103
103
    // Get it.
104
104
 
105
 
    QList<KFileBookmark> *cpplist = (QList<KFileBookmark> *)sipCpp;
 
105
    QPtrList<KFileBookmark> *cpplist = (QPtrList<KFileBookmark> *)sipCpp;
106
106
    KFileBookmark *cpp;
107
107
    PyObject *inst;
108
108
 
124
124
    if (sipIsErr == NULL)
125
125
        return PyList_Check(sipPy);
126
126
 
127
 
    QList<KFileBookmark> *cpplist = new QList<KFileBookmark>;
 
127
    QPtrList<KFileBookmark> *cpplist = new QPtrList<KFileBookmark>;
128
128
 
129
129
    PyObject *elem;
130
130
    KFileBookmark *cpp;