~neon/pykde4/master

1 by Simon Edwards
1
//
59.1.4 by Simon Edwards
Updated with fresher generated sip files from Jim. This is using Jim's new tool (hence the large diff) and hopefully fixes some of the problems with kconfig and friends. Also cleaned up and removed some older cruff.
2
//     Copyright 2008 Jim Bublitz <jbublitz@nwinternet.com>
3
//     Earlier copyrights 1998 - 2007 Jim Bublitz also apply
4
5
//                 Generated by twine
1 by Simon Edwards
6
7
// This file is part of PyKDE4.
8
9
// PyKDE4 is free software; you can redistribute it and/or modify
10
// it under the terms of the GNU Lesser General Public License as
11
// published by the Free Software Foundation; either version 2.1 of
12
// the License, or (at your option) any later version.
13
14
// PyKDE4 is distributed in the hope that it will be useful,
15
// but WITHOUT ANY WARRANTY; without even the implied warranty of
16
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
// GNU General Public License for more details.
18
19
// You should have received a copy of the GNU General Public License
20
// along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
22
namespace KIO
23
{
24
8 by Simon Edwards
Merged in a lot of updates to the sip files from Jim.
25
class FileJob : KIO::SimpleJob
1 by Simon Edwards
26
{
27
%TypeHeaderCode
28
#include <filejob.h>
29
%End
30
31
32
public:
59.1.4 by Simon Edwards
Updated with fresher generated sip files from Jim. This is using Jim's new tool (hence the large diff) and hopefully fixes some of the problems with kconfig and friends. Also cleaned up and removed some older cruff.
33
    void                    read (KIO::filesize_t size);
34
    void                    write (const QByteArray& data);
35
    void                    close ();
36
    void                    seek (KIO::filesize_t offset);
37
    KIO::filesize_t         size ();
1 by Simon Edwards
38
39
signals:
59.1.4 by Simon Edwards
Updated with fresher generated sip files from Jim. This is using Jim's new tool (hence the large diff) and hopefully fixes some of the problems with kconfig and friends. Also cleaned up and removed some older cruff.
40
    void                    data (KIO::Job* job, const QByteArray& data);
41
    void                    redirection (KIO::Job* job, const KUrl& url);
42
    void                    mimetype (KIO::Job* job, const QString& type);
43
    void                    open (KIO::Job* job);
44
    void                    written (KIO::Job* job, KIO::filesize_t written);
45
    void                    close (KIO::Job* job);
46
    void                    position (KIO::Job* job, KIO::filesize_t offset);
1 by Simon Edwards
47
48
protected:
229 by Simon Edwards
Updated formatting with twine2 tool (in development).
49
//ig                            FileJob (FileJobPrivate& dd);
50
51
52
private:
8 by Simon Edwards
Merged in a lot of updates to the sip files from Jim.
53
//force
59.1.4 by Simon Edwards
Updated with fresher generated sip files from Jim. This is using Jim's new tool (hence the large diff) and hopefully fixes some of the problems with kconfig and friends. Also cleaned up and removed some older cruff.
54
                            FileJob ();
229 by Simon Edwards
Updated formatting with twine2 tool (in development).
55
8 by Simon Edwards
Merged in a lot of updates to the sip files from Jim.
56
//end
229 by Simon Edwards
Updated formatting with twine2 tool (in development).
57
public:
58
    ~FileJob ();
59
};
60
// FileJob
61
62
};
63
// KIO
59.1.4 by Simon Edwards
Updated with fresher generated sip files from Jim. This is using Jim's new tool (hence the large diff) and hopefully fixes some of the problems with kconfig and friends. Also cleaned up and removed some older cruff.
64
1 by Simon Edwards
65