• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Kate

KateArgumentHintModel Class Reference

#include <kateargumenthintmodel.h>

Inheritance diagram for KateArgumentHintModel:

Inheritance graph
[legend]

List of all members.


Public Slots

void parentModelReset ()

Signals

void contentStateChanged (bool hasContent)

Public Member Functions

void buildRows ()
void clear ()
virtual int columnCount (const QModelIndex &) const
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
void emitDataChanged (const QModelIndex &start, const QModelIndex &end)
virtual bool indexIsItem (const QModelIndex &index) const
 KateArgumentHintModel (KateCompletionWidget *parent)
QModelIndex mapToSource (const QModelIndex &proxyIndex) const
virtual int rowCount (const QModelIndex &parent) const
virtual QTreeView * treeView () const

Protected Member Functions

virtual int contextMatchQuality (const QModelIndex &row) const

Detailed Description

Definition at line 28 of file kateargumenthintmodel.h.


Constructor & Destructor Documentation

KateArgumentHintModel::KateArgumentHintModel ( KateCompletionWidget *  parent  ) 

Definition at line 83 of file kateargumenthintmodel.cpp.


Member Function Documentation

void KateArgumentHintModel::buildRows (  ) 

Definition at line 60 of file kateargumenthintmodel.cpp.

void KateArgumentHintModel::clear (  ) 

Definition at line 32 of file kateargumenthintmodel.cpp.

int KateArgumentHintModel::columnCount ( const QModelIndex &   )  const [virtual]

Definition at line 231 of file kateargumenthintmodel.cpp.

void KateArgumentHintModel::contentStateChanged ( bool  hasContent  )  [signal]

int KateArgumentHintModel::contextMatchQuality ( const QModelIndex &  index  )  const [protected, virtual]

Returns:
the context-match quality from 0 to 10 if it could be determined, else -1

Implements ExpandingWidgetModel.

Definition at line 255 of file kateargumenthintmodel.cpp.

QVariant KateArgumentHintModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const [virtual]

Does not request data from index, this only returns local data like highlighting for expanded rows and similar.

Reimplemented from ExpandingWidgetModel.

Definition at line 88 of file kateargumenthintmodel.cpp.

void KateArgumentHintModel::emitDataChanged ( const QModelIndex &  start,
const QModelIndex &  end 
)

Definition at line 247 of file kateargumenthintmodel.cpp.

bool KateArgumentHintModel::indexIsItem ( const QModelIndex &  index  )  const [virtual]

Should return true if the given row should be painted like a contained item(as opposed to label-rows etc.).

Implements ExpandingWidgetModel.

Definition at line 251 of file kateargumenthintmodel.cpp.

QModelIndex KateArgumentHintModel::mapToSource ( const QModelIndex &  proxyIndex  )  const

Definition at line 37 of file kateargumenthintmodel.cpp.

void KateArgumentHintModel::parentModelReset (  )  [slot]

Definition at line 55 of file kateargumenthintmodel.cpp.

int KateArgumentHintModel::rowCount ( const QModelIndex &  parent  )  const [virtual]

Definition at line 224 of file kateargumenthintmodel.cpp.

QTreeView * KateArgumentHintModel::treeView (  )  const [virtual]

Implements ExpandingWidgetModel.

Definition at line 243 of file kateargumenthintmodel.cpp.


The documentation for this class was generated from the following files:
  • kateargumenthintmodel.h
  • kateargumenthintmodel.cpp

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal