[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [pykde4] sip/ktexteditor: Some more ktexteditor updates regarding implemented interfaces.
From: Simon Edwards <simon () simonzone ! com>
Date: 2013-06-11 19:13:09
Message-ID: 20130611191309.84249A605A () git ! kde ! org
[Download RAW message or body]
Git commit 33c615682325245a1238184aa3821e6ac057d4b5 by Simon Edwards.
Committed on 11/06/2013 at 21:12.
Pushed by sedwards into branch 'master'.
Some more ktexteditor updates regarding implemented interfaces.
M +1 -21 sip/ktexteditor/document.sip
M +2 -2 sip/ktexteditor/view.sip
http://commits.kde.org/pykde4/33c615682325245a1238184aa3821e6ac057d4b5
diff --git a/sip/ktexteditor/document.sip b/sip/ktexteditor/document.sip
index 26c0c7c..7dda5f9 100644
--- a/sip/ktexteditor/document.sip
+++ b/sip/ktexteditor/document.sip
@@ -43,6 +43,7 @@ class Document : KParts::ReadWritePart
#include <ktexteditor/modeinterface.h>
#include <ktexteditor/sessionconfiginterface.h>
#include <ktexteditor/recoveryinterface.h>
+
%End
@@ -170,20 +171,6 @@ public:
Py_END_ALLOW_THREADS
%End
- KTextEditor::TemplateInterface *templateInterface();
-%MethodCode
- Py_BEGIN_ALLOW_THREADS
- sipRes = dynamic_cast<KTextEditor::TemplateInterface*>(sipCpp);
- Py_END_ALLOW_THREADS
-%End
-
- KTextEditor::TextHintInterface *textHintInterface();
-%MethodCode
- Py_BEGIN_ALLOW_THREADS
- sipRes = dynamic_cast<KTextEditor::TextHintInterface*>(sipCpp);
- Py_END_ALLOW_THREADS
-%End
-
KTextEditor::VariableInterface *variableInterface();
%MethodCode
Py_BEGIN_ALLOW_THREADS
@@ -212,13 +199,6 @@ public:
Py_END_ALLOW_THREADS
%End
- KTextEditor::ModeInterface *modeInterface();
-%MethodCode
- Py_BEGIN_ALLOW_THREADS
- sipRes = dynamic_cast<KTextEditor::ModeInterface*>(sipCpp);
- Py_END_ALLOW_THREADS
-%End
-
KTextEditor::ParameterizedSessionConfigInterface *parameterizedSessionConfigInterface();
%MethodCode
Py_BEGIN_ALLOW_THREADS
diff --git a/sip/ktexteditor/view.sip b/sip/ktexteditor/view.sip
index dde5865..76f749b 100644
--- a/sip/ktexteditor/view.sip
+++ b/sip/ktexteditor/view.sip
@@ -130,10 +130,10 @@ public:
Py_END_ALLOW_THREADS
%End
- KTextEditor::AnnotationInterface *annotationInterface();
+ KTextEditor::AnnotationViewInterface *annotationViewInterface();
%MethodCode
Py_BEGIN_ALLOW_THREADS
- sipRes = dynamic_cast<KTextEditor::AnnotationInterface*>(sipCpp);
+ sipRes = dynamic_cast<KTextEditor::AnnotationViewInterface*>(sipCpp);
Py_END_ALLOW_THREADS
%End
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic