KDevelop API Documentation

QEditorArgHint Class Reference

#include <qeditor_arghint.h>

Inheritance diagram for QEditorArgHint:

QFrame List of all members.

Public Slots

virtual void reset (int, int)
virtual void cursorPositionChanged (QEditorView *, int, int)

Signals

void argHintHidden ()

Public Member Functions

 QEditorArgHint (QEditorView *=0, const char *=0)
virtual ~QEditorArgHint ()
virtual void setCurrentFunction (int)
virtual int currentFunction () const
void setArgMarkInfos (const QString &, const QString &)
virtual void addFunction (int, const QString &)
QString functionAt (int id) const
virtual void show ()
virtual void adjustSize ()
virtual bool eventFilter (QObject *, QEvent *)

Private Slots

void slotDone ()

Private Attributes

QMap< int, QStringm_functionMap
int m_currentFunction
QString m_wrapping
QString m_delimiter
bool m_markCurrentFunction
int m_currentLine
int m_currentCol
QEditorArgHintDatad

Constructor & Destructor Documentation

QEditorArgHint::QEditorArgHint QEditorView = 0,
const char *  = 0
 

Definition at line 41 of file qeditor_arghint.cpp.

References d, QEditorArgHintData::editorView, QEditorArgHintData::labelDict, QEditorArgHintData::layout, m_markCurrentFunction, QEditorArgHint(), and reset().

Referenced by QEditorArgHint().

QEditorArgHint::~QEditorArgHint  )  [virtual]
 

Definition at line 60 of file qeditor_arghint.cpp.

References d.


Member Function Documentation

void QEditorArgHint::addFunction int  ,
const QString
[virtual]
 

Definition at line 132 of file qeditor_arghint.cpp.

References addFunction(), d, QEditorArgHintData::labelDict, m_currentFunction, m_functionMap, and setCurrentFunction().

Referenced by addFunction(), and QEditorCodeCompletion::showArgHint().

void QEditorArgHint::adjustSize  )  [virtual]
 

Definition at line 199 of file qeditor_arghint.cpp.

Referenced by setCurrentFunction(), and show().

void QEditorArgHint::argHintHidden  )  [signal]
 

Referenced by slotDone().

virtual int QEditorArgHint::currentFunction  )  const [inline, virtual]
 

Definition at line 36 of file qeditor_arghint.h.

References m_currentFunction.

Referenced by eventFilter().

void QEditorArgHint::cursorPositionChanged QEditorView ,
int  ,
int 
[virtual, slot]
 

Definition at line 92 of file qeditor_arghint.cpp.

References cursorPositionChanged(), QEditorView::doc(), m_currentCol, m_currentLine, m_delimiter, m_wrapping, slotDone(), text(), and QEditorPart::textLine().

Referenced by cursorPositionChanged(), and QEditorCodeCompletion::slotCursorPosChanged().

bool QEditorArgHint::eventFilter QObject ,
QEvent
[virtual]
 

Definition at line 178 of file qeditor_arghint.cpp.

References currentFunction(), eventFilter(), setCurrentFunction(), and slotDone().

Referenced by eventFilter().

QString QEditorArgHint::functionAt int  id  )  const [inline]
 

Definition at line 41 of file qeditor_arghint.h.

References functionAt(), and m_functionMap.

Referenced by functionAt().

void QEditorArgHint::reset int  ,
int 
[virtual, slot]
 

Definition at line 73 of file qeditor_arghint.cpp.

References d, QEditorArgHintData::labelDict, m_currentCol, m_currentFunction, m_currentLine, m_functionMap, and reset().

Referenced by QEditorArgHint(), reset(), and QEditorCodeCompletion::showArgHint().

void QEditorArgHint::setArgMarkInfos const QString ,
const QString
 

Definition at line 66 of file qeditor_arghint.cpp.

References m_delimiter, m_markCurrentFunction, m_wrapping, and setArgMarkInfos().

Referenced by setArgMarkInfos(), and QEditorCodeCompletion::showArgHint().

void QEditorArgHint::setCurrentFunction int   )  [virtual]
 

Definition at line 144 of file qeditor_arghint.cpp.

References adjustSize(), d, QEditorArgHintData::labelDict, m_currentFunction, m_functionMap, m_markCurrentFunction, and setCurrentFunction().

Referenced by addFunction(), eventFilter(), and setCurrentFunction().

void QEditorArgHint::show  )  [virtual]
 

Definition at line 172 of file qeditor_arghint.cpp.

References adjustSize().

Referenced by QEditorCodeCompletion::showArgHint().

void QEditorArgHint::slotDone  )  [private, slot]
 

Definition at line 83 of file qeditor_arghint.cpp.

References argHintHidden(), m_currentCol, and m_currentLine.

Referenced by cursorPositionChanged(), and eventFilter().


Member Data Documentation

QEditorArgHintData* QEditorArgHint::d [private]
 

Definition at line 65 of file qeditor_arghint.h.

Referenced by addFunction(), QEditorArgHint(), reset(), setCurrentFunction(), and ~QEditorArgHint().

int QEditorArgHint::m_currentCol [private]
 

Definition at line 64 of file qeditor_arghint.h.

Referenced by cursorPositionChanged(), reset(), and slotDone().

int QEditorArgHint::m_currentFunction [private]
 

Definition at line 59 of file qeditor_arghint.h.

Referenced by addFunction(), currentFunction(), reset(), and setCurrentFunction().

int QEditorArgHint::m_currentLine [private]
 

Definition at line 63 of file qeditor_arghint.h.

Referenced by cursorPositionChanged(), reset(), and slotDone().

QString QEditorArgHint::m_delimiter [private]
 

Definition at line 61 of file qeditor_arghint.h.

Referenced by cursorPositionChanged(), and setArgMarkInfos().

QMap<int, QString> QEditorArgHint::m_functionMap [private]
 

Definition at line 58 of file qeditor_arghint.h.

Referenced by addFunction(), functionAt(), reset(), and setCurrentFunction().

bool QEditorArgHint::m_markCurrentFunction [private]
 

Definition at line 62 of file qeditor_arghint.h.

Referenced by QEditorArgHint(), setArgMarkInfos(), and setCurrentFunction().

QString QEditorArgHint::m_wrapping [private]
 

Definition at line 60 of file qeditor_arghint.h.

Referenced by cursorPositionChanged(), and setArgMarkInfos().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:06 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003