• Skip to content
  • Skip to link menu
KDE 4.1 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.


Detailed Description

Definition at line 28 of file kateargumenthintmodel.h.


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)
virtual int rowCount (const QModelIndex &parent) const
virtual QTreeView * treeView () const

Protected Member Functions

virtual int contextMatchQuality (const QModelIndex &row) const

Constructor & Destructor Documentation

KateArgumentHintModel::KateArgumentHintModel ( KateCompletionWidget *  parent  ) 

Definition at line 65 of file kateargumenthintmodel.cpp.


Member Function Documentation

void KateArgumentHintModel::buildRows (  ) 

Definition at line 42 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 213 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 237 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.

Todo:
Choose a color from the color scheme

Reimplemented from ExpandingWidgetModel.

Definition at line 70 of file kateargumenthintmodel.cpp.

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

Definition at line 229 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 233 of file kateargumenthintmodel.cpp.

void KateArgumentHintModel::parentModelReset (  )  [slot]

Definition at line 37 of file kateargumenthintmodel.cpp.

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

Definition at line 206 of file kateargumenthintmodel.cpp.

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

Implements ExpandingWidgetModel.

Definition at line 225 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
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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