[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project
Signals | Public Member Functions

KLFStyleListModel Class Reference

#include <klfstylemanager.h>

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

List of all members.

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)

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 ( ) [inline, virtual]

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.7.3