• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

Kate

Public Slots | Signals | Public Member Functions | Protected Member Functions

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

 KateArgumentHintModel (KateCompletionWidget *parent)
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
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 30 of file kateargumenthintmodel.h.


Constructor & Destructor Documentation

KateArgumentHintModel::KateArgumentHintModel ( KateCompletionWidget *  parent)

Definition at line 85 of file kateargumenthintmodel.cpp.


Member Function Documentation

void KateArgumentHintModel::buildRows ( )

Definition at line 62 of file kateargumenthintmodel.cpp.

void KateArgumentHintModel::clear ( )

Definition at line 34 of file kateargumenthintmodel.cpp.

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

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

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

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

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

Definition at line 39 of file kateargumenthintmodel.cpp.

void KateArgumentHintModel::parentModelReset ( ) [slot]

Definition at line 57 of file kateargumenthintmodel.cpp.

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

Definition at line 226 of file kateargumenthintmodel.cpp.

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

Implements ExpandingWidgetModel.

Definition at line 245 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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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