[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project
Signals | Public Member Functions | List of all members
KLFStyleListModel Class Reference

#include <klfstylemanager.h>

Inheritance diagram for KLFStyleListModel:
Inheritance graph
[legend]
Collaboration diagram for KLFStyleListModel:
Collaboration graph
[legend]

Signals

void internalMoveCompleted (int prevrow, int newrow)
 

Public Member Functions

 KLFStyleListModel (QObject *parent=0)
 
virtual ~KLFStyleListModel ()
 
virtual Qt::ItemFlags flags (const QModelIndex &index) const
 
virtual QString styleName (int row) const
 
virtual void setStyleName (int row, const QString &newname)
 
Qt::DropActions supportedDropActions () const
 
QStringList mimeTypes () const
 
QMimeDatamimeData (const QModelIndexList &indexes) const
 
bool dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent)
 
- Public Member Functions inherited from QStringListModel
 QStringListModel (QObject *parent=0)
 
 QStringListModel (const QStringList &strings, QObject *parent=0)
 
 data (const QModelIndex &index, int role)
 
 ItemFlags QStringListModel::flags(const QModelIndex &index)
 
 insertRows (int row, int count, const QModelIndex &parent=QModelIndex()
 
 removeRows (int row, int count, const QModelIndex &parent=QModelIndex()
 
 rowCount (const QModelIndex &parent=QModelIndex()
 
 setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
 
 setStringList (const QStringList &strings)
 
 stringList ()
 

Detailed Description

Definition at line 37 of file klfstylemanager.h.

Constructor & Destructor Documentation

KLFStyleListModel::KLFStyleListModel ( QObject parent = 0)
inline

Definition at line 41 of file klfstylemanager.h.

virtual KLFStyleListModel::~KLFStyleListModel ( )
inlinevirtual

Definition at line 42 of file klfstylemanager.h.

Member Function Documentation

bool KLFStyleListModel::dropMimeData ( const QMimeData data,
Qt::DropAction  action,
int  row,
int  column,
const QModelIndex parent 
)
Qt::ItemFlags KLFStyleListModel::flags ( const QModelIndex index) const
virtual
void KLFStyleListModel::internalMoveCompleted ( int  prevrow,
int  newrow 
)
signal

Referenced by dropMimeData().

QMimeData * KLFStyleListModel::mimeData ( const QModelIndexList &  indexes) const

Definition at line 71 of file klfstylemanager.cpp.

References QMimeData::setData(), and styleName().

QStringList KLFStyleListModel::mimeTypes ( ) const

Definition at line 64 of file klfstylemanager.cpp.

void KLFStyleListModel::setStyleName ( int  row,
const QString newname 
)
virtual
QString KLFStyleListModel::styleName ( int  row) const
virtual
Qt::DropActions KLFStyleListModel::supportedDropActions ( ) const

Definition at line 59 of file klfstylemanager.cpp.


The documentation for this class was generated from the following files:

Generated by doxygen 1.8.11