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

lokalize

Public Types | Public Member Functions | Static Public Member Functions | List of all members
QaModel Class Reference

#include <qamodel.h>

Inheritance diagram for QaModel:
Inheritance graph
[legend]

Public Types

enum  Columns { Source = 0, FalseFriend, ColumnCount }
 

Public Member Functions

 QaModel (QObject *parent=0)
 
 ~QaModel ()
 
QModelIndex appendRow ()
 
int columnCount (const QModelIndex &parent=QModelIndex()) const
 
QVariant data (const QModelIndex &, int role=Qt::DisplayRole) const
 
Qt::ItemFlags flags (const QModelIndex &) const
 
QVariant headerData (int section, Qt::Orientation, int role=Qt::DisplayRole) const
 
bool loadRules (const QString &filename)
 
void removeRow (const QModelIndex &)
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 
bool saveRules (QString filename=QString())
 
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
 
QVector< Rule > toVector () const
 

Static Public Member Functions

static QaModel * instance ()
 
static bool isInstantiated ()
 

Detailed Description

Definition at line 32 of file qamodel.h.

Member Enumeration Documentation

enum QaModel::Columns
Enumerator
Source 
FalseFriend 
ColumnCount 

Definition at line 37 of file qamodel.h.

Constructor & Destructor Documentation

QaModel::QaModel ( QObject *  parent = 0)

Definition at line 80 of file qamodel.cpp.

QaModel::~QaModel ( )

Definition at line 84 of file qamodel.cpp.

Member Function Documentation

QModelIndex QaModel::appendRow ( )

Definition at line 189 of file qamodel.cpp.

int QaModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
inline

Definition at line 52 of file qamodel.h.

QVariant QaModel::data ( const QModelIndex &  item,
int  role = Qt::DisplayRole 
) const

Definition at line 111 of file qamodel.cpp.

Qt::ItemFlags QaModel::flags ( const QModelIndex &  ) const

Definition at line 215 of file qamodel.cpp.

QVariant QaModel::headerData ( int  section,
Qt::Orientation  ,
int  role = Qt::DisplayRole 
) const

Definition at line 96 of file qamodel.cpp.

QaModel * QaModel::instance ( )
static

Definition at line 69 of file qamodel.cpp.

bool QaModel::isInstantiated ( )
static

Definition at line 64 of file qamodel.cpp.

bool QaModel::loadRules ( const QString &  filename)

Definition at line 145 of file qamodel.cpp.

void QaModel::removeRow ( const QModelIndex &  rowIndex)

Definition at line 203 of file qamodel.cpp.

int QaModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 89 of file qamodel.cpp.

bool QaModel::saveRules ( QString  filename = QString())

Definition at line 170 of file qamodel.cpp.

bool QaModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)

Definition at line 220 of file qamodel.cpp.

QVector< Rule > QaModel::toVector ( ) const

Definition at line 125 of file qamodel.cpp.


The documentation for this class was generated from the following files:
  • qamodel.h
  • qamodel.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

lokalize

Skip menu "lokalize"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal