~neon/pykde4/master

« back to all changes in this revision

Viewing changes to sip/kio/kurlrequester.sip

  • Committer: Simon Edwards
  • Date: 2007-09-02 19:43:19 UTC
  • Revision ID: git-v1:6b8df0c7009f6b218f54589a9bc313cd8c4f82b9

Initial drop of PyKDE4 - Python bindings for the KDE API. See the README file
for more info about the current state of PyKDE4.


svn path=/trunk/KDE/kdebindings/python/pykde4/; revision=707731

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
//     Copyright 2007 Jim Bublitz <jbublitz@nwinternet.com>
 
3
//     Earlier copyrights 1998 - 2006 Jim Bublitz also apply
 
4
 
 
5
 
 
6
//                 Generated by preSip
 
7
//            PyKDE4 module kio  version KDE 3.92.0
 
8
 
 
9
 
 
10
// This file is part of PyKDE4.
 
11
 
 
12
// PyKDE4 is free software; you can redistribute it and/or modify
 
13
// it under the terms of the GNU Lesser General Public License as
 
14
// published by the Free Software Foundation; either version 2.1 of
 
15
// the License, or (at your option) any later version.
 
16
 
 
17
// PyKDE4 is distributed in the hope that it will be useful,
 
18
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
19
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
20
// GNU General Public License for more details.
 
21
 
 
22
// You should have received a copy of the GNU General Public License
 
23
// along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
24
 
 
25
 
 
26
class KUrlRequester : KHBox
 
27
{
 
28
%TypeHeaderCode
 
29
#include <kurlrequester.h>
 
30
%End
 
31
 
 
32
 
 
33
public:
 
34
                         KUrlRequester (QWidget* /TransferThis/ = 0);
 
35
                         KUrlRequester (const KUrl&, QWidget* /TransferThis/ = 0);
 
36
                         KUrlRequester (QWidget*, QWidget* /TransferThis/);
 
37
    KUrl                 url () const;
 
38
    void                 setMode (KFile::Modes);
 
39
    KFile::Modes         mode () const;
 
40
    void                 setFilter (const QString&);
 
41
    QString              filter () const;
 
42
    virtual KFileDialog* fileDialog () const;
 
43
    KLineEdit*           lineEdit () const;
 
44
    KComboBox*           comboBox () const;
 
45
    KPushButton*         button () const;
 
46
    KUrlCompletion*      completionObject () const;
 
47
    const KEditListBox::CustomEditor& customEditor ();
 
48
 
 
49
public slots:
 
50
    void                 setUrl (const KUrl&);
 
51
    void                 setPath (const QString&);
 
52
    void                 clear ();
 
53
 
 
54
signals:
 
55
    void                 textChanged (const QString&);
 
56
    void                 returnPressed ();
 
57
    void                 returnPressed (const QString&);
 
58
    void                 openFileDialog (KUrlRequester*);
 
59
    void                 urlSelected (const KUrl&);
 
60
 
 
61
protected:
 
62
    void                 init ();
 
63
 
 
64
protected slots:
 
65
    void                 slotOpenDialog ();
 
66
 
 
67
protected:
 
68
    virtual void         changeEvent (QEvent*);
 
69
    bool                 eventFilter (QObject*, QEvent*);
 
70
 
 
71
private:
 
72
                         KUrlRequester (const KUrlRequester&) [()];
 
73
 
 
74
};  // class KUrlRequester
 
75
 
 
76
 
 
77
class KUrlComboRequester : KUrlRequester
 
78
{
 
79
%TypeHeaderCode
 
80
#include <kurlrequester.h>
 
81
%End
 
82
 
 
83
 
 
84
public:
 
85
                         KUrlComboRequester (QWidget* /TransferThis/ = 0);
 
86
 
 
87
};  // class KUrlComboRequester
 
88