~neon/pykde4/master

« back to all changes in this revision

Viewing changes to sip/ktexteditor/movinginterface.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 MovingInterface
 
23
{
 
24
%TypeHeaderCode
 
25
#include <ktexteditor/movinginterface.h>
 
26
%End
 
27
 
 
28
public:
 
29
                            MovingInterface ();
 
30
    virtual ~MovingInterface ();
 
31
    virtual KTextEditor::MovingCursor*  newMovingCursor (const KTextEditor::Cursor& position, KTextEditor::MovingCursor::InsertBehavior insertBehavior = KTextEditor::MovingCursor::MoveOnInsert)=0;
 
32
    virtual KTextEditor::MovingRange*  newMovingRange (const KTextEditor::Range& range, KTextEditor::MovingRange::InsertBehaviors insertBehaviors = KTextEditor::MovingRange::DoNotExpand, KTextEditor::MovingRange::EmptyBehavior emptyBehavior = KTextEditor::MovingRange::AllowEmpty)=0;
 
33
    virtual qint64          revision () const=0;
 
34
    virtual qint64          lastSavedRevision () const=0;
 
35
    virtual void            lockRevision (qint64 revision)=0;
 
36
    virtual void            unlockRevision (qint64 revision)=0;
 
37
    virtual void            transformCursor (KTextEditor::Cursor& cursor, KTextEditor::MovingCursor::InsertBehavior insertBehavior, qint64 fromRevision, qint64 toRevision = -1)=0;
 
38
    virtual void            transformCursor (int& line, int& column, KTextEditor::MovingCursor::InsertBehavior insertBehavior, qint64 fromRevision, qint64 toRevision = -1)=0;
 
39
    virtual void            transformRange (KTextEditor::Range& range, KTextEditor::MovingRange::InsertBehaviors insertBehaviors, KTextEditor::MovingRange::EmptyBehavior emptyBehavior, qint64 fromRevision, qint64 toRevision = -1)=0;
 
40
//ig    void                    aboutToDeleteMovingInterfaceContent (KTextEditor::Document* document);
 
41
//ig    void                    aboutToInvalidateMovingInterfaceContent (KTextEditor::Document* document);
 
42
};
 
43
};