texteditor: directly call completion instead using ITextEditor interface

Reviewed-By: con
This commit is contained in:
hjk
2011-02-22 16:41:23 +01:00
parent e81e732452
commit 3e7d9bdeff
4 changed files with 3 additions and 21 deletions

View File

@@ -155,9 +155,6 @@ public:
BaseTextEditor *editor() const;
ITextMarkable *markableInterface() const;
virtual void triggerCompletions();
virtual void triggerQuickFix();
QChar characterAt(int pos) const;
void print(QPrinter *);
@@ -584,9 +581,6 @@ public:
QString textAt(int pos, int length) const;
inline QChar characterAt(int pos) const { return e->characterAt(pos); }
inline void triggerCompletions() { e->triggerCompletions(); } // slot?
inline void triggerQuickFix() { e->triggerQuickFix(); } // slot?
inline ITextMarkable *markableInterface() { return e->markableInterface(); }
void setContextHelpId(const QString &id) { m_contextHelpId = id; }