~neon/pykde4/master

« back to all changes in this revision

Viewing changes to sip/ktexteditor/smartrangenotifier.sip

  • Committer: Simon Edwards
  • Date: 2013-05-17 19:15:12 UTC
  • Revision ID: git-v1:a46160bff9c0346159e2d50fd33680a25403b964
Updated the ktexteditor bindings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright 2011 Simon Edwards <simon@simonzone.com>
 
2
 
 
3
//                 Generated by twine2
 
4
 
 
5
// This program is free software; you can redistribute it and/or modify
 
6
// it under the terms of the GNU Library General Public License as
 
7
// published by the Free Software Foundation; either version 2, or
 
8
// (at your option) any later version.
 
9
 
 
10
// This program is distributed in the hope that it will be useful,
 
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
// GNU General Public License for more details
 
14
 
 
15
// You should have received a copy of the GNU Library General Public
 
16
// License along with this program; if not, write to the
 
17
// Free Software Foundation, Inc.,
 
18
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
19
 
 
20
namespace KTextEditor
 
21
{
 
22
class SmartRangeNotifier : QObject
 
23
{
 
24
%TypeHeaderCode
 
25
#include <ktexteditor/smartrangenotifier.h>
 
26
%End
 
27
 
 
28
public:
 
29
                            SmartRangeNotifier ();
 
30
    bool                    wantsDirectChanges () const;
 
31
    void                    setWantsDirectChanges (bool wantsDirectChanges);
 
32
signals:
 
33
    void                    rangePositionChanged (KTextEditor::SmartRange* range);
 
34
    void                    rangeContentsChanged (KTextEditor::SmartRange* range);
 
35
    void                    rangeContentsChanged (KTextEditor::SmartRange* range, KTextEditor::SmartRange* mostSpecificChild);
 
36
    void                    mouseEnteredRange (KTextEditor::SmartRange* range, KTextEditor::View* view);
 
37
    void                    mouseExitedRange (KTextEditor::SmartRange* range, KTextEditor::View* view);
 
38
    void                    caretEnteredRange (KTextEditor::SmartRange* range, KTextEditor::View* view);
 
39
    void                    caretExitedRange (KTextEditor::SmartRange* range, KTextEditor::View* view);
 
40
    void                    rangeEliminated (KTextEditor::SmartRange* range);
 
41
    void                    rangeDeleted (KTextEditor::SmartRange* range);
 
42
    void                    parentRangeChanged (KTextEditor::SmartRange* range, KTextEditor::SmartRange* newParent, KTextEditor::SmartRange* oldParent);
 
43
    void                    childRangeInserted (KTextEditor::SmartRange* range, KTextEditor::SmartRange* child);
 
44
    void                    childRangeRemoved (KTextEditor::SmartRange* range, KTextEditor::SmartRange* child);
 
45
    void                    rangeAttributeChanged (KTextEditor::SmartRange* range, KTextEditor::Attribute::Ptr currentAttribute, KTextEditor::Attribute::Ptr previousAttribute);
 
46
};
 
47
};