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

Kate

expandingwidgetmodel.cpp File Reference

#include "expandingwidgetmodel.h"
#include <QTreeView>
#include <QModelIndex>
#include <QBrush>
#include <ktexteditor/codecompletionmodel.h>
#include <kiconloader.h>
#include <ktextedit.h>
#include "kcolorutils.h"
#include "expandingdelegate.h"
#include <qapplication.h>
#include "expandingwidgetmodel.moc"

Include dependency graph for expandingwidgetmodel.cpp:

Go to the source code of this file.


Functions

static QColor doAlternate (QColor color)
QModelIndex firstColumn (const QModelIndex &index)
QList< QVariant > mergeCustomHighlighting (QStringList strings, QList< QVariantList > highlights, int grapBetweenStrings)
QList< QVariant > mergeCustomHighlighting (int leftSize, const QList< QVariant > &left, int rightSize, const QList< QVariant > &right)

Function Documentation

static QColor doAlternate ( QColor  color  )  [static]

Definition at line 51 of file expandingwidgetmodel.cpp.

QModelIndex firstColumn ( const QModelIndex &  index  )  [inline]

Definition at line 38 of file expandingwidgetmodel.cpp.

QList<QVariant> mergeCustomHighlighting ( QStringList  strings,
QList< QVariantList >  highlights,
int  gapBetweenStrings = 0 
)

Helper-function to merge custom-highlighting variant-lists.

Parameters:
strings A list of strings that should be merged
highlights One variant-list for highlighting, as described in the kde header ktextedtor/codecompletionmodel.h
gapBetweenStrings How many signs are inserted between 2 strings?

Definition at line 486 of file expandingwidgetmodel.cpp.

QList<QVariant> mergeCustomHighlighting ( int  leftSize,
const QList< QVariant > &  left,
int  rightSize,
const QList< QVariant > &  right 
)

Definition at line 445 of file expandingwidgetmodel.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