lokalize
#include <dbfilesmodel.h>

Public Types | |
| enum | Columns { Name =0, SourceLang, TargetLang, Pairs, OriginalsCount, TranslationsCount, ColumnCount } |
| enum | Rolse { NameRole =Qt::UserRole+50 } |
Public Slots | |
| void | calcStats (const QModelIndex &parent, int start, int end) |
| void | closeJobDone (ThreadWeaver::Job *) |
| void | openJobDone (ThreadWeaver::Job *) |
| void | updateProjectTmIndex () |
| void | updateStats (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
Public Member Functions | |
| DBFilesModel () | |
| ~DBFilesModel () | |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| Qt::ItemFlags | flags (const QModelIndex &) const |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| void | openDB (const QString &name) |
| void | openDB (const QString &name, DbType type) |
| void | openDB (OpenDBJob *) |
| QPersistentModelIndex * | projectDBIndex () const |
| void | removeTM (QModelIndex) |
| QModelIndex | rootIndex () const |
Static Public Member Functions | |
| static DBFilesModel * | instance () |
Public Attributes | |
| QMap< QString, TMConfig > | m_configurations |
Protected Member Functions | |
| bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const |
Detailed Description
Definition at line 39 of file dbfilesmodel.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| Name | |
| SourceLang | |
| TargetLang | |
| Pairs | |
| OriginalsCount | |
| TranslationsCount | |
| ColumnCount | |
Definition at line 44 of file dbfilesmodel.h.
| Enumerator | |
|---|---|
| NameRole | |
Definition at line 55 of file dbfilesmodel.h.
Constructor & Destructor Documentation
| DBFilesModel::DBFilesModel | ( | ) |
Definition at line 57 of file dbfilesmodel.cpp.
| DBFilesModel::~DBFilesModel | ( | ) |
Definition at line 80 of file dbfilesmodel.cpp.
Member Function Documentation
|
slot |
Definition at line 148 of file dbfilesmodel.cpp.
|
slot |
Definition at line 183 of file dbfilesmodel.cpp.
| int DBFilesModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 197 of file dbfilesmodel.cpp.
| QVariant DBFilesModel::data | ( | const QModelIndex & | index, |
| int | role = Qt::DisplayRole |
||
| ) | const |
Definition at line 203 of file dbfilesmodel.cpp.
|
protected |
Definition at line 86 of file dbfilesmodel.cpp.
|
inline |
Definition at line 65 of file dbfilesmodel.h.
| QVariant DBFilesModel::headerData | ( | int | section, |
| Qt::Orientation | orientation, | ||
| int | role = Qt::DisplayRole |
||
| ) | const |
Definition at line 100 of file dbfilesmodel.cpp.
|
static |
Definition at line 46 of file dbfilesmodel.cpp.
| void DBFilesModel::openDB | ( | const QString & | name | ) |
Definition at line 117 of file dbfilesmodel.cpp.
| void DBFilesModel::openDB | ( | const QString & | name, |
| DbType | type | ||
| ) |
Definition at line 125 of file dbfilesmodel.cpp.
| void DBFilesModel::openDB | ( | OpenDBJob * | openDBJob | ) |
Definition at line 130 of file dbfilesmodel.cpp.
|
slot |
Definition at line 166 of file dbfilesmodel.cpp.
|
inline |
Definition at line 73 of file dbfilesmodel.h.
| void DBFilesModel::removeTM | ( | QModelIndex | index | ) |
Definition at line 174 of file dbfilesmodel.cpp.
| QModelIndex DBFilesModel::rootIndex | ( | ) | const |
Definition at line 95 of file dbfilesmodel.cpp.
|
slot |
Definition at line 189 of file dbfilesmodel.cpp.
|
slot |
Definition at line 137 of file dbfilesmodel.cpp.
Member Data Documentation
| QMap< QString,TMConfig> TM::DBFilesModel::m_configurations |
Definition at line 102 of file dbfilesmodel.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference